PUT api/v2/Users/UpdateUser

Request Information

URI Parameters

None.

Body Parameters

InputUpdateUser
NameDescriptionTypeAdditional information
UserID

integer

Required

FullName

string

Required

Max length: 200

TagNumber

string

Required

Max length: 200

Email

string

None.

PhoneNumber

string

None.

State

string

Required

Max length: 50

DeviceToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "FullName": "sample string 2",
  "TagNumber": "sample string 3",
  "Email": "sample string 4",
  "PhoneNumber": "sample string 5",
  "State": "sample string 6",
  "DeviceToken": "sample string 7"
}

application/xml, text/xml

Sample:
<InputUpdateUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input">
  <DeviceToken>sample string 7</DeviceToken>
  <Email>sample string 4</Email>
  <FullName>sample string 2</FullName>
  <PhoneNumber>sample string 5</PhoneNumber>
  <State>sample string 6</State>
  <TagNumber>sample string 3</TagNumber>
  <UserID>1</UserID>
</InputUpdateUser>

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.