POST api/ConnectedOrders/CreateConnection
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": "d5d8bebd-c910-4204-b0c5-cacc71cf9ae4", "vehicleId": "db55304b-4a88-4408-9126-aa393483e85b", "currentUserId": "67347f18-6d6d-4ae5-a6f9-3e9c685924ea", "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>67347f18-6d6d-4ae5-a6f9-3e9c685924ea</CurrentUserId> <Option>sample string 1</Option> <OrderId>d5d8bebd-c910-4204-b0c5-cacc71cf9ae4</OrderId> <VehicleId>db55304b-4a88-4408-9126-aa393483e85b</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": "e1fb8876-32d8-4acb-b897-407492513864", "hasError": true, "error": "sample string 2", "connectedId": "ecd4778f-5637-4c62-a82e-5209a031dc1c" }
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>ecd4778f-5637-4c62-a82e-5209a031dc1c</CreatedOrderId> <OrderId>e1fb8876-32d8-4acb-b897-407492513864</OrderId> </ConnectedOrderApiResponse>