PUT api/tblCusts?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
tblCust| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| cName | string |
None. |
|
| AreaId | integer |
None. |
|
| Addr | string |
None. |
|
| Phone | string |
None. |
|
| coLat | decimal number |
None. |
|
| coLong | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"cName": "sample string 2",
"AreaId": 3,
"Addr": "sample string 4",
"Phone": "sample string 5",
"coLat": 6.1,
"coLong": 7.1
}
application/xml, text/xml
Sample:
<tblCust xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classes"> <Addr>sample string 4</Addr> <AreaId>3</AreaId> <Phone>sample string 5</Phone> <cName>sample string 2</cName> <coLat>6.1</coLat> <coLong>7.1</coLong> <id>1</id> </tblCust>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.