POST api/UserLocation

Validates the User to the Software and returns the updated UserDTO with location ID Info

Request Information

URI Parameters

None.

Body Parameters

UserDTO
NameDescriptionTypeAdditional information
Username

string

None.

LocatorId

globally unique identifier

None.

UserId

globally unique identifier

None.

IsLinkedToDriver

boolean

None.

CanCheckIn

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "LocatorId": "0aa52001-85ea-4a91-8415-e8515cffcadc",
  "UserId": "8bd7bc53-be3e-4db1-93a4-31b071766758",
  "IsLinkedToDriver": true,
  "CanCheckIn": true
}

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 'UserDTO'.

Response Information

Resource Description

JsonResultOfUserDTO
NameDescriptionTypeAdditional information
Content

UserDTO

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json

Sample:

Sample not available.