GET api/Photos/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Photo
NameDescriptionTypeAdditional information
PhotoID

integer

None.

PhotoGroupID

integer

None.

PhotoName

string

None.

Description

string

None.

FileURL

string

None.

PhotoDate

date

None.

PhotoOrder

integer

None.

CreatedDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "PhotoID": 1,
  "PhotoGroupID": 2,
  "PhotoName": "sample string 3",
  "Description": "sample string 4",
  "FileURL": "sample string 5",
  "PhotoDate": "2019-04-21T14:02:49.9619042-07:00",
  "PhotoOrder": 7,
  "CreatedDate": "2019-04-21T14:02:49.9619042-07:00"
}

application/xml, text/xml

Sample:
<Photo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_API.Entities">
  <CreatedDate>2019-04-21T14:02:49.9619042-07:00</CreatedDate>
  <Description>sample string 4</Description>
  <FileURL>sample string 5</FileURL>
  <PhotoDate>2019-04-21T14:02:49.9619042-07:00</PhotoDate>
  <PhotoGroupID>2</PhotoGroupID>
  <PhotoID>1</PhotoID>
  <PhotoName>sample string 3</PhotoName>
  <PhotoOrder>7</PhotoOrder>
</Photo>