PUT api/Admin/Client

Request Information

URI Parameters

None.

Body Parameters

Client
NameDescriptionTypeAdditional information
Title

string

None.

Contract

ContractLevel

None.

Note

string

None.

Active

boolean

None.

Suspended

boolean

None.

ContractExpires

date

None.

Settings

ClientSettings

None.

Deleted

boolean

None.

Master

boolean

None.

Uuid

string

None.

OrganizationUuid

string

None.

CreatedBy

string

None.

ModifiedBy

string

None.

Hidden

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Contract": 1,
  "Note": "sample string 2",
  "Active": true,
  "Suspended": true,
  "ContractExpires": "2024-10-08T20:23:03.4406787-04:00",
  "Settings": {
    "DataStores": [
      {
        "StoreId": 1,
        "Name": "sample string 2",
        "TypeStr": "AzureBlob",
        "Type": 1,
        "ConnectionString": "sample string 3",
        "Shared": true,
        "UsedSpace": 5.0,
        "Limit": 6,
        "TotalSize": 7.0,
        "Recalculating": true
      },
      {
        "StoreId": 1,
        "Name": "sample string 2",
        "TypeStr": "AzureBlob",
        "Type": 1,
        "ConnectionString": "sample string 3",
        "Shared": true,
        "UsedSpace": 5.0,
        "Limit": 6,
        "TotalSize": 7.0,
        "Recalculating": true
      }
    ],
    "DataProviderName": "Default",
    "DataProvider": 1,
    "DbConnectionString": "sample string 1",
    "FormatsDataProviderName": "Default",
    "FormatsDataProvider": 1,
    "FormatsDbConnectionString": "sample string 2",
    "SynchInterval": 1,
    "FormatsLastSync": "2024-10-08T20:23:03.4406787-04:00",
    "FormatsLastSyncInfo": "sample string 3",
    "Logo": "sample string 4",
    "RedisDatabase": 5,
    "UsePackageName": true,
    "AutoFinalize": true,
    "AutoStartNext": true,
    "UseOwnFormats": true,
    "StatsObsolete": 10,
    "TimeLineRange": 11,
    "SoftDelete": true
  },
  "Deleted": true,
  "Master": true,
  "Uuid": "sample string 6",
  "OrganizationUuid": "sample string 7",
  "CreatedOn": "2024-10-08T20:23:03.4416784-04:00",
  "CreatedBy": "sample string 10",
  "ModifiedOn": "2024-10-08T20:23:03.4416784-04:00",
  "ModifiedBy": "sample string 13",
  "Hidden": true
}

application/xml, text/xml

Sample:
<Client xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities.Db">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">sample string 10</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">2024-10-08T20:23:03.4416784-04:00</CreatedOn>
  <CreatedOnString xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">2024-10-08T20:23:03.4416784-04:00</CreatedOnString>
  <Hidden xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">true</Hidden>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">sample string 13</ModifiedBy>
  <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">2024-10-08T20:23:03.4416784-04:00</ModifiedOn>
  <ModifiedOnString xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">2024-10-08T20:23:03.4416784-04:00</ModifiedOnString>
  <OrganizationUuid xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">sample string 7</OrganizationUuid>
  <Uuid xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">sample string 6</Uuid>
  <_id xmlns:d2p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson" xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities">
    <d2p1:_a>0</d2p1:_a>
    <d2p1:_b>0</d2p1:_b>
    <d2p1:_c>0</d2p1:_c>
  </_id>
  <Contract>Bronze</Contract>
  <ContractExpires>2024-10-08T20:23:03.4406787-04:00</ContractExpires>
  <Deleted>true</Deleted>
  <Master>true</Master>
  <Note>sample string 2</Note>
  <Settings>
    <AutoFinalize>true</AutoFinalize>
    <AutoStartNext>true</AutoStartNext>
    <DataProvider>Default</DataProvider>
    <DataStores>
      <DataStorage>
        <ConnectionString>sample string 3</ConnectionString>
        <Limit>6</Limit>
        <Name>sample string 2</Name>
        <Recalculating>true</Recalculating>
        <Shared>true</Shared>
        <StoreId>1</StoreId>
        <TotalSize>7</TotalSize>
        <Type>AzureBlob</Type>
        <UsedSpace>5</UsedSpace>
      </DataStorage>
      <DataStorage>
        <ConnectionString>sample string 3</ConnectionString>
        <Limit>6</Limit>
        <Name>sample string 2</Name>
        <Recalculating>true</Recalculating>
        <Shared>true</Shared>
        <StoreId>1</StoreId>
        <TotalSize>7</TotalSize>
        <Type>AzureBlob</Type>
        <UsedSpace>5</UsedSpace>
      </DataStorage>
    </DataStores>
    <DbConnectionString>sample string 1</DbConnectionString>
    <FormatsDataProvider>Default</FormatsDataProvider>
    <FormatsDbConnectionString>sample string 2</FormatsDbConnectionString>
    <FormatsLastSync>2024-10-08T20:23:03.4406787-04:00</FormatsLastSync>
    <FormatsLastSyncInfo>sample string 3</FormatsLastSyncInfo>
    <Logo>sample string 4</Logo>
    <RedisDatabase>5</RedisDatabase>
    <SoftDelete>true</SoftDelete>
    <StatsObsolete>10</StatsObsolete>
    <SynchInterval>Manual</SynchInterval>
    <TimeLineRange>11</TimeLineRange>
    <UseOwnFormats>true</UseOwnFormats>
    <UsePackageName>true</UsePackageName>
  </Settings>
  <Title>sample string 1</Title>
</Client>

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.