GET Workflows/Workflow/{workflowID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workflowID

integer

Required

Body Parameters

None.

Response Information

Resource Description

WorkflowDTO
NameDescriptionTypeAdditional information
WorkflowID

integer

None.

WorkflowName

string

None.

BusinessUnits

Collection of integer

None.

Groups

Collection of integer

None.

WorkflowRules

Collection of WorkflowRuleDTO

None.

WorkflowEventType

WorkflowEventType

None.

WorkflowEventRuleType

WorkflowEventRuleType

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "workflowID": 1,
  "workflowName": "sample string 2",
  "businessUnits": [
    1,
    2
  ],
  "groups": [
    1,
    2
  ],
  "workflowRules": [
    {
      "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-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              },
              "lastUpdated": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              }
            },
            {
              "workflowRuleActionID": 1,
              "workflowRuleTriggerID": 2,
              "actionType": 1,
              "fieldType": 1,
              "value": [],
              "summary": "sample string 3",
              "recordState": 1,
              "created": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              },
              "lastUpdated": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              }
            }
          ],
          "summary": "sample string 3",
          "recordState": 1,
          "created": {
            "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
            "userName": "sample string 2",
            "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
          },
          "lastUpdated": {
            "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
            "userName": "sample string 2",
            "summary": "sample string 2 on 12/4/2024 8:02:42 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-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              },
              "lastUpdated": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              }
            },
            {
              "workflowRuleActionID": 1,
              "workflowRuleTriggerID": 2,
              "actionType": 1,
              "fieldType": 1,
              "value": [],
              "summary": "sample string 3",
              "recordState": 1,
              "created": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              },
              "lastUpdated": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              }
            }
          ],
          "summary": "sample string 3",
          "recordState": 1,
          "created": {
            "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
            "userName": "sample string 2",
            "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
          },
          "lastUpdated": {
            "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
            "userName": "sample string 2",
            "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
          }
        }
      ],
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
      }
    },
    {
      "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-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              },
              "lastUpdated": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              }
            },
            {
              "workflowRuleActionID": 1,
              "workflowRuleTriggerID": 2,
              "actionType": 1,
              "fieldType": 1,
              "value": [],
              "summary": "sample string 3",
              "recordState": 1,
              "created": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              },
              "lastUpdated": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              }
            }
          ],
          "summary": "sample string 3",
          "recordState": 1,
          "created": {
            "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
            "userName": "sample string 2",
            "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
          },
          "lastUpdated": {
            "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
            "userName": "sample string 2",
            "summary": "sample string 2 on 12/4/2024 8:02:42 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-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              },
              "lastUpdated": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              }
            },
            {
              "workflowRuleActionID": 1,
              "workflowRuleTriggerID": 2,
              "actionType": 1,
              "fieldType": 1,
              "value": [],
              "summary": "sample string 3",
              "recordState": 1,
              "created": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              },
              "lastUpdated": {
                "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
                "userName": "sample string 2",
                "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
              }
            }
          ],
          "summary": "sample string 3",
          "recordState": 1,
          "created": {
            "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
            "userName": "sample string 2",
            "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
          },
          "lastUpdated": {
            "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
            "userName": "sample string 2",
            "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
          }
        }
      ],
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
      }
    }
  ],
  "workflowEventType": 1,
  "workflowEventRuleType": 100,
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:02:42.4710838+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:02:42 AM"
  }
}

application/xml, text/xml

