PUT api/ConditionObservedPhoto/{id}?userId={userId}&description={description}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

userId

globally unique identifier

Required

description

string

Required

Body Parameters

None.

Response Information

Resource Description

PhotoModel
NameDescriptionTypeAdditional 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": "7e88a161-7bec-47f9-8083-18b9c82c6c43",
  "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>7e88a161-7bec-47f9-8083-18b9c82c6c43</Guid>
  <Id>1</Id>
  <IsSignature>true</IsSignature>
  <Url>http://webapihelppage6.com/</Url>
</PhotoModel>