...
Request | Response |
---|
No Format |
---|
POST http://ertan.emakin.com/rest/v1/getTokenFromUserInfo
{
"apiKey": "xxxx",
"userInfo": {
"logonProviderproviderName": "LinkedIn",
"id": "wcomx2h3jd",
"name": "Ertan Tike",
"email": "emakin@noreply.com",
}
} |
| No Format |
---|
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{"d":"41AA3CE3CAFB..............BF8114"} |
|
...
Required Scope
module_execute
Parameters
Parameter Name | Description |
---|
apiKey | Caller system indentifier |
logonId | User logon id |
logonProvider | User logon provider. |
process | Name or id of process |
module | Name of module |
function | Name of function |
arguments | Array of function parameters |
Example Call
Request | Response |
---|
No Format |
---|
POST http://ertan.emakin.com/rest/v1/executeModule
{
"apiKey": "xxxx",
"logonId": "user@emakin.com",
"logonProvider": "Organization",
"process" : "myprocess",
"module": "mymodule",
"function": "myfunction",
"arguments": ["arg1","arg2"]
} |
| No Format |
---|
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
// function result
}
|
|
Trigger
Triggers an event for listeners on all processes and returns array of id number of triggered work items. When there is no listener return value is a empty array.
...