GET api/order/OnlineOrder/ValidateOrderItems?onlineOrderID={onlineOrderID}
Validate the online order to make sure all items are still available at their saved price
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
onlineOrderID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OrderValidationIssuesViewModelName | Description | Type | Additional information |
---|---|---|---|
OnlineOrder |
The updated OnlineOrder with the items updated/removed. |
IOnlineOrderViewModel |
None. |
Removals |
The items that were removed from the Online Order. |
Collection of IItemRemovalValidationIssue |
None. |
Updates |
The items that were updated on the Online Order. |
Collection of IItemUpdateValidationIssue |
None. |
IssuesFound |
Simple quick check for any issues found that required updates. |
boolean |
None. |
Response Formats
application/xml, text/xml
Sample:
<OrderValidationIssuesViewModel> <OnlineOrder /> <Removals /> <Updates /> <IssuesFound>True</IssuesFound> </OrderValidationIssuesViewModel>
application/json, text/json
Sample:
{ "IssuesFound": true }