POST api/CustomerUpdate
Request Information
URI Parameters
None.
Body Parameters
Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| CardCode | string |
None. |
|
| CardName | string |
None. |
|
| Phone1 | string |
None. |
|
| EmailAddress | string |
None. |
|
| BillStreet | string |
None. |
|
| BillCity | string |
None. |
|
| BillState | string |
None. |
|
| BillZipCode | string |
None. |
|
| BillCountry | string |
None. |
|
| ShipStreet | string |
None. |
|
| ShipCity | string |
None. |
|
| ShipState | string |
None. |
|
| ShipZipCode | string |
None. |
|
| ShipCountry | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardCode": "sample string 1",
"CardName": "sample string 2",
"Phone1": "sample string 3",
"EmailAddress": "sample string 4",
"BillStreet": "sample string 5",
"BillCity": "sample string 6",
"BillState": "sample string 7",
"BillZipCode": "sample string 8",
"BillCountry": "sample string 9",
"ShipStreet": "sample string 10",
"ShipCity": "sample string 11",
"ShipState": "sample string 12",
"ShipZipCode": "sample string 13",
"ShipCountry": "sample string 14"
}
text/html
Sample:
{"CardCode":"sample string 1","CardName":"sample string 2","Phone1":"sample string 3","EmailAddress":"sample string 4","BillStreet":"sample string 5","BillCity":"sample string 6","BillState":"sample string 7","BillZipCode":"sample string 8","BillCountry":"sample string 9","ShipStreet":"sample string 10","ShipCity":"sample string 11","ShipState":"sample string 12","ShipZipCode":"sample string 13","ShipCountry":"sample string 14"}
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mfgProj.Models"> <BillCity>sample string 6</BillCity> <BillCountry>sample string 9</BillCountry> <BillState>sample string 7</BillState> <BillStreet>sample string 5</BillStreet> <BillZipCode>sample string 8</BillZipCode> <CardCode>sample string 1</CardCode> <CardName>sample string 2</CardName> <EmailAddress>sample string 4</EmailAddress> <Phone1>sample string 3</Phone1> <ShipCity>sample string 11</ShipCity> <ShipCountry>sample string 14</ShipCountry> <ShipState>sample string 12</ShipState> <ShipStreet>sample string 10</ShipStreet> <ShipZipCode>sample string 13</ShipZipCode> </Customer>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |