POST api/v{version}/Wonder/CreateOffer?key={key}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
|
| version | string |
None. |
Body Parameters
CreateWonderOffer| Name | Description | Type | Additional information |
|---|---|---|---|
| Asset | Asset |
Required |
|
| Comments | string |
None. |
|
| Contact | Contact |
Required |
|
| DepartmentId | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| PlanCodes | Collection of PlanCode |
None. |
|
| Reference |
External reference, stored on the workcard and its order. Limited to 50 characters by WorkshopHeader.Reference. |
string |
Required String length: inclusive between 0 and 50 |
| TotalPrice | decimal number |
Range: inclusive between 0 and 1,79769313486232E+308 |
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,
"PlanCodes": [
{
"Duration": 1.1,
"ExternalId": "sample string 2"
},
{
"Duration": 1.1,
"ExternalId": "sample string 2"
}
],
"Reference": "sample string 3",
"TotalPrice": 4.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. |