POST api/Account/Update
Request Information
URI Parameters
None.
Body Parameters
UserUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
Required Max length: 50 |
|
Surname | string |
Required Max length: 50 |
|
Phone | string |
Required Data type: PhoneNumber Max length: 50 |
|
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": "07ed95e8-9424-4096-904d-691a0165e06c", "companyID": "5e87073c-f474-49f4-aab1-87f69f94cb01" }
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>5e87073c-f474-49f4-aab1-87f69f94cb01</CompanyID> <ID>07ed95e8-9424-4096-904d-691a0165e06c</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":"07ed95e8-9424-4096-904d-691a0165e06c","companyID":"5e87073c-f474-49f4-aab1-87f69f94cb01"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.