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": "ae43fe6c-2e4d-469a-b297-fd9691859b1d",
  "companyID": "870829bf-4fcf-438a-9822-8ea71a5750d6"
}

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>870829bf-4fcf-438a-9822-8ea71a5750d6</CompanyID>
  <ID>ae43fe6c-2e4d-469a-b297-fd9691859b1d</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":"ae43fe6c-2e4d-469a-b297-fd9691859b1d","companyID":"870829bf-4fcf-438a-9822-8ea71a5750d6"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.