POST api/Company/Update

Request Information

URI Parameters

None.

Body Parameters

CompanyViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

WorkPhone

string

None.

URL

string

None.

Email

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": "2025-08-29T02:27:26.5044413+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": "2025-08-29T02:27:26.5044413+00:00",
  "CreatedUserID": "450979a8-42d6-4bfb-805b-1063482e50d6",
  "ModifiedDate": "2025-08-29T02:27:26.5044413+00:00",
  "ModifiedUserID": "edd96f95-4fb6-4fc3-9638-50cdb190355f",
  "FeatureID": "42c1754c-3501-4f1c-97cd-54a18d1edc92",
  "Token": "46bf2229-414d-4f9e-a0e0-bfd1aaf13fa1",
  "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">2025-08-29T02:27:26.5044413+00:00</CreatedDate>
  <CreatedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">450979a8-42d6-4bfb-805b-1063482e50d6</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">42c1754c-3501-4f1c-97cd-54a18d1edc92</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">2025-08-29T02:27:26.5044413+00:00</ModifiedDate>
  <ModifiedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">edd96f95-4fb6-4fc3-9638-50cdb190355f</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">46bf2229-414d-4f9e-a0e0-bfd1aaf13fa1</Token>
  <TotalRecords xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">26</TotalRecords>
  <AgreeTermsOnDate>2025-08-29T02:27:26.5044413+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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.