PUT api/SetSubTheme

Request Information

URI Parameters

None.

Body Parameters

SubTheme
NameDescriptionTypeAdditional information
Code

string

Required

Matching regular expression pattern: ^[0-9a-zA-Z-]*$

String length: inclusive between 3 and 3

CodeTheme

string

None.

LabelShort

string

Required

String length: inclusive between 0 and 30

LabelLong

string

Required

String length: inclusive between 0 and 128

Order

integer

Required

Range: inclusive between 1 and 2147483647

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "CodeTheme": "sample string 2",
  "LabelShort": "sample string 3",
  "LabelLong": "sample string 4",
  "Order": 1
}

application/xml, text/xml

Sample:
<SubTheme xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Models">
  <Code>sample string 1</Code>
  <CodeTheme>sample string 2</CodeTheme>
  <LabelLong>sample string 4</LabelLong>
  <LabelShort>sample string 3</LabelShort>
  <Order>1</Order>
</SubTheme>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

Code

integer

None.

Modifications

integer

None.

Id

integer

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Code": 2,
  "Modifications": 3,
  "Id": 4,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Models">
  <Code>2</Code>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Id>4</Id>
  <Modifications>3</Modifications>
  <Success>true</Success>
</Response>