Get Order State
If there is a problem with a quoteline, the error description shall be placed in the status and reason fields of the quoteline, if there is a problem with the alternative, the error description shall be placed in the status and reason fields of the alternative.
A summary of all the problems (if any) should be placed in the response object. Requires that the Create-Order capability is true. NsApiSlow threshold: 5000 ms.
Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Query Parameters
Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.
Body
QuoteVersionId
GetOrderState: If there is a problem with a quoteline, the error description shall be placed in the status and reason fields of the quoteline, if there is a problem with the alternative, the error description shall be placed in the status and reason fields of the alternative. A summary of all the problems (if any) should be placed in the response object. Requires that the Create-Order capability is true.
Response
OK
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.
Answer to the question / An indication if the operation went well. Equivalent to Status != Error
A localized explanation to the answer.
Always in English
An error code, if available.
Generic carrier, used in return values to indicate what data NetServer has changed 'behind the scenes' so clients can know what to update Carrier object for ChangedData. Services for the ChangedData Carrier is available from the Quote Agent.
Url that the GUI should navigato to/open, if non-blank. The GUI cannot enforce any rules subsequent to opening the requested url.
QuoteStatus = Ok / OkWithInfo / Warn / Error. Error implies IsOk = false.
Ok, OkWithInfo, Warning, Error Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.
Related topics
Placing orders into ERPOrderResponseInfoIQuoteConnectorGet Quote Version Workflow Image StateGet Quote Version Workflow StateGet Quote Version Workflow Button States