PUT api/customer/save
Request Information
URI Parameters
None.
Body Parameters
Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| CustomerNumber | integer |
None. |
|
| EmailAddress | string |
None. |
|
| CustomerTypeId | integer |
None. |
|
| CompanyName | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| StreetAddress | string |
None. |
|
| ZipCode | string |
None. |
|
| City | string |
None. |
|
| DeliveryStreet | string |
None. |
|
| DeliveryZip | string |
None. |
|
| DeliveryCity | string |
None. |
|
| Country | string |
None. |
|
| Telephone | string |
None. |
|
| MobilePhone | string |
None. |
|
| SocialSecNr | string |
None. |
|
| Password | string |
None. |
|
| StatusCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"CustomerNumber": 2,
"EmailAddress": "sample string 3",
"CustomerTypeId": 4,
"CompanyName": "sample string 5",
"FirstName": "sample string 6",
"LastName": "sample string 7",
"StreetAddress": "sample string 8",
"ZipCode": "sample string 9",
"City": "sample string 10",
"DeliveryStreet": "sample string 11",
"DeliveryZip": "sample string 12",
"DeliveryCity": "sample string 13",
"Country": "sample string 14",
"Telephone": "sample string 15",
"MobilePhone": "sample string 16",
"SocialSecNr": "sample string 17",
"Password": "sample string 18",
"StatusCode": 19
}
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Marindepan2015.Models"> <City>sample string 10</City> <CompanyName>sample string 5</CompanyName> <Country>sample string 14</Country> <CustomerId>1</CustomerId> <CustomerNumber>2</CustomerNumber> <CustomerTypeId>4</CustomerTypeId> <DeliveryCity>sample string 13</DeliveryCity> <DeliveryStreet>sample string 11</DeliveryStreet> <DeliveryZip>sample string 12</DeliveryZip> <EmailAddress>sample string 3</EmailAddress> <FirstName>sample string 6</FirstName> <LastName>sample string 7</LastName> <MobilePhone>sample string 16</MobilePhone> <Password>sample string 18</Password> <SocialSecNr>sample string 17</SocialSecNr> <StatusCode>19</StatusCode> <StreetAddress>sample string 8</StreetAddress> <Telephone>sample string 15</Telephone> <ZipCode>sample string 9</ZipCode> </Customer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| CustomerNumber | integer |
None. |
|
| EmailAddress | string |
None. |
|
| CustomerTypeId | integer |
None. |
|
| CompanyName | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| StreetAddress | string |
None. |
|
| ZipCode | string |
None. |
|
| City | string |
None. |
|
| DeliveryStreet | string |
None. |
|
| DeliveryZip | string |
None. |
|
| DeliveryCity | string |
None. |
|
| Country | string |
None. |
|
| Telephone | string |
None. |
|
| MobilePhone | string |
None. |
|
| SocialSecNr | string |
None. |
|
| Password | string |
None. |
|
| StatusCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"CustomerNumber": 2,
"EmailAddress": "sample string 3",
"CustomerTypeId": 4,
"CompanyName": "sample string 5",
"FirstName": "sample string 6",
"LastName": "sample string 7",
"StreetAddress": "sample string 8",
"ZipCode": "sample string 9",
"City": "sample string 10",
"DeliveryStreet": "sample string 11",
"DeliveryZip": "sample string 12",
"DeliveryCity": "sample string 13",
"Country": "sample string 14",
"Telephone": "sample string 15",
"MobilePhone": "sample string 16",
"SocialSecNr": "sample string 17",
"Password": "sample string 18",
"StatusCode": 19
}
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Marindepan2015.Models"> <City>sample string 10</City> <CompanyName>sample string 5</CompanyName> <Country>sample string 14</Country> <CustomerId>1</CustomerId> <CustomerNumber>2</CustomerNumber> <CustomerTypeId>4</CustomerTypeId> <DeliveryCity>sample string 13</DeliveryCity> <DeliveryStreet>sample string 11</DeliveryStreet> <DeliveryZip>sample string 12</DeliveryZip> <EmailAddress>sample string 3</EmailAddress> <FirstName>sample string 6</FirstName> <LastName>sample string 7</LastName> <MobilePhone>sample string 16</MobilePhone> <Password>sample string 18</Password> <SocialSecNr>sample string 17</SocialSecNr> <StatusCode>19</StatusCode> <StreetAddress>sample string 8</StreetAddress> <Telephone>sample string 15</Telephone> <ZipCode>sample string 9</ZipCode> </Customer>