PUT residentapi/pets/{id}
Update a pet
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
PetUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| PetId |
PetId |
integer |
None. |
| Name |
Name |
string |
Required |
| Description |
Description |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"petId": 1,
"name": "sample string 2",
"description": "sample string 3"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.