POST api/WinterQuote/create-order
Request Information
URI Parameters
None.
Body Parameters
WinterOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| SellerNr | integer |
None. |
|
| ClientId | integer |
None. |
|
| Comment | string |
None. |
|
| IndividualId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| СustomerType | integer |
None. |
|
| Сompany | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| StreetAdress | string |
None. |
|
| ZipCode | string |
None. |
|
| City | string |
None. |
|
| string |
None. |
||
| Phone | string |
None. |
|
| MobPhone | string |
None. |
|
| SocialSecNr | string |
None. |
|
| BookingRows | Collection of WinterOrderRow |
None. |
|
| AutumnRows | Collection of WinterOrderRow |
None. |
|
| SpringRows | Collection of WinterOrderRow |
None. |
Request Formats
application/json, text/json
Sample:
{
"SellerNr": 1,
"ClientId": 2,
"Comment": "sample string 3",
"IndividualId": 4,
"CustomerId": 5,
"СustomerType": 6,
"Сompany": "sample string 7",
"FirstName": "sample string 8",
"LastName": "sample string 9",
"StreetAdress": "sample string 10",
"ZipCode": "sample string 11",
"City": "sample string 12",
"Email": "sample string 13",
"Phone": "sample string 14",
"MobPhone": "sample string 15",
"SocialSecNr": "sample string 16",
"BookingRows": null,
"AutumnRows": null,
"SpringRows": null
}
application/xml, text/xml
Sample:
<WinterOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdmApi.Marindepan2015.Models"> <AutumnRows i:nil="true" /> <BookingRows i:nil="true" /> <City>sample string 12</City> <ClientId>2</ClientId> <Comment>sample string 3</Comment> <CustomerId>5</CustomerId> <Email>sample string 13</Email> <FirstName>sample string 8</FirstName> <IndividualId>4</IndividualId> <LastName>sample string 9</LastName> <MobPhone>sample string 15</MobPhone> <Phone>sample string 14</Phone> <SellerNr>1</SellerNr> <SocialSecNr>sample string 16</SocialSecNr> <SpringRows i:nil="true" /> <StreetAdress>sample string 10</StreetAdress> <ZipCode>sample string 11</ZipCode> <Сompany>sample string 7</Сompany> <СustomerType>6</СustomerType> </WinterOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />