Toggle menu

GetServiceTaskInstances

Request Parameters

GetServiceTaskInstances Request Schema

Example Request:

{
    "serviceTaskRefs": [{
        "type": "ServiceTask",
        "value": [17275956],
        "key": "Id"
    }],
    "query": {
        "from": "2020-03-01T23:00:00.000+01:00",
        "to": "2020-08-01T23:00:00.000+01:00"
    }
}

Response Parameters

GetServiceTaskInstances Response Schema

Example Response:

{
    "jsonrpc": "2.0",
    "id": 18,
    "result": {
        "response": [{
            "instances": [{
                "currentScheduledDate": "2020-07-20T06:00:00+01:00",
                "originalScheduledDate": "2020-07-20T00:00:00+01:00",
                "ref": {
                    "key": "Handle",
                    "type": "Task",
                    "value": [28763285, 7506]
                }
            }, {
                "currentScheduledDate": "2020-06-08T06:00:00+01:00",
                "originalScheduledDate": "2020-06-08T00:00:00+01:00",
                "ref": {
                    "key": "Handle",
                    "type": "Task",
                    "value": [28763285, 7464]
                }
            }, {
                "currentScheduledDate": "2020-06-22T06:00:00+01:00",
                "originalScheduledDate": "2020-06-22T00:00:00+01:00",
                "ref": {
                    "key": "Handle",
                    "type": "Task",
                    "value": [28763285, 7478]
                }
            }, {
                "currentScheduledDate": "2020-07-06T06:00:00+01:00",
                "originalScheduledDate": "2020-07-06T00:00:00+01:00",
                "ref": {
                    "key": "Handle",
                    "type": "Task",
                    "value": [28763285, 7492]
                }
            }],
            "serviceTaskRef": {
                "key": "Id",
                "type": "ServiceTask",
                "value": [17275956]
            }
        }],
        "success": true
    }
}

Last modified on 4 February 2021

Share this page

Facebook icon Twitter icon email icon

Print

print icon