HTTP GET for /service/{service-id}/workitem
When the NSM client user requests the /service/{service-id}/workitem URI
using the GET method, the list of work items in a
specific service that matches the service ID entered is returned.
Input parameters
{service-id}
Available HTTP Headers
Accept: application/json
Accept: text/xml
Sample request
http://www.example.com:16310/nsm/service/106/workitemSample response
XML<serviceWorkItems>
<workItem status="FINISHED_SUCCESS" id="36518" type="COMMANDSET" name="ITNCM/command1"
deviceId="2"/>
<workItem status="FINISHED_SUCCESS" id="36519" type="COMMANDSET" name="ITNCM/command2"
deviceId="2"/>
</serviceWorkItems>JSON{
"workItems": [
{
"status": "FINISHED_SUCCESS",
"workItemId": 36518,
"workType": "COMMANDSET",
"deviceId": 2,
"name": "ITNCM/Command1"
},
{
"status": "FINISHED_SUCCESS",
"workItemId": 36519,
"workType": "COMMANDSET",
"deviceId": 2,
"name": "ITNCM/Command2"
}
]
}