POST 17.0/database/statuses

Description

Create Statuses

URI Parameters

None.

Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 30

Exclude

byte

None.

ShowAsReminder

byte

None.

ForeColor

integer

None.

BackColor

integer

None.

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 1",
  "exclude": 64,
  "showAsReminder": 64,
  "foreColor": 1,
  "backColor": 1,
  "inActive": 64
}

application/xml, text/xml

Sample:
<StatusesUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Description>sample string 1</Description>
  <Exclude>64</Exclude>
  <ShowAsReminder>64</ShowAsReminder>
  <ForeColor>1</ForeColor>
  <BackColor>1</BackColor>
  <InActive>64</InActive>
</StatusesUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 30

Exclude

byte

None.

ShowAsReminder

byte

None.

ForeColor

integer

None.

BackColor

integer

None.

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 2",
  "exclude": 64,
  "showAsReminder": 64,
  "foreColor": 5,
  "backColor": 6,
  "inActive": 64
}

application/xml, text/xml

Sample:
<Statuses xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Description>sample string 2</Description>
  <Exclude>64</Exclude>
  <ShowAsReminder>64</ShowAsReminder>
  <ForeColor>5</ForeColor>
  <BackColor>6</BackColor>
  <InActive>64</InActive>
</Statuses>