Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Required Scope

activity_read

Parameters

Parameter NameDescription
apiKeyCaller system identifier.
logonIdUser logon id
logonProviderUser logon provider.
processName or Id number of the process
modelName or Id number of the decision model
decisionName or Id number of the decision
inputDataDecision input data. Xml or Json string.

Example Call

RequestResponse
No Format
POST https://ertan.emakin.com/rest/v1/
decision
activitystream

{
     "apiKey": "",
     "logonId": "user@emakin.com",
     "logonProvider": "Organization",
     "channelId": "2f9e4a39-66e0-45e8-9ef4-13ed00cc4089"
}
No Format
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 26

{
  "d": [
    {
      "selectedAction": "Submit For Approval",
      "content": "my comment"
      "href": "/app/?/workitem/9b1e9c8f-9c87-4361-bcdc-8d3948e647e1",
      "task": "New Project Proposal",
      "actor": {
        "name": "User name",
        "type": "User"
      },
      "@id": "7bea8d21-4007-464c-a137-6bd3811c4f95",
      "@type": "complete",
      "actorId": "467a3ace-3e67-4c44-ae75-7a48bad80490",
      "objectId": "9b1e9c8f-9c87-4361-bcdc-8d3948e647e1",
      "objectType": "workitem",
      "published": "2020-11-06T15:15:46.636457+03:00"
    }
}


RestAPI