...
Request | Response |
---|
No Format |
---|
POST https://ertan.emakin.com/rest/v1/decision
{
"apiKey": "",
"logonId": "user@emakin.com",
"logonProvider": "Organization",
"process" : "Decision",
"model" : "dinner",
"decision" : "Dish",
"inputData": "<pool><Season>Fall</Season><NumberOfGuests>2</NumberOfGuests></pool>"
} |
| No Format |
---|
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 26
{"d":{"Dish":"Spareribs"}}
|
|
ActivityStream
Returns the activity stream of an object.
Required Scope
activity_read
Parameters
Parameter Name | Description |
---|
apiKey | Caller system identifier. |
logonId | User logon id |
logonProvider | User logon provider. |
process | Name or Id number of the process |
model | Name or Id number of the decision model |
decision | Name or Id number of the decision |
inputData | Decision input data. Xml or Json string. |
Example Call
Request | Response |
---|
No Format |
---|
POST https://ertan.emakin.com/rest/v1/decision
{
"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