PUT api/Clients/{id}
Updates an existing client.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the client to update. |
integer |
Required |
Body Parameters
The client object with updated data.
ClientName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Passaport | string |
None. |
|
FullName | string |
None. |
|
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.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.