POST api/v2/Users/signinthirdparty

Request Information

URI Parameters

None.

Body Parameters

InputSignInWithThirdParty
NameDescriptionTypeAdditional information
ThirdPartyType

ThirdPartyType

Required

ThirdPartyId

string

Required

Email

string

None.

TagNumber

string

None.

PhoneNumber

string

None.

FullName

string

Required

Max length: 200

ImageURL

string

None.

State

string

None.

DeviceType

EDeviceType

Required

DeviceToken

string

Max length: 200

DeviceLat

decimal number

None.

DeviceLong

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ThirdPartyType": 0,
  "ThirdPartyId": "sample string 1",
  "Email": "sample string 2",
  "TagNumber": "sample string 3",
  "PhoneNumber": "sample string 4",
  "FullName": "sample string 5",
  "ImageURL": "sample string 6",
  "State": "sample string 7",
  "DeviceType": 0,
  "DeviceToken": "sample string 8",
  "DeviceLat": 1.0,
  "DeviceLong": 1.0
}

application/xml, text/xml

Sample:
<InputSignInWithThirdParty 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 8</DeviceToken>
  <DeviceType>IOS</DeviceType>
  <Email>sample string 2</Email>
  <FullName>sample string 5</FullName>
  <ImageURL>sample string 6</ImageURL>
  <PhoneNumber>sample string 4</PhoneNumber>
  <State>sample string 7</State>
  <TagNumber>sample string 3</TagNumber>
  <ThirdPartyId>sample string 1</ThirdPartyId>
  <ThirdPartyType>Facebook</ThirdPartyType>
</InputSignInWithThirdParty>

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.