PUT api/ConditionObservedPhoto/{id}?userId={userId}&description={description}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| userId | globally unique identifier |
Required |
|
| description | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PhotoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Guid | globally unique identifier |
None. |
|
| Description | string |
None. |
|
| IsSignature | boolean |
None. |
|
| FileName | string |
None. |
|
| Url | URI |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Guid": "8194a127-1335-426b-a78d-25bf51e16e20",
"Description": "sample string 3",
"IsSignature": true,
"FileName": "sample string 5",
"Url": "http://webapihelppage6.com"
}
application/xml, text/xml
Sample:
<PhotoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Soprema.Inspector.WebApi.Models"> <Description>sample string 3</Description> <FileName>sample string 5</FileName> <Guid>8194a127-1335-426b-a78d-25bf51e16e20</Guid> <Id>1</Id> <IsSignature>true</IsSignature> <Url>http://webapihelppage6.com/</Url> </PhotoModel>