POST 17.0/app/user

Description

Creates a new User record

URI Parameters

None.

Details of the user to create

Name Description Type Additional information
ID

integer

None.

FirstNames

string

None.

LastName

string

None.

Title

integer

None.

Email

string

None.

MobileTelephone

string

None.

Username

string

None.

Password

string

None.

SiteID

integer

None.

StatusID

integer

None.

DepartmentId

integer

None.

ForeColor

integer

None.

BackColor

integer

None.

application/json, text/json

Sample:
{
  "id": 1,
  "firstNames": "sample string 2",
  "lastName": "sample string 3",
  "title": 4,
  "email": "sample string 5",
  "mobileTelephone": "sample string 6",
  "username": "sample string 7",
  "password": "sample string 8",
  "siteID": 9,
  "statusID": 10,
  "departmentId": 11,
  "foreColor": 12,
  "backColor": 13
}

application/xml, text/xml

Sample:
<UserDetails xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <FirstNames>sample string 2</FirstNames>
  <LastName>sample string 3</LastName>
  <Title>4</Title>
  <Email>sample string 5</Email>
  <MobileTelephone>sample string 6</MobileTelephone>
  <Username>sample string 7</Username>
  <Password>sample string 8</Password>
  <SiteID>9</SiteID>
  <StatusID>10</StatusID>
  <DepartmentId>11</DepartmentId>
  <ForeColor>12</ForeColor>
  <BackColor>13</BackColor>
</UserDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

NewRecord

Name Description Type Additional information
Id

integer

None.

application/json, text/json

Sample:
{
  "id": 1
}

application/xml, text/xml

Sample:
<NewRecord xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
</NewRecord>