PUT api/Customers/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
CustomersName | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
inspectorId | string |
String length: inclusive between 0 and 100 |
|
name | string |
String length: inclusive between 0 and 50 |
|
phone | string |
String length: inclusive between 0 and 20 |
|
address | string |
String length: inclusive between 0 and 100 |
|
city | string |
String length: inclusive between 0 and 50 |
|
zipCode | string |
String length: inclusive between 0 and 50 |
|
country | string |
String length: inclusive between 0 and 50 |
|
state | string |
String length: inclusive between 0 and 50 |
|
string |
String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "inspectorId": "sample string 2", "name": "sample string 3", "phone": "sample string 4", "address": "sample string 5", "city": "sample string 6", "zipCode": "sample string 7", "country": "sample string 8", "state": "sample string 9", "email": "sample string 10" }
application/xml, text/xml
Sample:
<Customers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RMnS_Pro_API.Models"> <address>sample string 5</address> <city>sample string 6</city> <country>sample string 8</country> <email>sample string 10</email> <id>1</id> <inspectorId>sample string 2</inspectorId> <name>sample string 3</name> <phone>sample string 4</phone> <state>sample string 9</state> <zipCode>sample string 7</zipCode> </Customers>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.