PUT api/CompAddress?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
CompAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyID | string |
None. |
|
| CompanyName | string |
None. |
|
| Name | string |
None. |
|
| Mobile | string |
None. |
|
| ProvinceName | string |
None. |
|
| CityName | string |
None. |
|
| ExpAreaName | string |
None. |
|
| Address | string |
None. |
|
| DefaultSelect | boolean |
None. |
|
| Text1 | string |
None. |
|
| Text2 | string |
None. |
|
| Text3 | string |
None. |
|
| ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyID": "sample string 1",
"CompanyName": "sample string 2",
"Name": "sample string 3",
"Mobile": "sample string 4",
"ProvinceName": "sample string 5",
"CityName": "sample string 6",
"ExpAreaName": "sample string 7",
"Address": "sample string 8",
"DefaultSelect": true,
"Text1": "sample string 9",
"Text2": "sample string 10",
"Text3": "sample string 11",
"ID": 12
}
application/xml, text/xml
Sample:
<CompAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Company.Model"> <Address>sample string 8</Address> <CityName>sample string 6</CityName> <CompanyID>sample string 1</CompanyID> <CompanyName>sample string 2</CompanyName> <DefaultSelect>true</DefaultSelect> <ExpAreaName>sample string 7</ExpAreaName> <ID>12</ID> <Mobile>sample string 4</Mobile> <Name>sample string 3</Name> <ProvinceName>sample string 5</ProvinceName> <Text1>sample string 9</Text1> <Text2>sample string 10</Text2> <Text3>sample string 11</Text3> </CompAddress>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.