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": "da81a08b-f41d-44f6-8971-1ac8ea9375f6",
  "companyID": "0fb67f26-f17e-4936-a9e6-2fbd84e2e101"
}

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>0fb67f26-f17e-4936-a9e6-2fbd84e2e101</CompanyID>
  <ID>da81a08b-f41d-44f6-8971-1ac8ea9375f6</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":"da81a08b-f41d-44f6-8971-1ac8ea9375f6","companyID":"0fb67f26-f17e-4936-a9e6-2fbd84e2e101"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.