PUT api/Companies/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Companies
NameDescriptionTypeAdditional information
CompanyId

integer

None.

OfferId

integer

None.

StripeId

string

None.

Name

string

None.

TotalUsers

integer

None.

TotalSites

integer

None.

SuperAdminId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

StatTemplateId

globally unique identifier

None.

CreationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "OfferId": 2,
  "StripeId": "sample string 3",
  "Name": "sample string 4",
  "TotalUsers": 5,
  "TotalSites": 6,
  "SuperAdminId": 1,
  "LastChanged": "2025-08-14T03:24:38.3054347+00:00",
  "LastChange_AuthorId": 1,
  "StatTemplateId": "e8c977f7-0b1e-443c-8815-6fb61529a914",
  "CreationDate": "2025-08-14T03:24:38.3054347+00:00"
}

application/xml, text/xml

Sample:
<Companies xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <CompanyId>1</CompanyId>
  <CreationDate>2025-08-14T03:24:38.3054347+00:00</CreationDate>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:24:38.3054347+00:00</LastChanged>
  <Name>sample string 4</Name>
  <OfferId>2</OfferId>
  <StatTemplateId>e8c977f7-0b1e-443c-8815-6fb61529a914</StatTemplateId>
  <StripeId>sample string 3</StripeId>
  <SuperAdminId>1</SuperAdminId>
  <TotalSites>6</TotalSites>
  <TotalUsers>5</TotalUsers>
</Companies>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Companies'.

Response Information

Resource Description

None.