POST api/UpdateData
Request Information
URI Parameters
None.
Body Parameters
CustomerName | Description | Type | Additional information |
---|---|---|---|
CustomerID | string |
Required Max length: 5 |
|
CompanyName | string |
Required Max length: 40 |
|
ContactName | string |
Max length: 30 |
|
ContactTitle | string |
Max length: 30 |
|
Address | string |
Max length: 60 |
|
City | string |
Max length: 15 |
|
Region | string |
Max length: 15 |
|
PostalCode | string |
Max length: 10 |
|
Country | string |
Max length: 15 |
|
Phone | string |
Max length: 24 |
|
Fax | string |
Max length: 24 |
Request Formats
application/json, text/json
Sample:
{ "CustomerID": "sample string 1", "CompanyName": "sample string 2", "ContactName": "sample string 3", "ContactTitle": "sample string 4", "Address": "sample string 5", "City": "sample string 6", "Region": "sample string 7", "PostalCode": "sample string 8", "Country": "sample string 9", "Phone": "sample string 10", "Fax": "sample string 11" }
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TokenAuthASPNet.Models"> <Address>sample string 5</Address> <City>sample string 6</City> <CompanyName>sample string 2</CompanyName> <ContactName>sample string 3</ContactName> <ContactTitle>sample string 4</ContactTitle> <Country>sample string 9</Country> <CustomerID>sample string 1</CustomerID> <Fax>sample string 11</Fax> <Phone>sample string 10</Phone> <PostalCode>sample string 8</PostalCode> <Region>sample string 7</Region> </Customer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |