POST 17.0/database/userdepartments

Description

Create User Departments

URI Parameters

None.

Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 30

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 1",
  "inActive": 64
}

application/xml, text/xml

Sample:
<UserDepartmentsUpdate 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>
  <InActive>64</InActive>
</UserDepartmentsUpdate>

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

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 2",
  "inActive": 64
}

application/xml, text/xml

Sample:
<UserDepartments 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>
  <InActive>64</InActive>
</UserDepartments>