GET api/Project/GetProjectAlbums?ProjectID={ProjectID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProjectAlbum| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Path | string |
None. |
|
| Photos | Collection of ProjectPhoto |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"Path": "sample string 3",
"Photos": [
{
"ID": 1,
"Name": "sample string 2",
"Path": "sample string 3",
"Note": "sample string 4"
},
{
"ID": 1,
"Name": "sample string 2",
"Path": "sample string 3",
"Note": "sample string 4"
}
]
},
{
"ID": 1,
"Name": "sample string 2",
"Path": "sample string 3",
"Photos": [
{
"ID": 1,
"Name": "sample string 2",
"Path": "sample string 3",
"Note": "sample string 4"
},
{
"ID": 1,
"Name": "sample string 2",
"Path": "sample string 3",
"Note": "sample string 4"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfProjectAlbum xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api">
<ProjectAlbum>
<ID>1</ID>
<Name>sample string 2</Name>
<Path>sample string 3</Path>
<Photos>
<ProjectPhoto>
<ID>1</ID>
<Name>sample string 2</Name>
<Note>sample string 4</Note>
<Path>sample string 3</Path>
</ProjectPhoto>
<ProjectPhoto>
<ID>1</ID>
<Name>sample string 2</Name>
<Note>sample string 4</Note>
<Path>sample string 3</Path>
</ProjectPhoto>
</Photos>
</ProjectAlbum>
<ProjectAlbum>
<ID>1</ID>
<Name>sample string 2</Name>
<Path>sample string 3</Path>
<Photos>
<ProjectPhoto>
<ID>1</ID>
<Name>sample string 2</Name>
<Note>sample string 4</Note>
<Path>sample string 3</Path>
</ProjectPhoto>
<ProjectPhoto>
<ID>1</ID>
<Name>sample string 2</Name>
<Note>sample string 4</Note>
<Path>sample string 3</Path>
</ProjectPhoto>
</Photos>
</ProjectAlbum>
</ArrayOfProjectAlbum>