POST api/ConnectedOrders
Request Information
URI Parameters
None.
Body Parameters
ConnectedOrderApiRequestName | Description | Type | Additional information |
---|---|---|---|
optionOp | string |
None. |
|
orderId | globally unique identifier |
None. |
|
vehicleId | globally unique identifier |
None. |
|
currentUserId | globally unique identifier |
None. |
|
hasError | boolean |
None. |
|
error | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "orderId": "6f12b276-ad90-41d0-8bf8-6ed21dd73d9a", "vehicleId": "533d3f1a-457c-4df0-95dd-dd9db664a950", "currentUserId": "83178277-ef42-4234-9a2c-115b7bc4dbb0", "hasError": true, "error": "sample string 2", "optionOp": "sample string 1" }
application/xml, text/xml
Sample:
<ConnectedOrderApiRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PARS.WebApi.Proxy.Models"> <Error>sample string 2</Error> <HasError>true</HasError> <CurrentUserId>83178277-ef42-4234-9a2c-115b7bc4dbb0</CurrentUserId> <Option>sample string 1</Option> <OrderId>6f12b276-ad90-41d0-8bf8-6ed21dd73d9a</OrderId> <VehicleId>533d3f1a-457c-4df0-95dd-dd9db664a950</VehicleId> </ConnectedOrderApiRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ConnectedOrderApiResponseName | Description | Type | Additional information |
---|---|---|---|
connectedId | globally unique identifier |
None. |
|
orderId | globally unique identifier |
None. |
|
hasError | boolean |
None. |
|
error | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "orderId": "6845d873-6d3b-47aa-98b7-492a88b3943f", "hasError": true, "error": "sample string 2", "connectedId": "bf18d7e4-42ac-4fa5-9391-911f80d2c607" }
application/xml, text/xml
Sample:
<ConnectedOrderApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PARS.WebApi.Proxy.Models"> <Error>sample string 2</Error> <HasError>true</HasError> <CreatedOrderId>bf18d7e4-42ac-4fa5-9391-911f80d2c607</CreatedOrderId> <OrderId>6845d873-6d3b-47aa-98b7-492a88b3943f</OrderId> </ConnectedOrderApiResponse>