POST api/Users

Request Information

URI Parameters

None.

Body Parameters

Users
NameDescriptionTypeAdditional information
UserName

string

None.

FirstName

string

None.

LastName

string

None.

PasswordHash

string

None.

UserTypeID

integer

None.

Email

string

None.

Mobile

string

None.

SchoolID

integer

None.

PackageID

integer

None.

ApplicationID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "PasswordHash": "sample string 4",
  "UserTypeID": 5,
  "Email": "sample string 6",
  "Mobile": "sample string 7",
  "SchoolID": 8,
  "PackageID": 9,
  "ApplicationID": 10
}

application/xml, text/xml

Sample:
<Users xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalStudentServices.Models">
  <ApplicationID>10</ApplicationID>
  <Email>sample string 6</Email>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <Mobile>sample string 7</Mobile>
  <PackageID>9</PackageID>
  <PasswordHash>sample string 4</PasswordHash>
  <SchoolID>8</SchoolID>
  <UserName>sample string 1</UserName>
  <UserTypeID>5</UserTypeID>
</Users>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Users'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>