{ "swagger": "2.0", "info": { "contact": { "email": "support@agilite.io", "name": "Agilit-e Support Team", "url": "https://agilite.io" }, "description": "Agilit-e enables you to centralize your business logic and processes and expose them as microservices to new or existing applications. With the Agilit-e connector, you gain access to many services including Business Process Management (BPM), Roles, Keywords, Templates and more.", "title": "Agilite", "version": "6.1", "x-ms-api-annotation": { "status": "Preview" } }, "x-ms-connector-metadata": [ { "propertyName": "Website", "propertyValue": "https://agilite.io" }, { "propertyName": "Privacy Policy", "propertyValue": "https://agilite.io/privacy" }, { "propertyName": "Categories", "propertyValue": "IT Operations" } ], "basePath": "/", "consumes": [], "definitions": { "BadRequest": { "properties": { "additionalMessages": { "description": "List of additional messages that could be returned related to the failed response", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Additional Messages" }, "errorMessage": { "description": "Description of error that occurred", "type": "string", "x-ms-summary": "Error Message" }, "statusCode": { "description": "Response code of HTTP request", "type": "number", "x-ms-summary": "Status Code" } }, "type": "object" }, "ExecuteBPMResult": { "properties": { "description": { "description": "A short description explaining the Process Step", "type": "string", "x-ms-summary": "Process Step Description" }, "duration": { "description": "The SLA Duration in hours. Provide a value of 0 if not applicable", "type": "string", "x-ms-summary": "SLA Duration (Hrs)" }, "eventStamp": { "description": "An Event Stamp for the current Process Step", "type": "string", "x-ms-summary": "Process Step Event Stamp" }, "instructions": { "description": "Instructions to Responsible User during Step", "type": "string", "x-ms-summary": "Step Instructions" }, "key": { "description": "A unique key to identify the Process Step", "type": "string", "x-ms-summary": "Process Step Key" }, "name": { "description": "A short name for the Process Step", "type": "string", "x-ms-summary": "Process Step Name" }, "processKey": { "description": "A unique key to identify the BPM Profile", "type": "string", "x-ms-summary": "BPM Profile Key" }, "processStage": { "description": "A key that defines the Process Stage of the current Step", "type": "string", "x-ms-summary": "Process Stage" }, "responsibility": { "description": "User/Role Based Responsibility", "type": "string", "x-ms-summary": "Responsibility Type" }, "responsibleRole": { "description": "The role responsible for the current Process Step", "type": "string", "x-ms-summary": "Process Step Responsible Role" }, "responsibleUsers": { "description": "The users responsible for the current Process Step", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Process Step Responsible Users" }, "stepOptions": { "items": { "properties": { "description": { "description": "A short description explaining the Step Option", "type": "string", "x-ms-summary": "Step Option Description" }, "eventStamp": { "description": "An Event Stamp for the current Step Option", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Step Option Event Stamp" }, "name": { "description": "A short name for the Step Option", "type": "string", "x-ms-summary": "Step Option Name" }, "nextStep": { "description": "The next step the business process will be routed to. Leave empty if no further steps", "type": "string", "x-ms-summary": "Next Step" }, "notes": { "description": "Optional Notes for Step Option", "type": "string", "x-ms-summary": "Step Option Notes" }, "visibleObjects": { "items": { "properties": { "id": { "description": "The id of the component that gets referenced in the UI", "type": "string", "x-ms-summary": "Step Option Object Id" }, "inputOptions": { "properties": { "choices": { "items": { "properties": { "label": { "description": "A label for selected choice", "type": "string", "x-ms-summary": "Choices Type Label" }, "value": { "description": "A value for selected choice", "type": "string", "x-ms-summary": "Choices Type Value" } }, "type": "object" }, "type": "array" }, "label": { "description": "A label defining the input field or editable component", "type": "string", "x-ms-summary": "Input Options Label" }, "messages": { "description": "Messages to be used when Input Options validation fails", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Input Options Messages" }, "type": { "description": "Defines the type of input field or editable component to be used", "type": "string", "x-ms-summary": "Input Options Type" } }, "type": "object" }, "isEditable": { "description": "Is the component referenced editable for user input", "type": "boolean", "x-ms-summary": "Is Step Option Object Editable" }, "isMandatory": { "description": "Does the component referenced require user input", "type": "boolean", "x-ms-summary": "Is Step Option Object Mandatory" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "type": "array" }, "visibleObjects": { "items": { "properties": { "id": { "description": "The id of the component that gets referenced in the UI", "type": "string", "x-ms-summary": "Process Step Object Id" }, "inputOptions": { "properties": { "choices": { "items": { "properties": { "label": { "description": "A label for selected choice", "type": "string", "x-ms-summary": "Choices Type Label" }, "value": { "description": "A value for selected choice", "type": "string", "x-ms-summary": "Choices Type Value" } }, "type": "object" }, "type": "array" }, "label": { "description": "A label defining the input field or editable component", "type": "string", "x-ms-summary": "Input Options Label" }, "messages": { "description": "Messages to be used when Input Options validation fails", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Input Options Messages" }, "type": { "description": "Defines the type of input field or editable component to be used", "type": "string", "x-ms-summary": "Input Options Type" } }, "type": "object" }, "isEditable": { "description": "Is the component referenced editable for user input", "type": "boolean", "x-ms-summary": "Is Process Step Object Editable" }, "isMandatory": { "description": "Does the component referenced require user input", "type": "boolean", "x-ms-summary": "Is Process Step Object Mandatory" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "GetBPMProfile": { "properties": { "appAdmin": { "items": { "properties": { "email": { "description": "An email address for the Admin of the current BPM profile", "type": "string", "x-ms-summary": "App Admin Email" } }, "type": "object" }, "type": "array" }, "appUrl": { "description": "An optional url for the app that makes use of the current BPM profile", "type": "string", "x-ms-summary": "BPM App URL" }, "description": { "description": "A short description explaining the BPM profile", "type": "string", "x-ms-summary": "BPM Profile Description" }, "groupName": { "description": "An optional grouping for the BPM profile", "type": "string", "x-ms-summary": "BPM Profile Group Name" }, "key": { "description": "A unique key to identify the BPM Profile", "type": "string", "x-ms-summary": "BPM Profile Key" }, "name": { "description": "A short name for the BPM profile", "type": "string", "x-ms-summary": "BPM Profile Name" }, "notes": { "description": "Optional Notes for BPM Profile", "type": "string", "x-ms-summary": "BPM Profile Notes" }, "processSteps": { "items": { "properties": { "description": { "description": "A short description explaining the Process Step", "type": "string", "x-ms-summary": "Process Step Description" }, "duration": { "description": "The SLA Duration in hours. Provide a value of 0 if not applicable", "type": "string", "x-ms-summary": "SLA Duration (Hrs)" }, "firstStep": { "description": "Specify if the Process Step record is the first step in the Business Process", "type": "boolean", "x-ms-summary": "Is First Step" }, "instructions": { "description": "Instructions to Responsible User during Step", "type": "string", "x-ms-summary": "Step Instructions" }, "key": { "description": "A unique key to identify the Process Step", "type": "string", "x-ms-summary": "Process Step Key" }, "name": { "description": "A short name for the Process Step", "type": "string", "x-ms-summary": "Process Step Name" }, "processStage": { "description": "A key that defines the Process Stage of the current Step", "type": "string", "x-ms-summary": "Process Stage" }, "referenceUrl": { "description": "A reference URL for the Process Step", "type": "string", "x-ms-summary": "Process Step Reference URL" }, "responsibility": { "description": "User/Role Based Responsibility", "type": "string", "x-ms-summary": "Responsibility Type" }, "responsibleRole": { "description": "The role responsible for the current Step", "type": "string", "x-ms-summary": "Process Step Responsible Role" }, "roleLevels": { "description": "Conditional Role Levels", "items": { "type": "string" }, "type": "array" }, "stepOptions": { "items": { "properties": { "description": { "description": "A short description explaining the Step Option", "type": "string", "x-ms-summary": "Step Option Description" }, "name": { "description": "A short name for the Step Option", "type": "string", "x-ms-summary": "Step Option Name" }, "nextStep": { "description": "The next step the business process will be routed to. Leave empty if no further steps", "type": "string", "x-ms-summary": "Next Step" }, "notes": { "description": "Optional Notes for Step Option", "type": "string", "x-ms-summary": "Step Option Notes" }, "visibleObjects": { "items": { "properties": { "id": { "description": "The id of the component that gets referenced in the UI", "type": "string", "x-ms-summary": "Step Option Object Id" }, "inputOptions": { "properties": { "choices": { "items": { "properties": { "label": { "description": "A label for selected choice", "type": "string", "x-ms-summary": "Choices Type Label" }, "value": { "description": "A value for selected choice", "type": "string", "x-ms-summary": "Choices Type Value" } }, "type": "object" }, "type": "array" }, "label": { "description": "A label defining the input field or editable component", "type": "string", "x-ms-summary": "Input Options Label" }, "messages": { "description": "Messages to be used when Input Options validation fails", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Input Options Messages" }, "type": { "description": "Defines the type of input field or editable component to be used", "type": "string", "x-ms-summary": "Input Options Type" } }, "type": "object" }, "isEditable": { "description": "Is the component referenced editable for user input", "type": "boolean", "x-ms-summary": "Is Step Option Object Editable" }, "isMandatory": { "description": "Does the component referenced require user input", "type": "boolean", "x-ms-summary": "Is Step Option Object Mandatory" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "type": "array" }, "visibleObjects": { "items": { "properties": { "id": { "description": "The id of the component that gets referenced in the UI", "type": "string", "x-ms-summary": "Process Step Object Id" }, "inputOptions": { "properties": { "choices": { "items": { "properties": { "label": { "description": "A label for selected choice", "type": "string", "x-ms-summary": "Choices Type Label" }, "value": { "description": "A value for selected choice", "type": "string", "x-ms-summary": "Choices Type Value" } }, "type": "object" }, "type": "array" }, "label": { "description": "A label defining the input field or editable component", "type": "string", "x-ms-summary": "Input Options Label" }, "messages": { "description": "Messages to be used when Input Options validation fails", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Input Options Messages" }, "type": { "description": "Defines the type of input field or editable component to be used", "type": "string", "x-ms-summary": "Input Options Type" } }, "type": "object" }, "isEditable": { "description": "Is the component referenced editable for user input", "type": "boolean", "x-ms-summary": "Is Process Step Object Editable" }, "isMandatory": { "description": "Does the component referenced require user input", "type": "boolean", "x-ms-summary": "Is Process Step Object Mandatory" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "type": "array" }, "referenceUrl": { "description": "An optional url that can be referenced for the current BPM profile", "type": "string", "x-ms-summary": "BPM Profile Reference URL" } }, "type": "object" }, "GetBPMRecordState": { "items": { "properties": { "description": { "description": "A short description explaining the Process Step", "type": "string", "x-ms-summary": "Process Step Description" }, "duration": { "description": "The SLA Duration in hours. Provide a value of 0 if not applicable", "type": "string", "x-ms-summary": "SLA Duration (Hrs)" }, "eventStampHistory": { "items": { "properties": { "eventName": { "description": "Name of the Event Stamp", "type": "string", "x-ms-summary": "Event Stamp History Name" }, "timeStamp": { "description": "The timestamp of when the Event Stamp occurred", "format": "date-time", "type": "string", "x-ms-summary": "Event Stamp History Timestamp" } }, "type": "object" }, "type": "array" }, "history": { "items": { "properties": { "comments": { "description": "Optional comments added at the time the History entry was created", "type": "string", "x-ms-summary": "History Comments" }, "currentRole": { "description": "The current Role at the time of the History entry", "type": "string", "x-ms-summary": "History Current Role" }, "currentUser": { "description": "The current User at the time of the History entry", "type": "string", "x-ms-summary": "History Current User" }, "duration": { "description": "The time (in minutes) the record existed in the current Process Step before being actioned", "type": "string", "x-ms-summary": "Step Duration" }, "eventStamp": { "description": "Event Stamp(s) that occurred at the time of the History entry", "items": { "type": "string" }, "type": "array", "x-ms-summary": "History Event Stamp" }, "fromStep": { "description": "The Key of the Process Step the BPM record came from at the time of the History entry", "type": "string", "x-ms-summary": "From Step" }, "fromStepName": { "description": "The Name of the Process Step the BPM record came from at the time of the History entry", "type": "string", "x-ms-summary": "From Step Name" }, "optionSelected": { "description": "The option selected when actioning the BPM record", "type": "string", "x-ms-summary": "History Option Selected" }, "processKey": { "description": "The unique BPM Process Key for the History entry", "type": "string", "x-ms-summary": "History BPM Process Key" }, "processStage": { "description": "The Process stage at the time of the History entry", "type": "string", "x-ms-summary": "History Process Stage" }, "recordId": { "description": "The record id for the BPM related record generated during the Register BPM Record process", "type": "string", "x-ms-summary": "History BPM Record Id" }, "responsibleRole": { "description": "The responsible Role of the BPM Record at the time of the History entry", "type": "string", "x-ms-summary": "History Responsible Role" }, "responsibleUsers": { "description": "Responsible User(s) at the time of the History entry", "items": { "type": "string" }, "type": "array", "x-ms-summary": "History Responsible Users" }, "submissionDate": { "description": "The date/time the BPM record was actioned", "format": "date-time", "type": "string", "x-ms-summary": "History Submission Date" }, "toProcessStage": { "description": "The Process stage for the BPM record at the time of the History entry", "type": "string", "x-ms-summary": "To Process Stage" }, "toStep": { "description": "The Key of the Process Step for the BPM record at the time of the History entry", "type": "string", "x-ms-summary": "To Step" }, "toStepName": { "description": "The Name of the Process Step for the BPM record at the time of the History entry", "type": "string", "x-ms-summary": "To Step Name" } }, "type": "object" }, "type": "array" }, "instructions": { "description": "Instructions to Responsible User during Step", "type": "string", "x-ms-summary": "Step Instructions" }, "key": { "description": "A unique key to identify the Process Step", "type": "string", "x-ms-summary": "Process Step Key" }, "name": { "description": "A short name for the Process Step", "type": "string", "x-ms-summary": "Process Step Name" }, "processKey": { "description": "A unique key to identify the BPM Profile", "type": "string", "x-ms-summary": "BPM Profile Key" }, "processStage": { "description": "A key that defines the Process Stage of the current Step", "type": "string", "x-ms-summary": "Process Stage" }, "recordId": { "description": "The record id generated by the BPM module when registering a BPM Record", "type": "string", "x-ms-summary": "BPM Record Id" }, "recordRef": { "description": "A readable number generated by the BPM module using the Numbering module when registering a BPM Record", "type": "string", "x-ms-summary": "BPM Record Reference" }, "referenceUrl": { "description": "A reference URL for the Process Step", "type": "string", "x-ms-summary": "Process Step Reference URL" }, "responsibleRole": { "description": "The role responsible for the current Step", "type": "string", "x-ms-summary": "Process Step Responsible Role" }, "responsibleUsers": { "description": "Responsible user(s) for the current Process Step", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Process Step Responsible Users" }, "roles": { "items": { "properties": { "name": { "description": "Name of the Role", "type": "string", "x-ms-summary": "Role Name" }, "users": { "items": { "properties": { "email": { "description": "Email address(es) linked to the Role name", "type": "string", "x-ms-summary": "Role Email" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "type": "array" }, "stepOptions": { "items": { "properties": { "description": { "description": "A short description explaining the Step Option", "type": "string", "x-ms-summary": "Step Option Description" }, "eventStamp": { "description": "An Event Stamp for the current Step Option", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Step Option Event Stamp" }, "name": { "description": "A short name for the Step Option", "type": "string", "x-ms-summary": "Step Option Name" }, "nextStep": { "description": "The next step the business process will be routed to. Leave empty if no further steps", "type": "string", "x-ms-summary": "Next Step" }, "notes": { "description": "Optional Notes for Step Option", "type": "string", "x-ms-summary": "Step Option Notes" }, "visibleObjects": { "items": { "properties": { "id": { "description": "The id of the component that gets referenced in the UI", "type": "string", "x-ms-summary": "Step Option Object Id" }, "inputOptions": { "properties": { "choices": { "items": { "properties": { "label": { "description": "A label for selected choice", "type": "string", "x-ms-summary": "Choices Type Label" }, "value": { "description": "A value for selected choice", "type": "string", "x-ms-summary": "Choices Type Value" } }, "type": "object" }, "type": "array" }, "label": { "description": "A label defining the input field or editable component", "type": "string", "x-ms-summary": "Input Options Label" }, "messages": { "description": "Messages to be used when Input Options validation fails", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Input Options Messages" }, "type": { "description": "Defines the type of input field or editable component to be used", "type": "string", "x-ms-summary": "Input Options Type" } }, "type": "object" }, "isEditable": { "description": "Is the component referenced editable for user input", "type": "boolean", "x-ms-summary": "Is Step Option Object Editable" }, "isMandatory": { "description": "Does the component referenced require user input", "type": "boolean", "x-ms-summary": "Is Step Option Object Mandatory" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "type": "array" }, "submittedIntoStep": { "description": "The date/time the BPM record was submitted into the current Process Step", "format": "date-time", "type": "string", "x-ms-summary": "Submitted Into Step" }, "targetTimeDuration": { "description": "The date/time the BPM record needs to be actioned by based on the SLA Duration", "format": "date-time", "type": "string", "x-ms-summary": "Target Time Duration" }, "visibleObjects": { "items": { "properties": { "id": { "description": "The id of the component that gets referenced in the UI", "type": "string", "x-ms-summary": "Process Step Object Id" }, "inputOptions": { "properties": { "choices": { "items": { "properties": { "label": { "description": "A label for selected choice", "type": "string", "x-ms-summary": "Choices Type Label" }, "value": { "description": "A value for selected choice", "type": "string", "x-ms-summary": "Choices Type Value" } }, "type": "object" }, "type": "array" }, "label": { "description": "A label defining the input field or editable component", "type": "string", "x-ms-summary": "Input Options Label" }, "messages": { "description": "Messages to be used when Input Options validation fails", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Input Options Messages" }, "type": { "description": "Defines the type of input field or editable component to be used", "type": "string", "x-ms-summary": "Input Options Type" } }, "type": "object" }, "isEditable": { "description": "Is the component referenced editable for user input", "type": "boolean", "x-ms-summary": "Is Process Step Object Editable" }, "isMandatory": { "description": "Does the component referenced require user input", "type": "boolean", "x-ms-summary": "Is Process Step Object Mandatory" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "type": "array" }, "KeywordValues": { "items": { "properties": { "label": { "type": "string", "x-ms-summary": "Label" }, "value": { "type": "string", "x-ms-summary": "Value" } }, "type": "object" }, "type": "array" }, "RegisterBPMRecord": { "properties": { "description": { "description": "A short description explaining the Process Step", "type": "string", "x-ms-summary": "Process Step Description" }, "duration": { "description": "The SLA Duration in hours. Provide a value of 0 if not applicable", "type": "string", "x-ms-summary": "SLA Duration (Hrs)" }, "eventStampHistory": { "items": { "properties": { "eventName": { "description": "Name of the Event Stamp", "type": "string", "x-ms-summary": "Event Stamp History Name" }, "timeStamp": { "description": "The timestamp of when the Event Stamp occurred", "format": "date-time", "type": "string", "x-ms-summary": "Event Stamp History Timestamp" } }, "type": "object" }, "type": "array" }, "history": { "items": { "properties": { "comments": { "description": "Optional comments added at the time the History entry was created", "type": "string", "x-ms-summary": "History Comments" }, "currentRole": { "description": "The current Role at the time of the History entry", "type": "string", "x-ms-summary": "History Current Role" }, "currentUser": { "description": "The current User at the time of the History entry", "type": "string", "x-ms-summary": "History Current User" }, "duration": { "description": "The time (in minutes) the record existed in the current Process Step before being actioned", "type": "string", "x-ms-summary": "Step Duration" }, "eventStamp": { "description": "Event Stamp(s) that occurred at the time of the History entry", "items": { "type": "string" }, "type": "array", "x-ms-summary": "History Event Stamp" }, "fromStep": { "description": "The Key of the Process Step the BPM record came from at the time of the History entry", "type": "string", "x-ms-summary": "From Step" }, "fromStepName": { "description": "The Name of the Process Step the BPM record came from at the time of the History entry", "type": "string", "x-ms-summary": "From Step Name" }, "optionSelected": { "description": "The option selected when actioning the BPM record", "type": "string", "x-ms-summary": "History Option Selected" }, "processKey": { "description": "The unique BPM Process Key for the History entry", "type": "string", "x-ms-summary": "History BPM Process Key" }, "processStage": { "description": "The Process stage at the time of the History entry", "type": "string", "x-ms-summary": "History Process Stage" }, "recordId": { "description": "The record id for the BPM related record generated during the Register BPM Record process", "type": "string", "x-ms-summary": "History BPM Record Id" }, "responsibleRole": { "description": "The responsible Role of the BPM Record at the time of the History entry", "type": "string", "x-ms-summary": "History Responsible Role" }, "responsibleUsers": { "description": "Responsible User(s) at the time of the History entry", "items": { "type": "string" }, "type": "array", "x-ms-summary": "History Responsible Users" }, "submissionDate": { "description": "The date/time the BPM record was actioned", "format": "date-time", "type": "string", "x-ms-summary": "History Submission Date" }, "toProcessStage": { "description": "The Process stage for the BPM record at the time of the History entry", "type": "string", "x-ms-summary": "To Process Stage" }, "toStep": { "description": "The Key of the Process Step for the BPM record at the time of the History entry", "type": "string", "x-ms-summary": "To Step" }, "toStepName": { "description": "The Name of the Process Step for the BPM record at the time of the History entry", "type": "string", "x-ms-summary": "To Step Name" } }, "type": "object" }, "type": "array" }, "instructions": { "description": "Instructions to Responsible User during Step", "type": "string", "x-ms-summary": "Step Instructions" }, "key": { "description": "A unique key to identify the Process Step", "type": "string", "x-ms-summary": "Process Step Key" }, "name": { "description": "A short name for the Process Step", "type": "string", "x-ms-summary": "Process Step Name" }, "processKey": { "description": "A unique key to identify the BPM Profile", "type": "string", "x-ms-summary": "BPM Profile Key" }, "processStage": { "description": "A key that defines the Process Stage of the current Step", "type": "string", "x-ms-summary": "Process Stage" }, "recordId": { "description": "The record id generated by the BPM module when registering a BPM Record", "type": "string", "x-ms-summary": "BPM Record Id" }, "recordRef": { "description": "A readable number generated by the BPM module using the Numbering module when registering a BPM Record", "type": "string", "x-ms-summary": "BPM Record Reference" }, "referenceUrl": { "description": "A reference URL for the Process Step", "type": "string", "x-ms-summary": "Process Step Reference URL" }, "responsibleRole": { "description": "The role responsible for the current Process Step", "type": "string", "x-ms-summary": "Process Step Responsible Role" }, "responsibleUsers": { "description": "The users responsible for the current Process Step", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Process Step Responsible Users" }, "roles": { "items": { "properties": { "name": { "description": "Name of the Role", "type": "string", "x-ms-summary": "Role Name" }, "users": { "items": { "properties": { "email": { "description": "Email address(es) linked to the Role name", "type": "string", "x-ms-summary": "Role Email" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "type": "array" }, "stepOptions": { "items": { "properties": { "description": { "description": "A short description explaining the Step Option", "type": "string", "x-ms-summary": "Step Option Description" }, "eventStamp": { "description": "An Event Stamp for the current Step Option", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Step Option Event Stamp" }, "name": { "description": "A short name for the Step Option", "type": "string", "x-ms-summary": "Step Option Name" }, "nextStep": { "description": "The next step the business process will be routed to. Leave empty if no further steps", "type": "string", "x-ms-summary": "Next Step" }, "notes": { "description": "Optional notes for the Step Option", "type": "string", "x-ms-summary": "Step Option Notes" }, "visibleObjects": { "items": { "properties": { "id": { "description": "The id of the component that gets referenced in the UI", "type": "string", "x-ms-summary": "Step Option Object Id" }, "inputOptions": { "properties": { "choices": { "items": { "properties": { "label": { "description": "A label for selected choice", "type": "string", "x-ms-summary": "Choices Type Label" }, "value": { "description": "A value for selected choice", "type": "string", "x-ms-summary": "Choices Type Value" } }, "type": "object" }, "type": "array" }, "label": { "description": "A label defining the input field or editable component", "type": "string", "x-ms-summary": "Input Options Label" }, "messages": { "description": "Messages to be used when Input Options validation fails", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Input Options Messages" }, "type": { "description": "Defines the type of input field or editable component to be used", "type": "string", "x-ms-summary": "Input Options Type" } }, "type": "object" }, "isEditable": { "description": "Is the component referenced editable for user input", "type": "boolean", "x-ms-summary": "Is Step Option Object Editable" }, "isMandatory": { "description": "Does the component referenced require user input", "type": "boolean", "x-ms-summary": "Is Step Option Object Mandatory" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "type": "array" }, "visibleObjects": { "items": { "properties": { "id": { "description": "The id of the component that gets referenced in the UI", "type": "string", "x-ms-summary": "Process Step Object Id" }, "inputOptions": { "properties": { "choices": { "items": { "properties": { "label": { "description": "A label for selected choice", "type": "string", "x-ms-summary": "Choices Type Label" }, "value": { "description": "A value for selected choice", "type": "string", "x-ms-summary": "Choices Type Value" } }, "type": "object" }, "type": "array" }, "label": { "description": "A label defining the input field or editable component", "type": "string", "x-ms-summary": "Input Options Label" }, "messages": { "description": "Messages to be used when Input Options validation fails", "items": { "type": "string" }, "type": "array", "x-ms-summary": "Input Options Messages" }, "type": { "description": "Defines the type of input field or editable component to be used", "type": "string", "x-ms-summary": "Input Options Type" } }, "type": "object" }, "isEditable": { "description": "Is the component referenced editable for user input", "type": "boolean", "x-ms-summary": "Is Process Step Object Editable" }, "isMandatory": { "description": "Does the component referenced require user input", "type": "boolean", "x-ms-summary": "Is Process Step Object Mandatory" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "StdJSONResponse": { "properties": { "result": { "description": "Result", "type": "string", "x-ms-summary": "Result" } }, "type": "object" } }, "host": "api.agilite.io", "parameters": {}, "paths": { "/bpm/execute": { "post": { "description": "Submits an option in its current workflow step. Depending on the business rules, the record wil be progressed to the next step in the process and return information about the next step to the calling api", "operationId": "executeBPM", "parameters": [ { "description": "Unique Key for the targeted profile", "in": "header", "name": "process-key", "required": true, "type": "string", "x-ms-summary": "Process Key", "x-ms-visibility": "important" }, { "description": "Identifies the record that is being submitted. The id is registered by the registerBPMRecord api for new records and can be found in the recordID property of the BPM api responses", "in": "header", "name": "bpm-record-id", "required": true, "type": "string", "x-ms-summary": "BPM Record Id", "x-ms-visibility": "important" }, { "description": "Identifies the option that is selected by the user to be executed as part of the submission process. This value has to correspond with a valid step option in the workflow profile", "in": "header", "name": "option-selected", "required": true, "type": "string", "x-ms-summary": "Option Selected", "x-ms-visibility": "important" }, { "description": "The email address of the user that is submitting the BPM step. This will typically be the user that is logged in at the time of calling the api", "in": "header", "name": "current-user", "required": true, "type": "string", "x-ms-summary": "Current User", "x-ms-visibility": "important" }, { "description": "Passes comments to the execution process which will be stamped into the workflow history. This would typically be used if the user is rejecting a step, or requesting more information", "in": "header", "name": "comments", "type": "string", "x-ms-summary": "Workflow Step Comments", "x-ms-visibility": "advanced" }, { "description": "Additional Properties", "in": "body", "name": "properties", "schema": { "additionalProperties": { "type": "string" }, "type": "object" } } ], "responses": { "200": { "description": "Execute Result", "schema": { "$ref": "#/definitions/ExecuteBPMResult" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Execute (BPM)" } }, "/bpm/getByProfileKey": { "get": { "description": "Get the full BPM Profile with configuration and options for the process.", "operationId": "getBPMByProfileKey", "parameters": [ { "description": "Unique Key for the targeted profile", "in": "header", "name": "profile-key", "required": true, "type": "string", "x-ms-summary": "Profile Key", "x-ms-visibility": "important" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "BPM Profile", "schema": { "$ref": "#/definitions/GetBPMProfile" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Get By Profile Key (BPM)" } }, "/bpm/getRecordState": { "post": { "description": "Get BPM Record State for one or more records to include the current status, who is responsible for the record, the workflow history and other information to describe the current state and rules for the record", "operationId": "getBPMRecordState", "parameters": [ { "description": "Filter to identify the business process(es) that records will be returned for. This key can be found on the BPM profile in the Agilit-e Admin Portal - (separate using commas)", "in": "header", "name": "process-keys", "type": "string", "x-ms-summary": "Process Keys", "x-ms-visibility": "important" }, { "description": "filter to only return records with specific recordIds. The recordId is registered by the registerBPMRecord api for new records and can be found in the recordID property of the BPM api responses - (separate using commas)", "in": "header", "name": "bpm-record-ids", "type": "string", "x-ms-summary": "BPM Record Ids", "x-ms-visibility": "advanced" }, { "description": "Filter to only return records that are currently to the specified workflow step(s) - (separate using commas)", "in": "header", "name": "step-names", "type": "string", "x-ms-summary": "Step Names", "x-ms-visibility": "advanced" }, { "description": "Filter to only return records that are currently assigned to the specified email address(es) - (separate using commas)", "in": "header", "name": "responsible-users", "type": "string", "x-ms-summary": "Responsible Users", "x-ms-visibility": "advanced" }, { "description": "Filter to only return records that are relevant to the specified email address(es) - (separate using commas)", "in": "header", "name": "relevant-users", "type": "string", "x-ms-summary": "Relevant Users", "x-ms-visibility": "advanced" }, { "description": "Specify if the history object should be returned with the record state information", "in": "header", "name": "include-history", "type": "boolean", "x-ms-summary": "Include History", "x-ms-visibility": "advanced" }, { "description": "Specify if the step options object should be returned with the record state information", "in": "header", "name": "include-step-options", "type": "boolean", "x-ms-summary": "Include Step Options", "x-ms-visibility": "advanced" }, { "description": "Specify if the visible objects object should be returned with the record state information", "in": "header", "name": "include-visible-objects", "type": "boolean", "x-ms-summary": "Include Visible Objects", "x-ms-visibility": "advanced" } ], "responses": { "200": { "description": "Get Record State Result", "schema": { "$ref": "#/definitions/GetBPMRecordState" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Get Record State (BPM)" } }, "/bpm/registerBPMRecord": { "get": { "description": "Register new BPM Record. The record is assigned with a recordID that is used for the record life cycle to identify the record, it's progress, history and status at all time", "operationId": "registerBPMRecord", "parameters": [ { "description": "Unique Key for the targeted profile", "in": "header", "name": "process-key", "required": true, "type": "string", "x-ms-summary": "Process Key", "x-ms-visibility": "important" }, { "description": "The email address of the user that is registering the record. This will typically be the user that is logged in at the time of calling the api", "in": "header", "name": "current-user", "required": true, "type": "string", "x-ms-summary": "Current User", "x-ms-visibility": "important" } ], "responses": { "200": { "description": "Register BPM Record Result", "schema": { "$ref": "#/definitions/RegisterBPMRecord" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Register BPM Record (BPM)" } }, "/keywords/getByProfileKey": { "get": { "description": "Returns Key/Value pairs of a specific Keyword profile based on the 'profile-key' provided", "operationId": "getKeywordsByProfileKey", "parameters": [ { "description": "Unique Key for the targeted profile", "in": "header", "name": "profile-key", "required": true, "type": "string", "x-ms-summary": "Profile Key", "x-ms-visibility": "important" }, { "description": "An optional parameter to sort the returned Key/Value result", "enum": [ "asc", "desc", "asc_value", "desc_value" ], "in": "header", "name": "sort", "type": "string", "x-ms-summary": "Sort", "x-ms-visibility": "advanced" }, { "default": "array", "description": "Format the output of the returned result", "enum": [ "array", "json" ], "in": "header", "name": "output-format", "required": true, "type": "string", "x-ms-summary": "Output Format", "x-ms-visibility": "internal" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "Result", "schema": { "$ref": "#/definitions/KeywordValues" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Get By Profile Key (Keywords)" } }, "/keywords/getLabelByValue": { "get": { "description": "Returns a Keyword Label based on the 'profile-key' and 'value-key' provided", "operationId": "getKeywordsLabelByValue", "parameters": [ { "description": "Unique Key for the targeted profile", "in": "header", "name": "profile-key", "required": true, "type": "string", "x-ms-summary": "Profile Key", "x-ms-visibility": "important" }, { "description": "The Value key in the Label/Value listing for the targeted profile", "in": "header", "name": "value-key", "required": true, "type": "string", "x-ms-summary": "Value Key", "x-ms-visibility": "important" }, { "default": "json", "description": "Format the output of the returned result", "enum": [ "string", "json" ], "in": "header", "name": "output-format", "required": true, "type": "string", "x-ms-summary": "Output Format", "x-ms-visibility": "internal" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "Result", "schema": { "$ref": "#/definitions/StdJSONResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Get Label By Value (Keywords)" } }, "/keywords/getProfileKeysByGroup": { "get": { "description": "Returns all Keyword profile keys based on the 'group-name' provided", "operationId": "getKeywordProfileKeysByGroup", "parameters": [ { "description": "The Group name used to group Keyword profiles", "in": "header", "name": "group-name", "required": true, "type": "string", "x-ms-summary": "Group Name", "x-ms-visibility": "important" }, { "description": "An optional parameter to sort the returned Key/Value result", "enum": [ "asc", "desc", "asc_value", "desc_value" ], "in": "header", "name": "sort", "type": "string", "x-ms-summary": "Sort", "x-ms-visibility": "advanced" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "Result", "schema": { "items": { "type": "string" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Get Profile Keys By Group (Keywords)" } }, "/keywords/getValueByLabel": { "get": { "description": "Returns a Keyword Value based on the 'profile-key' and 'label-key' provided", "operationId": "getKeywordsValueByLabel", "parameters": [ { "description": "Unique Key for the targeted profile", "in": "header", "name": "profile-key", "required": true, "type": "string", "x-ms-summary": "Profile Key", "x-ms-visibility": "important" }, { "description": "The Label key in the Label/Value listing for the targeted profile", "in": "header", "name": "label-key", "required": true, "type": "string", "x-ms-summary": "Label Key", "x-ms-visibility": "important" }, { "default": "json", "description": "Format the output of the returned result", "enum": [ "string", "json" ], "in": "header", "name": "output-format", "required": true, "type": "string", "x-ms-summary": "Output Format", "x-ms-visibility": "internal" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "Result", "schema": { "$ref": "#/definitions/StdJSONResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Get Value By Label (Keywords)" } }, "/numbering/generate": { "post": { "consumes": [ "application/json" ], "description": "Generates a unique number based on 'profile-key' provided", "operationId": "generateNumber", "parameters": [ { "description": "Unique Key for the targeted profile", "in": "header", "name": "profile-key", "required": true, "type": "string", "x-ms-summary": "Profile Key", "x-ms-visibility": "important" }, { "default": "json", "description": "Format the output of the returned result", "enum": [ "string", "json" ], "in": "header", "name": "output-format", "required": true, "type": "string", "x-ms-summary": "Output Format", "x-ms-visibility": "internal" }, { "description": "Additional Properties", "in": "body", "name": "properties", "schema": { "additionalProperties": { "type": "string" }, "type": "object" } } ], "produces": [ "application/json" ], "responses": { "200": { "description": "Result", "schema": { "$ref": "#/definitions/StdJSONResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Generate Number (Numbering)" } }, "/roles/assignRole": { "get": { "description": "Assign user specified role that is applicable to a specific record. An example of this would be a document reviewer or a leave approver", "operationId": "assignRole", "parameters": [ { "description": "Unique Key for the targeted profile", "in": "header", "name": "process-key", "required": true, "type": "string", "x-ms-summary": "Process Key", "x-ms-visibility": "important" }, { "description": "Identifies the record that the role is being set for. The id is registered by the registerBPMRecord api for new records and can be found in the recordID property of the BPM api responses", "in": "header", "name": "bpm-record-id", "required": true, "type": "string", "x-ms-summary": "BPM Record Id", "x-ms-visibility": "important" }, { "description": "The email address of the user that is setting the role. This will typically be the user that is logged in at the time of calling the api", "in": "header", "name": "current-user", "required": true, "type": "string", "x-ms-summary": "Current User", "x-ms-visibility": "important" }, { "description": "The name of the role that is being assigned. E.g Approver or Reviewer", "in": "header", "name": "role-name", "required": true, "type": "string", "x-ms-summary": "Role Name", "x-ms-visibility": "important" }, { "description": "The email addresses of the users who is assigned to this role - (separate using commas)", "in": "header", "name": "responsible-users", "required": true, "type": "string", "x-ms-summary": "Responsible Users", "x-ms-visibility": "important" } ], "responses": { "200": { "description": "Result", "schema": { "description": "data", "properties": {}, "type": "object", "x-ms-summary": "data" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Assign Role (Roles)" } }, "/roles/getAssignedRoles": { "get": { "description": "Get responsible person(s) for previously assigned role for a specific record", "operationId": "getAssignedRoles", "parameters": [ { "description": "Unique Key for the targeted profile", "in": "header", "name": "process-key", "required": true, "type": "string", "x-ms-summary": "Process Key", "x-ms-visibility": "important" }, { "description": "Identifies the record that the role is being set for. The id is registered by the registerBPMRecord api for new records and can be found in the recordID property of the BPM api responses", "in": "header", "name": "bpm-record-id", "required": true, "type": "string", "x-ms-summary": "BPM Record Id", "x-ms-visibility": "important" }, { "description": "The Role(s) to be queried (separate using commas)", "in": "header", "name": "role-names", "required": true, "type": "string", "x-ms-summary": "Role Name", "x-ms-visibility": "important" } ], "responses": { "200": { "description": "Result", "schema": { "items": { "properties": { "name": { "type": "string", "x-ms-summary": "Name" }, "users": { "items": { "properties": { "email": { "type": "string", "x-ms-summary": "Email" } }, "type": "object" }, "type": "array", "x-ms-summary": "Users" } }, "type": "object" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Get Assigned Roles (Roles)" } }, "/roles/getRole": { "post": { "description": "Get responsible person(s) that are assigned to roles in the Agilit-e admin portal. These roles are not only relevant to specific records or business processes and are more typically used for company wide roles in the organization", "operationId": "getRole", "parameters": [ { "description": "Specify the role name(s) that you want to retrieve the responsible users for - (separate using commas)", "in": "header", "name": "role-names", "required": true, "type": "string", "x-ms-summary": "Role Names", "x-ms-visibility": "important" }, { "description": "Specify additional levels that can be used to determine the correct person for the role. An example of a level might be a department name (if you want to retrieve the Department Manager), or a product name (if you want to retrieve the Product Manager) - (separate using commas)", "in": "header", "name": "conditional-levels", "type": "string", "x-ms-summary": "Conditional Levels", "x-ms-visibility": "advanced" } ], "responses": { "200": { "description": "Result", "schema": { "properties": { "responsibleUsers": { "description": "responsibleUsers", "items": { "type": "string" }, "type": "array", "x-ms-summary": "responsibleUsers" } }, "type": "object" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Get Role (Roles)" } }, "/templates/execute": { "post": { "consumes": [ "application/json" ], "description": "Processes and returns a Template from Agilit-e based on the 'profile-key' provided", "operationId": "executeTemplates", "parameters": [ { "description": "Unique Key for the targeted profile", "in": "header", "name": "profile-key", "required": true, "type": "string", "x-ms-summary": "Profile Key", "x-ms-visibility": "important" }, { "default": "json", "description": "Format the output of the returned result", "enum": [ "string", "json" ], "in": "header", "name": "output-format", "required": true, "type": "string", "x-ms-summary": "Output Format", "x-ms-visibility": "internal" }, { "description": "Additional Properties", "in": "body", "name": "properties", "schema": { "additionalProperties": { "type": "string" }, "type": "object" } } ], "produces": [ "application/json" ], "responses": { "200": { "description": "Result", "schema": { "$ref": "#/definitions/StdJSONResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/BadRequest" } } }, "summary": "Execute (Templates)" } } }, "produces": [], "responses": {}, "schemes": [ "https" ], "security": [ { "APIKeyHeader": [] } ], "securityDefinitions": { "APIKeyHeader": { "in": "header", "name": "api-key", "type": "apiKey" } }, "tags": [] }