GET api/Employment/{id}/WorkflowDef
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WorkflowDef| Name | Description | Type | Additional information |
|---|---|---|---|
| ElementName | string |
None. |
|
| Items | Collection of WorkflowItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"ElementName": "sample string 1",
"Items": [
{
"Id": "sample string 1",
"Type": "StatusTrigger",
"Label": "sample string 2",
"Icon": "sample string 3",
"NextSteps": [
{
"Id": "sample string 1",
"Perform": "Auto",
"Label": "sample string 2",
"IsActive": true
},
{
"Id": "sample string 1",
"Perform": "Auto",
"Label": "sample string 2",
"IsActive": true
}
],
"IsActive": true,
"Options": {
"System.Object": {}
}
},
{
"Id": "sample string 1",
"Type": "StatusTrigger",
"Label": "sample string 2",
"Icon": "sample string 3",
"NextSteps": [
{
"Id": "sample string 1",
"Perform": "Auto",
"Label": "sample string 2",
"IsActive": true
},
{
"Id": "sample string 1",
"Perform": "Auto",
"Label": "sample string 2",
"IsActive": true
}
],
"IsActive": true,
"Options": {
"System.Object": {}
}
}
]
}
text/csv
Sample:
"sep=," Files,Draw,RecordsTotal,RecordsFiltered,TimeStamp,Data,RowNumber,_Messages,Id,ScopeId,Name,Description,JoborderCategories,Content,Style,ReferenceId,IsActive,Sort,Comment,DatePublish,DateExpires,Version,IsDeleted,History,Scope,Joborders,JoborderTemplates,ElementDisplayName,Command,Date,Status,DateExecuted,ElementName,ElementId,ResultCode,ResultData,RetryCount,RetryInterval,Items ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, System.Collections.Generic.List`1[ASTLib.Types.Common.UploadedFile],,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,1,2,3,2026-02-27 10:53:17,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, System.Object[],,,,,,1,,2,3,sample string 4,sample string 5,sample string 6,sample string 7,sample string 8,sample string 9,True,11,sample string 12,27.02.2026 11:00:45 +01:00,27.02.2026 11:00:45 +01:00,27.02.2026 11:00:45 +01:00,True,sample string 17,ASTLib.Models.Scope,System.Collections.Generic.List`1[ASTLib.Models.Joborder],System.Collections.Generic.List`1[ASTLib.Models.JoborderTemplate],,,,,,,,,,,, ,,,,,sample string 10,1,,3,4,sample string 5,,,,,sample string 12,True,14,sample string 15,27.02.2026 11:21:00 +01:00,27.02.2026 11:21:00 +01:00,27.02.2026 11:21:00 +01:00,True,sample string 20,ASTLib.Models.Scope,,,sample string 2,sample string 6,27.02.2026 11:21:00 +01:00,sample string 8,27.02.2026 11:21:00 +01:00,sample string 9,1,1,sample string 11,1,1, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,sample string 1,,,,,,ASTLib.Types.Workflow.WorkflowItem[]