GET api/Task/GetPhotos?taskID={taskID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
taskID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TaskPhoto
NameDescriptionTypeAdditional information
Id

integer

None.

TaskId

integer

None.

Name

string

None.

Note

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "TaskId": 2,
    "Name": "sample string 3",
    "Note": "sample string 4"
  },
  {
    "Id": 1,
    "TaskId": 2,
    "Name": "sample string 3",
    "Note": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTaskPhoto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api">
  <TaskPhoto>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <Note>sample string 4</Note>
    <TaskId>2</TaskId>
  </TaskPhoto>
  <TaskPhoto>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <Note>sample string 4</Note>
    <TaskId>2</TaskId>
  </TaskPhoto>
</ArrayOfTaskPhoto>