POST api/Company/InsertCompanyAddress
Request Information
URI Parameters
None.
Body Parameters
AddressModelName | 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": "2025-08-29T02:31:40.3462709+00:00", "CreatedUserID": "17d4d492-8f86-4937-a0c5-48e775d4ac4d", "ModifiedDate": "2025-08-29T02:31:40.3462709+00:00", "ModifiedUserID": "18692056-0aaa-4415-bf05-e53212383510", "FeatureID": "02d0feaa-ad06-48b8-aea6-de6fdc8429ce", "Token": "ef12773b-46e6-4b8c-a551-e7d02b6acf8a", "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">2025-08-29T02:31:40.3462709+00:00</CreatedDate> <CreatedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">17d4d492-8f86-4937-a0c5-48e775d4ac4d</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">02d0feaa-ad06-48b8-aea6-de6fdc8429ce</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">2025-08-29T02:31:40.3462709+00:00</ModifiedDate> <ModifiedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">18692056-0aaa-4415-bf05-e53212383510</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">ef12773b-46e6-4b8c-a551-e7d02b6acf8a</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.