POST api/ConditionObservedPhoto?ConditionObservedId={ConditionObservedId}&Description={Description}&Filename={Filename}&userId={userId}&photoId={photoId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ConditionObservedId | globally unique identifier |
None. |
|
| Description | string |
None. |
|
| Filename | string |
None. |
|
| userId | globally unique identifier |
Required |
|
| photoId | globally unique identifier |
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": "e9fb5a24-4a42-4490-af87-23659e166082",
"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>e9fb5a24-4a42-4490-af87-23659e166082</Guid> <Id>1</Id> <IsSignature>true</IsSignature> <Url>http://webapihelppage6.com/</Url> </PhotoModel>