Skip to main content

Class PluginUrlResponse

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for 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)

Inheritance

objectCarrierPluginUrlResponse

Inherited Members

Carrier.TableRight, Carrier.FieldProperties, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

PluginUrlResponse()

Default constructor - defaults any enum props to 0.

Properties

Changes

Tablename/recordid of data changed by this method, that the client may need to reload

Property Value

ChangedData

ErrorCode

An error code, if available.

Property Value

string

IsOk

Answer to the question / An indication if the operation went well. Equivalent to Status != Error

Property Value

bool

Status

QuoteStatus = Ok / OkWithInfo / Warn / Error. Error implies IsOk = false. NULL if unknown enum value.

Property Value

QuoteStatus?

See Also

PluginUrlResponse.Status_String

Status_String

QuoteStatus = Ok / OkWithInfo / Warn / Error. Error implies IsOk = false. Raw string enum value.

Property Value

string

See Also

PluginUrlResponse.Status

TechExplanation

Always in English

Property Value

string

Url

Url that the GUI should navigato to/open, if non-blank. The GUI cannot enforce any rules subsequent to opening the requested url.

Property Value

string

UserExplanation

A localized explanation to the answer.

Property Value

string

See Also

QuoteAgent