GET api/buildings/sketches/{pin}
Gets building sketches by pin
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pin | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PhotoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| photo_url | string |
None. |
|
| description | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"photo_url": "sample string 1",
"description": "sample string 2"
},
{
"photo_url": "sample string 1",
"description": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfPhotoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models">
<PhotoModel>
<description>sample string 2</description>
<photo_url>sample string 1</photo_url>
</PhotoModel>
<PhotoModel>
<description>sample string 2</description>
<photo_url>sample string 1</photo_url>
</PhotoModel>
</ArrayOfPhotoModel>