POST v1/Order/OrderVersionComplete

Order Version Complete

This is secure method and requires below attributes in header

Authorization: Midnight Authorize Token

Request Information

URI Parameters

None.

Body Parameters

Request Body

OrderVersionCompleteRequest
NameDescriptionTypeAdditional information
VersionID

Provide the VersionID

integer

Required

Complete

Provide the Complete

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "VersionID": 1,
  "Complete": true
}

application/xml, text/xml

Sample:
<OrderVersionCompleteRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <VersionID>1</VersionID>
  <Complete>true</Complete>
</OrderVersionCompleteRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderVersionCompleteRequest'.

Response Information

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>