POST api/Company/Update
Request Information
URI Parameters
None.
Body Parameters
CompanyViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| WorkPhone | string |
None. |
|
| URL | string |
None. |
|
| string |
None. |
||
| LogoID | integer |
None. |
|
| URLAlias | string |
None. |
|
| CountryID | integer |
None. |
|
| IsAgreedTerms | boolean |
None. |
|
| AgreeTermsOnDate | date |
None. |
|
| TermsDetails | string |
None. |
|
| IsSystem | boolean |
None. |
|
| IsTemplate | boolean |
None. |
|
| RowVersion | Collection of byte |
None. |
|
| CompanySize | string |
None. |
|
| IsPsy | integer |
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,
"Name": "sample string 2",
"WorkPhone": "sample string 3",
"URL": "sample string 4",
"Email": "sample string 5",
"LogoID": 1,
"URLAlias": "sample string 6",
"CountryID": 7,
"IsAgreedTerms": true,
"AgreeTermsOnDate": "2026-01-07T18:27:35.8897355+00:00",
"TermsDetails": "sample string 10",
"IsSystem": true,
"IsTemplate": true,
"RowVersion": "QEA=",
"CompanySize": "sample string 13",
"IsPsy": 14,
"CompanyID": 15,
"Language": "sample string 16",
"CreatedDate": "2026-01-07T18:27:35.9053606+00:00",
"CreatedUserID": "e7904854-6219-4ca4-8925-bc49d67d2d92",
"ModifiedDate": "2026-01-07T18:27:35.9053606+00:00",
"ModifiedUserID": "fd2a7b04-96f8-4f54-a46c-3d16076fa34e",
"FeatureID": "49be2728-258e-46af-80f7-66b22dd2fbb6",
"Token": "600e3bb0-0baf-4bda-bd4a-a8f8c5bb125e",
"Action": 0,
"FilterText": "sample string 23",
"CurrentIndex": 24,
"PageSize": 25,
"TotalRecords": 26,
"SortColumn": "sample string 27",
"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:
<CompanyViewModel 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">15</CompanyID>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2026-01-07T18:27:35.9053606+00:00</CreatedDate>
<CreatedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">e7904854-6219-4ca4-8925-bc49d67d2d92</CreatedUserID>
<CurrentIndex xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">24</CurrentIndex>
<FeatureID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">49be2728-258e-46af-80f7-66b22dd2fbb6</FeatureID>
<FilterText xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 23</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 16</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-07T18:27:35.9053606+00:00</ModifiedDate>
<ModifiedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">fd2a7b04-96f8-4f54-a46c-3d16076fa34e</ModifiedUserID>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">25</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 27</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">600e3bb0-0baf-4bda-bd4a-a8f8c5bb125e</Token>
<TotalRecords xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">26</TotalRecords>
<AgreeTermsOnDate>2026-01-07T18:27:35.8897355+00:00</AgreeTermsOnDate>
<CompanySize>sample string 13</CompanySize>
<CountryID>7</CountryID>
<Email>sample string 5</Email>
<ID>1</ID>
<IsAgreedTerms>true</IsAgreedTerms>
<IsPsy>14</IsPsy>
<IsSystem>true</IsSystem>
<IsTemplate>true</IsTemplate>
<LogoID>1</LogoID>
<Name>sample string 2</Name>
<RowVersion>QEA=</RowVersion>
<TermsDetails>sample string 10</TermsDetails>
<URL>sample string 4</URL>
<URLAlias>sample string 6</URLAlias>
<WorkPhone>sample string 3</WorkPhone>
</CompanyViewModel>
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.