PUT api/Companies/Put?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CompanyModel
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

CompanyType

string

None.

UseCompanyColorScheme

boolean

None.

CompanyColor

string

None.

AccountType

string

None.

NumOfOffices

integer

None.

NumOfUsers

integer

None.

NumOfPropertiesPerOffice

integer

None.

ExpirationDate

date

None.

IsFullyRebranded

boolean

None.

RebrandLogo

Collection of byte

None.

RebrandingInitials

string

None.

AllowSuperAdmin

boolean

None.

AllowPBIAdmin

boolean

None.

CreateDate

date

None.

ModifiedDate

date

None.

HighlightEmptiesInGrid

boolean

None.

GroupTables

boolean

None.

AdminMessage

string

None.

ShowAdminMessage

boolean

None.

ShowDataRefreshDate

boolean

None.

IsPBIMultiSchema

boolean

None.

DefaultImage

string

None.

DefaultTab

string

None.

UniqueID

string

None.

SSOEnabled

boolean

None.

UseSidebarRecolor

boolean

None.

SidebarColor

string

None.

SidebarLogo

Collection of byte

None.

IsEnabled

boolean

None.

HasWebTabEnabled

boolean

None.

WebTabName

string

None.

WebTabURL

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "CompanyType": "sample string 3",
  "UseCompanyColorScheme": true,
  "CompanyColor": "sample string 5",
  "AccountType": "sample string 6",
  "NumOfOffices": 7,
  "NumOfUsers": 8,
  "NumOfPropertiesPerOffice": 1,
  "ExpirationDate": "2026-04-03T03:36:19.1588877+00:00",
  "IsFullyRebranded": true,
  "RebrandLogo": "QEA=",
  "RebrandingInitials": "sample string 11",
  "AllowSuperAdmin": true,
  "AllowPBIAdmin": true,
  "CreateDate": "2026-04-03T03:36:19.1588877+00:00",
  "ModifiedDate": "2026-04-03T03:36:19.1588877+00:00",
  "HighlightEmptiesInGrid": true,
  "GroupTables": true,
  "AdminMessage": "sample string 16",
  "ShowAdminMessage": true,
  "ShowDataRefreshDate": true,
  "IsPBIMultiSchema": true,
  "DefaultImage": "sample string 19",
  "DefaultTab": "sample string 20",
  "UniqueID": "sample string 21",
  "SSOEnabled": true,
  "UseSidebarRecolor": true,
  "SidebarColor": "sample string 24",
  "SidebarLogo": "QEA=",
  "IsEnabled": true,
  "HasWebTabEnabled": true,
  "WebTabName": "sample string 27",
  "WebTabURL": "sample string 28"
}

text/xml

Sample:
<CompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Navigator.Models">
  <AccountType>sample string 6</AccountType>
  <AdminMessage>sample string 16</AdminMessage>
  <AllowPBIAdmin>true</AllowPBIAdmin>
  <AllowSuperAdmin>true</AllowSuperAdmin>
  <CompanyColor>sample string 5</CompanyColor>
  <CompanyType>sample string 3</CompanyType>
  <CreateDate>2026-04-03T03:36:19.1588877+00:00</CreateDate>
  <DefaultImage>sample string 19</DefaultImage>
  <DefaultTab>sample string 20</DefaultTab>
  <ExpirationDate>2026-04-03T03:36:19.1588877+00:00</ExpirationDate>
  <GroupTables>true</GroupTables>
  <HasWebTabEnabled>true</HasWebTabEnabled>
  <HighlightEmptiesInGrid>true</HighlightEmptiesInGrid>
  <ID>1</ID>
  <IsEnabled>true</IsEnabled>
  <IsFullyRebranded>true</IsFullyRebranded>
  <IsPBIMultiSchema>true</IsPBIMultiSchema>
  <ModifiedDate>2026-04-03T03:36:19.1588877+00:00</ModifiedDate>
  <Name>sample string 2</Name>
  <NumOfOffices>7</NumOfOffices>
  <NumOfPropertiesPerOffice>1</NumOfPropertiesPerOffice>
  <NumOfUsers>8</NumOfUsers>
  <RebrandLogo>QEA=</RebrandLogo>
  <RebrandingInitials>sample string 11</RebrandingInitials>
  <SSOEnabled>true</SSOEnabled>
  <ShowAdminMessage>true</ShowAdminMessage>
  <ShowDataRefreshDate>true</ShowDataRefreshDate>
  <SidebarColor>sample string 24</SidebarColor>
  <SidebarLogo>QEA=</SidebarLogo>
  <SnapshotLogo>QEA=</SnapshotLogo>
  <UniqueID>sample string 21</UniqueID>
  <UseCompanyColorScheme>true</UseCompanyColorScheme>
  <UseSidebarRecolor>true</UseSidebarRecolor>
  <WebTabName>sample string 27</WebTabName>
  <WebTabURL>sample string 28</WebTabURL>
</CompanyModel>

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 'CompanyModel'.

Response Information

Resource Description

None.