- URL:https://<mission-service-url>/reports
- Child Resources:Report
- Related Resources:Report
- Version Introduced:11.1
Description
Reports allow client applications to capture and report specified data out in the field. This resource returns a list of reports added to the current mission.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default response format is html. Values: html | json | pjson |
Response Properties
Property | Details |
---|---|
name | The channel name REPORTS |
msgId | The msgId of the channel. |
items | An array of report items. |
Example usage
Below is a sample request URL for the connectionInfo resource:
https://machine.domain.com/webadaptor/rest/services/<mission_id>/MissionServer/reports?f=pjson
JSON Response example
{
"name": "REPORT",
"msgId": "REPORT",
"items": [
{
"itemId": "b48259e201a3440cb28f68c194edd1c2",
"layerId": 0,
"name": "Field Report",
"serviceUrl": "https://server.com/server/rest/services/Hosted/field_report_0801889a58f04696bea7dff5997eb69b/FeatureServer/0"
},
{
"itemId": "dbbd418b09c64a149c32b555a778a6c3",
"layerId": 0,
"name": "Accident Report",
"serviceUrl": "https://server.com/server/rest/services/Hosted/accident_report_0913248jajfe991239ffea949900/FeatureServer/0"
}
]
}