GET api/Photos

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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-06-19T14:26:21.5453494-07:00",
    "PhotoOrder": 7,
    "CreatedDate": "2019-06-19T14:26:21.5453494-07:00"
  },
  {
    "PhotoID": 1,
    "PhotoGroupID": 2,
    "PhotoName": "sample string 3",
    "Description": "sample string 4",
    "FileURL": "sample string 5",
    "PhotoDate": "2019-06-19T14:26:21.5453494-07:00",
    "PhotoOrder": 7,
    "CreatedDate": "2019-06-19T14:26:21.5453494-07:00"
  }
]

application/xml, text/xml

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