POST api/Dashboard/GetTemplePhotosData

Request Information

URI Parameters

None.

Body Parameters

TempleDirectoryDataInput
NameDescriptionTypeAdditional information
TempleID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TempleID": 1
}

application/xml, text/xml

Sample:
<TempleDirectoryDataInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TempleDirectory.Controllers">
  <TempleID>1</TempleID>
</TempleDirectoryDataInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TemplePhotosDataResponse
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

TemplePhotosData

Collection of TemplePhotosData

None.

Response Formats

application/json, text/json

Sample:
{
  "TemplePhotosData": [
    {
      "Photo_ID": 1,
      "Photo_Name": "sample string 2",
      "Photo_Type": "sample string 3",
      "Photo_Primary": "sample string 4",
      "Photo_Thumbnail": "sample string 5"
    },
    {
      "Photo_ID": 1,
      "Photo_Name": "sample string 2",
      "Photo_Type": "sample string 3",
      "Photo_Primary": "sample string 4",
      "Photo_Thumbnail": "sample string 5"
    }
  ],
  "ResponseCode": 1
}

application/xml, text/xml

Sample:
<TemplePhotosDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TempleDirectory.Controllers">
  <ResponseCode>1</ResponseCode>
  <TemplePhotosData>
    <TemplePhotosData>
      <Photo_ID>1</Photo_ID>
      <Photo_Name>sample string 2</Photo_Name>
      <Photo_Primary>sample string 4</Photo_Primary>
      <Photo_Thumbnail>sample string 5</Photo_Thumbnail>
      <Photo_Type>sample string 3</Photo_Type>
    </TemplePhotosData>
    <TemplePhotosData>
      <Photo_ID>1</Photo_ID>
      <Photo_Name>sample string 2</Photo_Name>
      <Photo_Primary>sample string 4</Photo_Primary>
      <Photo_Thumbnail>sample string 5</Photo_Thumbnail>
      <Photo_Type>sample string 3</Photo_Type>
    </TemplePhotosData>
  </TemplePhotosData>
</TemplePhotosDataResponse>