PUT api/Clients/{id}

Updates an existing client.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the client to update.

integer

Required

Body Parameters

The client object with updated data.

Client
NameDescriptionTypeAdditional information
Id

integer

None.

Passaport

string

None.

FullName

string

None.

Email

string

None.

Contact

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Passaport": "sample string 2",
  "FullName": "sample string 3",
  "Email": "sample string 4",
  "Contact": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

An HTTP response indicating the result of the update operation.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.