GET Workflows/Rule/{workflowRuleID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workflowRuleID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WorkflowRuleDTOName | Description | Type | Additional information |
---|---|---|---|
WorkflowRuleID | integer |
None. |
|
WorkflowID | integer |
None. |
|
WorkflowRuleTriggers | Collection of WorkflowRuleTriggerDTO |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
Response Formats
application/json, text/json
Sample:
{ "workflowRuleID": 1, "workflowID": 2, "workflowRuleTriggers": [ { "workflowRuleTriggerID": 1, "workflowRuleID": 2, "parentRuleTriggerID": 1, "fieldType": 1, "expressionType": 1, "workflowRuleActions": [ { "workflowRuleActionID": 1, "workflowRuleTriggerID": 2, "actionType": 1, "fieldType": 1, "value": [], "summary": "sample string 3", "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" } }, { "workflowRuleActionID": 1, "workflowRuleTriggerID": 2, "actionType": 1, "fieldType": 1, "value": [], "summary": "sample string 3", "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" } } ], "summary": "sample string 3", "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" } }, { "workflowRuleTriggerID": 1, "workflowRuleID": 2, "parentRuleTriggerID": 1, "fieldType": 1, "expressionType": 1, "workflowRuleActions": [ { "workflowRuleActionID": 1, "workflowRuleTriggerID": 2, "actionType": 1, "fieldType": 1, "value": [], "summary": "sample string 3", "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" } }, { "workflowRuleActionID": 1, "workflowRuleTriggerID": 2, "actionType": 1, "fieldType": 1, "value": [], "summary": "sample string 3", "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" } } ], "summary": "sample string 3", "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" } } ], "recordState": 1, "created": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:29.3903631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:29 AM" } }
application/xml, text/xml
Sample:
<WorkflowRuleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <Created> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> <WorkflowID>2</WorkflowID> <WorkflowRuleID>1</WorkflowRuleID> <WorkflowRuleTriggers> <WorkflowRuleTriggerDTO> <Created> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <ExpressionType>Answered</ExpressionType> <ExpressionValue xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" /> <FieldType>BusinessUnit</FieldType> <LastUpdated> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <ParentRuleTriggerID>1</ParentRuleTriggerID> <RecordState>Active</RecordState> <Summary>sample string 3</Summary> <WorkflowRuleActions> <WorkflowRuleActionDTO> <ActionType>SetValue</ActionType> <Created> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <FieldType>BusinessUnit</FieldType> <LastUpdated> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> <Summary>sample string 3</Summary> <Value xmlns:d6p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" /> <WorkflowRuleActionID>1</WorkflowRuleActionID> <WorkflowRuleTriggerID>2</WorkflowRuleTriggerID> </WorkflowRuleActionDTO> <WorkflowRuleActionDTO> <ActionType>SetValue</ActionType> <Created> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <FieldType>BusinessUnit</FieldType> <LastUpdated> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> <Summary>sample string 3</Summary> <Value xmlns:d6p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" /> <WorkflowRuleActionID>1</WorkflowRuleActionID> <WorkflowRuleTriggerID>2</WorkflowRuleTriggerID> </WorkflowRuleActionDTO> </WorkflowRuleActions> <WorkflowRuleID>2</WorkflowRuleID> <WorkflowRuleTriggerID>1</WorkflowRuleTriggerID> </WorkflowRuleTriggerDTO> <WorkflowRuleTriggerDTO> <Created> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <ExpressionType>Answered</ExpressionType> <ExpressionValue xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" /> <FieldType>BusinessUnit</FieldType> <LastUpdated> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <ParentRuleTriggerID>1</ParentRuleTriggerID> <RecordState>Active</RecordState> <Summary>sample string 3</Summary> <WorkflowRuleActions> <WorkflowRuleActionDTO> <ActionType>SetValue</ActionType> <Created> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <FieldType>BusinessUnit</FieldType> <LastUpdated> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> <Summary>sample string 3</Summary> <Value xmlns:d6p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" /> <WorkflowRuleActionID>1</WorkflowRuleActionID> <WorkflowRuleTriggerID>2</WorkflowRuleTriggerID> </WorkflowRuleActionDTO> <WorkflowRuleActionDTO> <ActionType>SetValue</ActionType> <Created> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <FieldType>BusinessUnit</FieldType> <LastUpdated> <DateUtc>2024-12-04T07:44:29.3903631+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> <Summary>sample string 3</Summary> <Value xmlns:d6p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" /> <WorkflowRuleActionID>1</WorkflowRuleActionID> <WorkflowRuleTriggerID>2</WorkflowRuleTriggerID> </WorkflowRuleActionDTO> </WorkflowRuleActions> <WorkflowRuleID>2</WorkflowRuleID> <WorkflowRuleTriggerID>1</WorkflowRuleTriggerID> </WorkflowRuleTriggerDTO> </WorkflowRuleTriggers> </WorkflowRuleDTO>
application/x-compressed-json
Sample:
� �T�N�0�뮸�q"P�Uba�ҩb���(���P��_��'��-D-)��ݗϹ:���o-�*�\�j��(��Ю�M9=��u�e� �y{�� �ԡ�Rci���U�k�e�Rk4&�ʮt�5M�k�����\n�됏���j\4�`���z �,j��X�� ��Ƥ�飕v�,���D�f6q�8��(�#��ZD���p�«0�`L0���^�c����T% �8o)�'6���������t�l��h�y����_xnG~ ޢ�Y�u�3�V���(%깁