POST api/Company/UpdateAddress
Request Information
URI Parameters
None.
Body Parameters
AddressModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CountryID | integer |
None. |
|
| StateProvinceID | integer |
None. |
|
| City | string |
None. |
|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| ZipPostalCode | string |
None. |
|
| AddressType | integer |
None. |
|
| ImageID | integer |
None. |
|
| RowVersion | Collection of byte |
None. |
|
| CompanyID | integer |
None. |
|
| Language | string |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedUserID | globally unique identifier |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedUserID | globally unique identifier |
None. |
|
| FeatureID | globally unique identifier |
None. |
|
| Token | globally unique identifier |
None. |
|
| Action | Actions |
None. |
|
| FilterText | string |
None. |
|
| CurrentIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| TotalRecords | integer |
None. |
|
| SortColumn | string |
None. |
|
| Sortby | SortDirection |
None. |
|
| ImageId | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| Sort | integer |
None. |
|
| Messages | Collection of ErrorMessage |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"CountryID": 2,
"StateProvinceID": 3,
"City": "sample string 4",
"Address1": "sample string 5",
"Address2": "sample string 6",
"ZipPostalCode": "sample string 7",
"AddressType": 1,
"ImageID": 1,
"RowVersion": "QEA=",
"CompanyID": 8,
"Language": "sample string 9",
"CreatedDate": "2026-01-07T19:55:19.1115956+00:00",
"CreatedUserID": "87a73253-2ff6-4dcd-9769-90f412d6fbf0",
"ModifiedDate": "2026-01-07T19:55:19.1115956+00:00",
"ModifiedUserID": "7418ab85-d23d-4569-951d-e64c49208973",
"FeatureID": "7465303f-eee0-420d-9336-610b078f2f5a",
"Token": "6a9eaf42-b535-43d4-b4ef-f306d4dce825",
"Action": 0,
"FilterText": "sample string 16",
"CurrentIndex": 17,
"PageSize": 18,
"TotalRecords": 19,
"SortColumn": "sample string 20",
"Sortby": 0,
"ImageId": 1,
"IsDeleted": true,
"IsActive": true,
"Sort": 1,
"Messages": [
{
"ErrorType": 1,
"Message": "sample string 2"
},
{
"ErrorType": 1,
"Message": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<AddressModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core.SecurityModels">
<Action xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">View</Action>
<CompanyID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">8</CompanyID>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2026-01-07T19:55:19.1115956+00:00</CreatedDate>
<CreatedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">87a73253-2ff6-4dcd-9769-90f412d6fbf0</CreatedUserID>
<CurrentIndex xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">17</CurrentIndex>
<FeatureID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">7465303f-eee0-420d-9336-610b078f2f5a</FeatureID>
<FilterText xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 16</FilterText>
<ImageId xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">1</ImageId>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">true</IsActive>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">true</IsDeleted>
<Language xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 9</Language>
<Messages xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">
<ErrorMessage>
<ErrorType>1</ErrorType>
<Message>sample string 2</Message>
</ErrorMessage>
<ErrorMessage>
<ErrorType>1</ErrorType>
<Message>sample string 2</Message>
</ErrorMessage>
</Messages>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2026-01-07T19:55:19.1115956+00:00</ModifiedDate>
<ModifiedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">7418ab85-d23d-4569-951d-e64c49208973</ModifiedUserID>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">18</PageSize>
<Sort xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">1</Sort>
<SortColumn xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 20</SortColumn>
<Sortby xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">Asc</Sortby>
<Token xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">6a9eaf42-b535-43d4-b4ef-f306d4dce825</Token>
<TotalRecords xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">19</TotalRecords>
<Address1>sample string 5</Address1>
<Address2>sample string 6</Address2>
<AddressType>1</AddressType>
<City>sample string 4</City>
<CountryID>2</CountryID>
<ID>1</ID>
<ImageID>1</ImageID>
<RowVersion>QEA=</RowVersion>
<StateProvinceID>3</StateProvinceID>
<ZipPostalCode>sample string 7</ZipPostalCode>
</AddressModel>
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.