GET api/Photos/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PhotoName | Description | Type | Additional 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-02-17T19:06:57.9925982-08:00", "PhotoOrder": 7, "CreatedDate": "2019-02-17T19:06:57.9925982-08: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-02-17T19:06:57.9925982-08:00</CreatedDate> <Description>sample string 4</Description> <FileURL>sample string 5</FileURL> <PhotoDate>2019-02-17T19:06:57.9925982-08:00</PhotoDate> <PhotoGroupID>2</PhotoGroupID> <PhotoID>1</PhotoID> <PhotoName>sample string 3</PhotoName> <PhotoOrder>7</PhotoOrder> </Photo>