PUT api/people/{id}/updatedetails

Update a Persons Details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Dezrez.Core.DataContracts.External.Api.People.Command.UpdateDetails.UpdateDetailsCommandDataContract
NameDescriptionTypeAdditional information
Gender

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Title

string

None.

FirstName

string

None.

LastName

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Gender": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Title": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3"
}

Response Information

Resource Description

The Person

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.