GET api/smarttask/users/{userId}/tasks/{taskId}/reports
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | string |
Required |
|
| taskId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TaskReportBlock| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskId | integer |
None. |
|
| BlockType | BlockTypeEnum |
None. |
|
| ReporterLocation | TaskLocationInfo |
None. |
|
| ReportImage | Collection of byte |
None. |
|
| MimeType | string |
None. |
|
| FileName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TaskId": 1,
"BlockType": 16,
"ReporterLocation": {
"Srid": 1,
"Latitude": 1.1,
"Longitude": 1.1
},
"ReportImage": "QEA=",
"MimeType": "sample string 2",
"FileName": "sample string 3"
},
{
"TaskId": 1,
"BlockType": 16,
"ReporterLocation": {
"Srid": 1,
"Latitude": 1.1,
"Longitude": 1.1
},
"ReportImage": "QEA=",
"MimeType": "sample string 2",
"FileName": "sample string 3"
}
]
text/html
Sample:
[{"TaskId":1,"BlockType":16,"ReporterLocation":{"Srid":1,"Latitude":1.1,"Longitude":1.1},"ReportImage":"QEA=","MimeType":"sample string 2","FileName":"sample string 3"},{"TaskId":1,"BlockType":16,"ReporterLocation":{"Srid":1,"Latitude":1.1,"Longitude":1.1},"ReportImage":"QEA=","MimeType":"sample string 2","FileName":"sample string 3"}]