PUT api/Task/EditPhoto
Request Information
URI Parameters
None.
Body Parameters
PhotoUpload| Name | Description | Type | Additional information |
|---|---|---|---|
| AlbumID | integer |
None. |
|
| PhotoID | integer |
None. |
|
| Name | string |
None. |
|
| Path | string |
None. |
|
| Note | string |
None. |
|
| Bytes | Collection of byte |
None. |
|
| TaskID | integer |
None. |
|
| Folder | string |
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=",
"TaskID": 6,
"Folder": "sample string 7"
}
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> <Folder>sample string 7</Folder> <Name>sample string 3</Name> <Note>sample string 5</Note> <Path>sample string 4</Path> <PhotoID>2</PhotoID> <TaskID>6</TaskID> </PhotoUpload>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EditPhotoResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Error": "sample string 2"
}
application/xml, text/xml
Sample:
<EditPhotoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api"> <Error>sample string 2</Error> <Id>1</Id> </EditPhotoResult>