POST api/v{version}/Wonder/CreateOrder?key={key}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
|
| version | string |
None. |
Body Parameters
CreateWonderOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| Asset | Asset |
None. |
|
| Comments | string |
None. |
|
| Contact | Contact |
None. |
|
| DepartmentId | integer |
None. |
|
| IdGarageQuoteId | string |
None. |
|
| PlanCodes | Collection of PlanCode |
None. |
|
| Service | Services |
None. |
|
| TimeslotId | integer |
None. |
|
| TotalPrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Asset": {
"AssetId": 1,
"Brand": "sample string 1",
"LicensePlate": "sample string 2",
"Mileage": 1,
"Model": "sample string 3",
"VIN": "sample string 4",
"Year": 1
},
"Comments": "sample string 1",
"Contact": {
"Address": "sample string 1",
"Comments": "sample string 2",
"ContactId": 1,
"ContactPreference": "EMAIL",
"Email": "sample string 3",
"Language": "sample string 4",
"Name": "sample string 5",
"NonGdpr": true
},
"DepartmentId": 2,
"IdGarageQuoteId": "sample string 3",
"PlanCodes": [
{
"Duration": 1.1,
"ExternalId": "sample string 2"
},
{
"Duration": 1.1,
"ExternalId": "sample string 2"
}
],
"Service": "NONE",
"TimeslotId": 4,
"TotalPrice": 5.0
}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |