GET api/order/Order/ValidateItems?orderID={orderID}

Validates the items on the given order.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderID

ID of the order to validate items for.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Ok response with the validation result, or a not found response if the order cannot be found.

OrderValidationIssuesViewModel
NameDescriptionTypeAdditional information
Order

The validated order.

IOrder

None.

Removals

The items that were removed from the order.

Collection of IItemRemovalValidationIssue

None.

Updates

The items that were updated on the order.

Collection of IItemUpdateValidationIssue

None.

IssuesFound

Indicates if any issues were found during validation.

boolean

None.

Response Formats

application/xml, text/xml

Sample:
<OrderValidationIssuesViewModel>
  <Order />
  <Removals />
  <Updates />
  <IssuesFound>True</IssuesFound>
</OrderValidationIssuesViewModel>

application/json, text/json

Sample:
{
  "IssuesFound": true
}