PUT api/customer/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
None. |
|
| CustomerCode | string |
Required String length: inclusive between 0 and 3 |
|
| NoOfProjects | integer |
None. |
|
| InputCount | integer |
None. |
|
| UserID | string |
Required String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": 1,
"CustomerCode": "sample string 2",
"NoOfProjects": 3,
"InputCount": 4,
"UserID": "sample string 5"
}
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GOPWebAPI.Models"> <CustomerCode>sample string 2</CustomerCode> <CustomerID>1</CustomerID> <InputCount>4</InputCount> <NoOfProjects>3</NoOfProjects> <UserID>sample string 5</UserID> </Customer>
multipart/form-data
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GOPWebAPI.Models"><CustomerCode>sample string 2</CustomerCode><CustomerID>1</CustomerID><InputCount>4</InputCount><NoOfProjects>3</NoOfProjects><UserID>sample string 5</UserID></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. |