Sample:
<WorkflowDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <BusinessUnits xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BusinessUnits>
  <Created>
    <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <Groups xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Groups>
  <LastUpdated>
    <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <RecordState>Active</RecordState>
  <WorkflowEventRuleType>ResidentAdd</WorkflowEventRuleType>
  <WorkflowEventType>Resident</WorkflowEventType>
  <WorkflowID>1</WorkflowID>
  <WorkflowName>sample string 2</WorkflowName>
  <WorkflowRules>
    <WorkflowRuleDTO>
      <Created>
        <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <LastUpdated>
        <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <WorkflowID>2</WorkflowID>
      <WorkflowRuleID>1</WorkflowRuleID>
      <WorkflowRuleTriggers>
        <WorkflowRuleTriggerDTO>
          <Created>
            <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
            <UserName>sample string 2</UserName>
          </Created>
          <ExpressionType>Answered</ExpressionType>
          <ExpressionValue xmlns:d6p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
          <FieldType>BusinessUnit</FieldType>
          <LastUpdated>
            <DateUtc>2024-12-04T08:02:42.4710838+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-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </Created>
              <FieldType>BusinessUnit</FieldType>
              <LastUpdated>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </LastUpdated>
              <RecordState>Active</RecordState>
              <Summary>sample string 3</Summary>
              <Value xmlns:d8p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" />
              <WorkflowRuleActionID>1</WorkflowRuleActionID>
              <WorkflowRuleTriggerID>2</WorkflowRuleTriggerID>
            </WorkflowRuleActionDTO>
            <WorkflowRuleActionDTO>
              <ActionType>SetValue</ActionType>
              <Created>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </Created>
              <FieldType>BusinessUnit</FieldType>
              <LastUpdated>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </LastUpdated>
              <RecordState>Active</RecordState>
              <Summary>sample string 3</Summary>
              <Value xmlns:d8p1="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-04T08:02:42.4710838+00:00</DateUtc>
            <UserName>sample string 2</UserName>
          </Created>
          <ExpressionType>Answered</ExpressionType>
          <ExpressionValue xmlns:d6p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
          <FieldType>BusinessUnit</FieldType>
          <LastUpdated>
            <DateUtc>2024-12-04T08:02:42.4710838+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-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </Created>
              <FieldType>BusinessUnit</FieldType>
              <LastUpdated>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </LastUpdated>
              <RecordState>Active</RecordState>
              <Summary>sample string 3</Summary>
              <Value xmlns:d8p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" />
              <WorkflowRuleActionID>1</WorkflowRuleActionID>
              <WorkflowRuleTriggerID>2</WorkflowRuleTriggerID>
            </WorkflowRuleActionDTO>
            <WorkflowRuleActionDTO>
              <ActionType>SetValue</ActionType>
              <Created>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </Created>
              <FieldType>BusinessUnit</FieldType>
              <LastUpdated>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </LastUpdated>
              <RecordState>Active</RecordState>
              <Summary>sample string 3</Summary>
              <Value xmlns:d8p1="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>
    <WorkflowRuleDTO>
      <Created>
        <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <LastUpdated>
        <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <WorkflowID>2</WorkflowID>
      <WorkflowRuleID>1</WorkflowRuleID>
      <WorkflowRuleTriggers>
        <WorkflowRuleTriggerDTO>
          <Created>
            <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
            <UserName>sample string 2</UserName>
          </Created>
          <ExpressionType>Answered</ExpressionType>
          <ExpressionValue xmlns:d6p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
          <FieldType>BusinessUnit</FieldType>
          <LastUpdated>
            <DateUtc>2024-12-04T08:02:42.4710838+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-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </Created>
              <FieldType>BusinessUnit</FieldType>
              <LastUpdated>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </LastUpdated>
              <RecordState>Active</RecordState>
              <Summary>sample string 3</Summary>
              <Value xmlns:d8p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" />
              <WorkflowRuleActionID>1</WorkflowRuleActionID>
              <WorkflowRuleTriggerID>2</WorkflowRuleTriggerID>
            </WorkflowRuleActionDTO>
            <WorkflowRuleActionDTO>
              <ActionType>SetValue</ActionType>
              <Created>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </Created>
              <FieldType>BusinessUnit</FieldType>
              <LastUpdated>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </LastUpdated>
              <RecordState>Active</RecordState>
              <Summary>sample string 3</Summary>
              <Value xmlns:d8p1="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-04T08:02:42.4710838+00:00</DateUtc>
            <UserName>sample string 2</UserName>
          </Created>
          <ExpressionType>Answered</ExpressionType>
          <ExpressionValue xmlns:d6p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
          <FieldType>BusinessUnit</FieldType>
          <LastUpdated>
            <DateUtc>2024-12-04T08:02:42.4710838+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-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </Created>
              <FieldType>BusinessUnit</FieldType>
              <LastUpdated>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </LastUpdated>
              <RecordState>Active</RecordState>
              <Summary>sample string 3</Summary>
              <Value xmlns:d8p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" />
              <WorkflowRuleActionID>1</WorkflowRuleActionID>
              <WorkflowRuleTriggerID>2</WorkflowRuleTriggerID>
            </WorkflowRuleActionDTO>
            <WorkflowRuleActionDTO>
              <ActionType>SetValue</ActionType>
              <Created>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </Created>
              <FieldType>BusinessUnit</FieldType>
              <LastUpdated>
                <DateUtc>2024-12-04T08:02:42.4710838+00:00</DateUtc>
                <UserName>sample string 2</UserName>
              </LastUpdated>
              <RecordState>Active</RecordState>
              <Summary>sample string 3</Summary>
              <Value xmlns:d8p1="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>
  </WorkflowRules>
</WorkflowDTO>

application/x-compressed-json

Sample:
��V]O�0�+��2W:Iߖ�����P�#D�Җͅ���O�/X`�[b�f$޷���s�9�o�%Zg�eg��kD-��Y�E�%y�
�D��A&z.d�r)�4Rхe�'�"+�Ey(b^e�^�U�~�+�0�bX��8@hA5J�O�p�2�q�nr^G�5��,�R�Xs_�a�&��^/�V/���W,.�h�Y�E�0��<�4�g"xTL5e��z Z�@<��2��=���.v(&�&������s�1�X���b��1�԰�ԞV-��1�C[�L*/Ʊ��	�]"��O�:x����'��k<W?�x~�����$��
?x!H^��p���7+}#|������`�~��OH���