POST api/Project/AddAlbum?ProjectID={ProjectID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ProjectID | integer |
Required |
Body Parameters
stringRequest Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ProjectAlbumName | 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" } ] }
application/xml, text/xml
Sample:
<ProjectAlbum xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api"> <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>