POST api/Project/PostPhoto

Request Information

URI Parameters

None.

Body Parameters

PhotoUpload
NameDescriptionTypeAdditional information
AlbumID

integer

None.

PhotoID

integer

None.

Name

string

None.

Path

string

None.

Note

string

None.

Bytes

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "AlbumID": 1,
  "PhotoID": 2,
  "Name": "sample string 3",
  "Path": "sample string 4",
  "Note": "sample string 5",
  "Bytes": "QEA="
}

application/xml, text/xml

Sample:
<PhotoUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api">
  <AlbumID>1</AlbumID>
  <Bytes>QEA=</Bytes>
  <Name>sample string 3</Name>
  <Note>sample string 5</Note>
  <Path>sample string 4</Path>
  <PhotoID>2</PhotoID>
</PhotoUpload>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>