Including process based services Emakin also provides infrastructure services to integrate with other applications.
Infrastructure services can be accessed from "http(s)://<mydomain>.emakin.com/rest.asmx" url. Depending on call style service methods can be called in soap or rest format. If you prefer the use SOAP related WSDL document can be accessed from http://<mydomain>.emakin.com/rest.asmx?WSDL
Infrastructure service calls requires an API Key to execute and get be acquired from system administrator.
Services
GetToken
Generates an authentication token to authorize users later. Generated token can be use to "auth" parameter to authorise users without login requirement.
Parameters
Parameter Name | Description |
---|---|
apiKey | Caller system identifier. |
logonId | User logon id |
logonProvider | User logon provider. |
Example Call
Request | Response |
---|---|
POST http://ertan.emakin.com/rest.asmx/getToken HTTP/1.1 {apiKey:'xxxx', logonId : 'ertan.tike@6kare.com', logonProvider:'Organization' } | HTTP/1.1 200 OK {"d":"41AA3CE3CAFBD85ABD1A5145FB62F154E0332589E4C0A3D0BCA5E2C1159CCD04037BB9FF6E3F993DB6DF30A336D388F0F92E28FB89798BAC2415ADA88926600529BF8114"} |
GetWorklist
Returns the list of work items on user's worklist. Tag parameter specifies the identifier of which list should be return.
Parameters
Parameter Name | Description |
---|---|
apiKey | Caller system identifier. |
logonId | User logon id |
logonProvider | User logon provider. |
tag | Worklist identifier. |
Example Call
Request | Response |
---|---|
POST http://ertan.emakin.com/rest.asmx/getWorklist HTTP/1.1 {apiKey:'xxxx', logonId : 'ertan.tike@6kare.com', logonProvider:'Organization', tag: null } | HTTP/1.1 200 OK { "d":[ { "Id":"e5134318-88bd-4a33-b561-4d78380734ce", "Caption":"A new task", "Start":"/Date(1445812020394)/", "End":null, "Instructions":"Please complete.", "State":"Waiting", "Number":12471 }, { "Id":"796a34c6-fd2e-450e-a2af-8124ea68f8ca", "Caption":"A new other task", "Start":"/Date(1445512843034)/", "End":null, "Instructions":"Please complete.", "State":"Waiting", "Number":12468 } ] } |