Class PluginUrlResponse
PluginUrlResponse exists to be able to respond with more than just a true/false, but also an explanation. Such an explanation can be displayed on for instance a disabled “Place Order” button. In addition, an URL can be returned, which the GUI should navigate to/display if it is non-blank. The URL can be an SoProtocol or http(s)
Carrier object for PluginUrlResponse. Services for the PluginUrlResponse Carrier is available from the Quote Agent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class PluginUrlResponse : Carrier
Constructors
PluginUrlResponse()
Default constructor
Declaration
public PluginUrlResponse()
See Also
Properties
Changes
Tablename/recordid of data changed by this method, that the client may need to reload
Declaration
[DataMember]
public virtual ChangedData Changes { get; set; }
Property Value
Type | Description |
---|---|
ChangedData |
See Also
ErrorCode
An error code, if available.
Declaration
[DataMember]
public virtual string ErrorCode { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
IsOk
Answer to the question / An indication if the operation went well. Equivalent to Status != Error
Declaration
[DataMember]
public virtual bool IsOk { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
Status
QuoteStatus = Ok / OkWithInfo / Warn / Error. Error implies IsOk = false.
Declaration
[DataMember]
public virtual QuoteStatus Status { get; set; }
Property Value
Type | Description |
---|---|
QuoteStatus |
See Also
TechExplanation
Always in English
Declaration
[DataMember]
public virtual string TechExplanation { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Url
Url that the GUI should navigato to/open, if non-blank. The GUI cannot enforce any rules subsequent to opening the requested url.
Declaration
[DataMember]
public virtual string Url { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
UserExplanation
A localized explanation to the answer.
Declaration
[DataMember]
public virtual string UserExplanation { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
string | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
string | The carrier contents. |