POST api/OrderStage/SetOrderDelivered

Request Information

URI Parameters

None.

Body Parameters

DeliveryOrderApiRequest
NameDescriptionTypeAdditional information
orderId

globally unique identifier

None.

vcrId

globally unique identifier

None.

vehicleId

globally unique identifier

None.

mileage

integer

None.

delivered

date

None.

user

string

None.

hasError

boolean

None.

error

string

None.

Request Formats

application/json, text/json

Sample:
{
  "orderId": "8c0b2c23-1427-4be9-bbac-edb58d030402",
  "vcrId": "c31e617d-ee23-41f0-bc2e-a860c369edd5",
  "vehicleId": "5f1c0454-d599-4e9e-8ddf-ead1685567ce",
  "mileage": 4,
  "delivered": "2025-08-29T21:51:18.7931096+00:00",
  "user": "sample string 6",
  "hasError": true,
  "error": "sample string 8"
}

application/xml, text/xml

Sample:
<DeliveryOrderApiRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PARS.WebApi.Proxy.Models">
  <Error>sample string 8</Error>
  <HasError>true</HasError>
  <CRMUser>sample string 6</CRMUser>
  <DeliveryDate>2025-08-29T21:51:18.7931096+00:00</DeliveryDate>
  <Mileage>4</Mileage>
  <OrderId>8c0b2c23-1427-4be9-bbac-edb58d030402</OrderId>
  <VCRId>c31e617d-ee23-41f0-bc2e-a860c369edd5</VCRId>
  <VehicleId>5f1c0454-d599-4e9e-8ddf-ead1685567ce</VehicleId>
</DeliveryOrderApiRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DeliveryOrderApiResponse
NameDescriptionTypeAdditional information
orderId

globally unique identifier

None.

deliveredProcessId

globally unique identifier

None.

hasError

boolean

None.

error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "orderId": "c4e0c9f2-341a-4011-8006-16266521382c",
  "deliveredProcessId": "76fa3aa8-4cf4-4d46-8a12-36c3878b30ba",
  "hasError": true,
  "error": "sample string 4"
}

application/xml, text/xml

Sample:
<DeliveryOrderApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PARS.WebApi.Proxy.Models">
  <Error>sample string 4</Error>
  <HasError>true</HasError>
  <DeliveredProcessId>76fa3aa8-4cf4-4d46-8a12-36c3878b30ba</DeliveredProcessId>
  <OrderId>c4e0c9f2-341a-4011-8006-16266521382c</OrderId>
</DeliveryOrderApiResponse>