POST api/Quote/Customer
Request Information
URI Parameters
None.
Body Parameters
Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| CustomerNumber | integer |
None. |
|
| CustomerTypeID | integer |
None. |
|
| CompanyName | string |
None. |
|
| LastName | string |
None. |
|
| FirstName | string |
None. |
|
| StreetAddress | string |
None. |
|
| ZipCode | string |
None. |
|
| City | string |
None. |
|
| Telephone | string |
None. |
|
| MobilePhone | string |
None. |
|
| EmailAddress | string |
None. |
|
| SocialSecNr | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"CustomerNumber": 2,
"CustomerTypeID": 3,
"CompanyName": "sample string 4",
"LastName": "sample string 5",
"FirstName": "sample string 6",
"StreetAddress": "sample string 7",
"ZipCode": "sample string 8",
"City": "sample string 9",
"Telephone": "sample string 10",
"MobilePhone": "sample string 11",
"EmailAddress": "sample string 12",
"SocialSecNr": "sample string 13"
}
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdmApi.Marindepan2015.Models"> <City>sample string 9</City> <CompanyName>sample string 4</CompanyName> <CustomerId>1</CustomerId> <CustomerNumber>2</CustomerNumber> <CustomerTypeID>3</CustomerTypeID> <EmailAddress>sample string 12</EmailAddress> <FirstName>sample string 6</FirstName> <LastName>sample string 5</LastName> <MobilePhone>sample string 11</MobilePhone> <SocialSecNr>sample string 13</SocialSecNr> <StreetAddress>sample string 7</StreetAddress> <Telephone>sample string 10</Telephone> <ZipCode>sample string 8</ZipCode> </Customer>
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/" />