POST api/v1/Users/Signin

Request Information

URI Parameters

None.

Body Parameters

InputSignIn
NameDescriptionTypeAdditional information
Email

string

Required

Max length: 100

Password

string

Required

Max length: 50

DeviceType

EDeviceType

Required

DeviceToken

string

Max length: 200

DeviceLat

decimal number

None.

DeviceLong

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Password": "sample string 2",
  "DeviceType": 0,
  "DeviceToken": "sample string 3",
  "DeviceLat": 1.0,
  "DeviceLong": 1.0
}

application/xml, text/xml

Sample:
<InputSignIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input">
  <DeviceLat>1</DeviceLat>
  <DeviceLong>1</DeviceLong>
  <DeviceToken>sample string 3</DeviceToken>
  <DeviceType>IOS</DeviceType>
  <Email>sample string 1</Email>
  <Password>sample string 2</Password>
</InputSignIn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.