...
Operation | Method | API Endpoint | Example Payload | Example and Notes | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create User | POST | /rest/invitation?resourceIdentifier=users | For Single Partner and Single Role: { "roleInfo":"[{\"partner\":1,\"roles\":[2],\"defaultRole\":2}]", For Multiple Partner and Multiple Role: { Note: In case of multiple partner and multiple role, you need to modify the roleInfo field with the respective activity IDs. | Example Response:
This endpoint creates an invitation and return invitation id in response which you will use while creating the user. | |||||||
POST | /rest/users/createuser | { | Example Response:
Use the invitation Id from the above Create User response. | ||||||||
Update User | PUT | /rest/users/{userId} | { "company":"Adeptia", | Example Response:
| |||||||
Get User | GET | /rest/user/{userId} | |||||||||
Get All Users (Connect Portal) | GET | /rest/userusers?limit={maximum number of users} | Using this API, you will get only Connect Portal users. By default the value of limit is 1. Moreover, the limit stands for maximum number of users can be fetched from the database. | ||||||||
Activate User | PUT | /rest/users/activate/{userId} | EMPTY | ||||||||
Deactivate User | PUT | /rest/users/deactivate/{userId} | EMPTY | ||||||||
Delete User | PUT | /rest/users/updateowner?oldUserId={userId}&deleteUser=true | EMPTY | By default this endpoint will delete the user who has no dependency else an exception message to move objects will be generated. |
...
Operation | Method | API Endpoint | Example Request Payload | |||||||
---|---|---|---|---|---|---|---|---|---|---|
Create Transaction | POST | /rest/transaction |
| |||||||
Create Transaction with Parameters | POST | /rest/transactiontransaction |
| |||||||
Update Transaction | PUT | /rest/transaction/{transactionId} |
| |||||||
Update Transaction Parameters | PUT | /rest/transaction/{transactionId} |
| |||||||
DELETE | DELETE | /rest/transaction/{transactionId} | EMPTY |
APIs for Managing
...
Transaction for Custom Template
Operation | Method | API Endpoint | Example Request Payload | Example |
---|
Response | ||
---|---|---|
Create Transaction | POST | /rest/ |
By default this endpoint lists all the activities available to partner.
To retrieve specific activities pass the comma separated service name query parameter as below
transaction |
To identify the sequence ID for each steps, it is recommended to run the below Get Step Info API. |
| ||||||||||||||
Get Step Info | GET | /rest/transactiontemplate/getactivitiesinfo/ {templateId}/{processFlowId} | EMPTY |
|
APIs for Managing Schema and Mapping
Operation | Method | API Endpoint | Example and Notes |
---|---|---|---|
Get all Schema and Mapping activities available to Partner | GET | /rest/activities/{partnerId} | By default this endpoint lists all the activities available to partner. To retrieve specific activities pass the comma separated service name query parameter as below ?services=TextSchema,ExcelSchema Valid Service Names are
By default all the available fields of all activities are returned in response. To limit the number of fields and to get specific fields pass the "fields" query param and pass the comma separated field names as below ?fields=id,entityName Note: Only those activities will be returned in response to which the requesting user is authorized to view as per permission settings. Admin will get all activities.
|
Get all Schema and Mapping activities used by Partner in Transactions of a particular Template | GET | /rest/activities/{partnerId}/{templateId} | By default this endpoint lists all the activities used by partner for a particular template. To retrieve specific activities pass the comma separated service name query parameter as below ?services=TextSchema,ExcelSchema (See above the list of valid service Names)
By default all the available fields of all activities are returned in response. To limit the number of fields and to get specific fields pass the "fields" query param and pass the comma separated field names as below ?fields=id,entityName
|
...
Operation | Method | API Endpoint | Example Response | |||||||
---|---|---|---|---|---|---|---|---|---|---|
View Connect Server (Developer Suite) Info | GET | /rest/fetchproperties/aboutinformation |
| |||||||
View Connect Portal Info | GET | /rest/applications/getTag |
|
...