POST api/Account/Update

Request Information

URI Parameters

None.

Body Parameters

UserUpdateDto
NameDescriptionTypeAdditional information
Name

string

Required

Max length: 50

Surname

string

Required

Max length: 50

Phone

string

Required

Data type: PhoneNumber

Max length: 50

Email

string

Required

Data type: EmailAddress

Max length: 50

ID

globally unique identifier

Required

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "surname": "sample string 2",
  "phone": "sample string 3",
  "email": "sample string 4",
  "id": "dfb674c6-2d33-46ff-a231-75edb9aa9d92",
  "companyID": "97f7bbf7-79dc-493f-a531-d81d086366dc"
}

application/xml, text/xml

Sample:
<UserUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>97f7bbf7-79dc-493f-a531-d81d086366dc</CompanyID>
  <ID>dfb674c6-2d33-46ff-a231-75edb9aa9d92</ID>
  <Email>sample string 4</Email>
  <Name>sample string 1</Name>
  <Phone>sample string 3</Phone>
  <Surname>sample string 2</Surname>
</UserUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"name":"sample string 1","surname":"sample string 2","phone":"sample string 3","email":"sample string 4","id":"dfb674c6-2d33-46ff-a231-75edb9aa9d92","companyID":"97f7bbf7-79dc-493f-a531-d81d086366dc"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.