PUT api/profiles/Update

Request Information

URI Parameters

None.

Body Parameters

UpdateProfileDto
NameDescriptionTypeAdditional information
Id

string

None.

FirstName

string

None.

Surname

string

None.

PhoneNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "firstName": "sample string 2",
  "surname": "sample string 3",
  "phoneNumber": "sample string 4"
}

text/html

Sample:
{"id":"sample string 1","firstName":"sample string 2","surname":"sample string 3","phoneNumber":"sample string 4"}

application/xml, text/xml

Sample:
<UpdateProfileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryTrackingSystem.Common.Dtos.Dto.Profiles">
  <FirstName>sample string 2</FirstName>
  <Id>sample string 1</Id>
  <PhoneNumber>sample string 4</PhoneNumber>
  <Surname>sample string 3</Surname>
</UpdateProfileDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateProfileDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.