com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Getting Operation Details by the Activity ID
Description | Each operation is associated with a unique value or ID known as the activity ID. Using this, you are able to get the details of a preferred operation. | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Resource Path | /{id} | ||||||||||||||||||||
URL | /mdm-admin/operations/activity/{id} | ||||||||||||||||||||
HTTP Method | GET | ||||||||||||||||||||
Request/Response Format | application/json | ||||||||||||||||||||
cURL command | curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer <EMM_API_TOKEN>" -k -v https://<EMM_HOST>:<EMM_HTTPS_PORT>/mdm-admin/operations/activity/{id}
Example: Retrieve the operation details that correspond to curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer 9a0dc4b7c4729e7200e0eec0b8ec7168" -k -v https://localhost:9443/mdm-admin/operations/activity/ACTIVITY_1 | ||||||||||||||||||||
 Sample output | > GET /mdm-admin/operations/activity/ACTIVITY_1 HTTP/1.1 > User-Agent: curl/7.30.0 > Host: localhost:9443 > Accept: */* > Content-Type: application/json > Authorization: Bearer 9a0dc4b7c4729e7200e0eec0b8ec7168 > < HTTP/1.1 200 OK < Cache-Control: private < Expires: Thu, 01 Jan 1970 05:30:00 IST < Date: Fri, 29 Apr 2016 13:48:02 GMT < Content-Type: application/json < Content-Length: 158 < Server: WSO2 Carbon Server {"code":"NOTIFICATION","type":"PROFILE","id":7,"status":"COMPLETED","createdTimeStamp":"2016-05-12 23:28:34.13","isEnabled":true,"payLoad":"{\"message\":\"Hi John, Please come to meeting room\"}","activityId":"ACTIVITY_7","responses":[{"response":{"timestamp":"Thu May 12 23:27:52 GMT+05:30 2016","status":"RECEIVED","deviceState":"unlocked"},"recievedTimeStamp":"2016-05-12 23:29:03.663"},{"response":{"timestamp":"Thu May 12 23:29:08 GMT+05:30 2016","status":"DISMISSED"},"recievedTimeStamp":"2016-05-12 23:30:32.161"}]} | ||||||||||||||||||||
Sample JSON Output Definition | { "code":"NOTIFICATION", "type":"PROFILE", "id":7, "status":"COMPLETED", "createdTimeStamp":"2016-05-12 23:28:34.13", "isEnabled":true, "payLoad":"{\"message\":\"Hi John, Please come to the meeting room\"}", "activityId":"ACTIVITY_7", "responses":[ { "response":{ "timestamp":"Thu May 12 23:27:52 GMT+05:30 2016", "status":"RECEIVED", "deviceState":"unlocked" }, "recievedTimeStamp":"2016-05-12 23:29:03.663" }, { "response":{ "timestamp":"Thu May 12 23:29:08 GMT+05:30 2016", "status":"DISMISSED" }, "recievedTimeStamp":"2016-05-12 23:30:32.161" } ] }
|
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.