PUT api/Client/{clientcode}/Settings

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientcode

string

None.

Body Parameters

ClientSettingDTO
NameDescriptionTypeAdditional information
ClientCode

Client code

string

None.

Type

Setting Type

string

None.

Description

Setting Description

string

None.

Override

If setting overrides default setting

boolean

None.

ShowField

Show or hide field in UI

boolean

None.

Source

Source of default setting eg System, Parent Client etc.

string

None.

SourceShowSetting

Show or hide field in UI based on Default setting

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientCode": "sample string 1",
  "Type": "sample string 2",
  "Description": "sample string 3",
  "Override": true,
  "ShowField": true,
  "Source": "sample string 6",
  "SourceShowSetting": true
}

text/xml

Sample:
<ClientSettingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models">
  <ClientCode>sample string 1</ClientCode>
  <Description>sample string 3</Description>
  <Override>true</Override>
  <ShowField>true</ShowField>
  <Source>sample string 6</Source>
  <SourceShowSetting>true</SourceShowSetting>
  <Type>sample string 2</Type>
</ClientSettingDTO>

multipart/form-data

Sample:
<ClientSettingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models"><ClientCode>sample string 1</ClientCode><Description>sample string 3</Description><Override>true</Override><ShowField>true</ShowField><Source>sample string 6</Source><SourceShowSetting>true</SourceShowSetting><Type>sample string 2</Type></ClientSettingDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml, multipart/form-data

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>