PUT api/Clientes/{id}
Altera os dados de um cliente existente.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Identificador do cliente. |
integer |
Required |
Body Parameters
Novos dados do cliente.
Cliente| Name | Description | Type | Additional information |
|---|---|---|---|
| ClienteId | integer |
None. |
|
| Nome | string |
None. |
|
| Contacto | string |
None. |
|
| NIF | string |
None. |
|
| string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClienteId": 1,
"Nome": "sample string 2",
"Contacto": "sample string 3",
"NIF": "sample string 4",
"Email": "sample string 5"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Resultado da operação.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.