POST api/MobileApp/Authenticate

Request Information

URI Parameters

None.

Body Parameters

UserObject
NameDescriptionTypeAdditional information
id

integer

None.

username

string

None.

password

string

None.

CBOID

integer

None.

IsAuthenticated

boolean

None.

ProvinceID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "username": "sample string 2",
  "password": "sample string 3",
  "CBOID": 4,
  "IsAuthenticated": true,
  "ProvinceID": 6
}

text/html

Sample:
{"id":1,"username":"sample string 2","password":"sample string 3","CBOID":4,"IsAuthenticated":true,"ProvinceID":6}

application/xml, text/xml

Sample:
<UserObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ARTMIS.WebApiMobileApp.ViewModels">
  <CBOID>4</CBOID>
  <IsAuthenticated>true</IsAuthenticated>
  <ProvinceID>6</ProvinceID>
  <id>1</id>
  <password>sample string 3</password>
  <username>sample string 2</username>
</UserObject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserObject
NameDescriptionTypeAdditional information
id

integer

None.

username

string

None.

password

string

None.

CBOID

integer

None.

IsAuthenticated

boolean

None.

ProvinceID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "username": "sample string 2",
  "password": "sample string 3",
  "CBOID": 4,
  "IsAuthenticated": true,
  "ProvinceID": 6
}

text/html

Sample:
{"id":1,"username":"sample string 2","password":"sample string 3","CBOID":4,"IsAuthenticated":true,"ProvinceID":6}

application/xml, text/xml

Sample:
<UserObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ARTMIS.WebApiMobileApp.ViewModels">
  <CBOID>4</CBOID>
  <IsAuthenticated>true</IsAuthenticated>
  <ProvinceID>6</ProvinceID>
  <id>1</id>
  <password>sample string 3</password>
  <username>sample string 2</username>
</UserObject>