GET api/ApnAdminActionFlow/Approval?workflowID={workflowID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workflowID

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiResultOfActionFlowApprovalView
NameDescriptionTypeAdditional information
Response

ApiResponse

None.

Data

ActionFlowApprovalView

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "Success": true,
    "ErrorMessage": "sample string 2"
  },
  "Data": {
    "Current": {
      "WorkflowID": 1,
      "Mode": "sample string 1",
      "ParentWorkflowID": 1,
      "EntityID": 1,
      "SiteID": 1,
      "Workflow": "sample string 2",
      "ActionCode": "sample string 3",
      "Automatic": true,
      "AffectsWorkflowHistory": true,
      "ProcessAllArrangements": true,
      "DoesNotUpdateLastActionDate": true,
      "ExclusionNotAllowed": true,
      "CreateNoteWhenRunningManual": true,
      "HideInAccountView": true,
      "Active": true,
      "AccountStatusIDs": [
        1,
        2
      ],
      "ExcludedEntityIDs": [
        1,
        2
      ],
      "UserGroupIDs": [
        1,
        2
      ],
      "Steps": [
        {
          "WorkflowItemID": 1,
          "WorkflowActionID": 1,
          "WorkflowAction": "sample string 2",
          "RunAutomatically": true,
          "SQLCriteria": "sample string 4",
          "AccountStatusCriteria": [
            1,
            2
          ],
          "Values": {
            "sample string 1": null,
            "sample string 2": null
          },
          "SubItems": [
            {
              "MetaValueGroupID": 1,
              "Values": {
                "sample string 1": null,
                "sample string 2": null
              }
            },
            {
              "MetaValueGroupID": 1,
              "Values": {
                "sample string 1": null,
                "sample string 2": null
              }
            }
          ]
        },
        {
          "WorkflowItemID": 1,
          "WorkflowActionID": 1,
          "WorkflowAction": "sample string 2",
          "RunAutomatically": true,
          "SQLCriteria": "sample string 4",
          "AccountStatusCriteria": [
            1,
            2
          ],
          "Values": {
            "sample string 1": null,
            "sample string 2": null
          },
          "SubItems": [
            {
              "MetaValueGroupID": 1,
              "Values": {
                "sample string 1": null,
                "sample string 2": null
              }
            },
            {
              "MetaValueGroupID": 1,
              "Values": {
                "sample string 1": null,
                "sample string 2": null
              }
            }
          ]
        }
      ],
      "ApprovalStatusID": 1,
      "WorkflowIDSource": 1,
      "NavigationButtons": [
        {
          "sample string 1": {},
          "sample string 3": {}
        },
        {
          "sample string 1": {},
          "sample string 3": {}
        }
      ]
    },
    "Proposed": {
      "WorkflowID": 1,
      "Mode": "sample string 1",
      "ParentWorkflowID": 1,
      "EntityID": 1,
      "SiteID": 1,
      "Workflow": "sample string 2",
      "ActionCode": "sample string 3",
      "Automatic": true,
      "AffectsWorkflowHistory": true,
      "ProcessAllArrangements": true,
      "DoesNotUpdateLastActionDate": true,
      "ExclusionNotAllowed": true,
      "CreateNoteWhenRunningManual": true,
      "HideInAccountView": true,
      "Active": true,
      "AccountStatusIDs": [
        1,
        2
      ],
      "ExcludedEntityIDs": [
        1,
        2
      ],
      "UserGroupIDs": [
        1,
        2
      ],
      "Steps": [
        {
          "WorkflowItemID": 1,
          "WorkflowActionID": 1,
          "WorkflowAction": "sample string 2",
          "RunAutomatically": true,
          "SQLCriteria": "sample string 4",
          "AccountStatusCriteria": [
            1,
            2
          ],
          "Values": {
            "sample string 1": null,
            "sample string 2": null
          },
          "SubItems": [
            {
              "MetaValueGroupID": 1,
              "Values": {
                "sample string 1": null,
                "sample string 2": null
              }
            },
            {
              "MetaValueGroupID": 1,
              "Values": {
                "sample string 1": null,
                "sample string 2": null
              }
            }
          ]
        },
        {
          "WorkflowItemID": 1,
          "WorkflowActionID": 1,
          "WorkflowAction": "sample string 2",
          "RunAutomatically": true,
          "SQLCriteria": "sample string 4",
          "AccountStatusCriteria": [
            1,
            2
          ],
          "Values": {
            "sample string 1": null,
            "sample string 2": null
          },
          "SubItems": [
            {
              "MetaValueGroupID": 1,
              "Values": {
                "sample string 1": null,
                "sample string 2": null
              }
            },
            {
              "MetaValueGroupID": 1,
              "Values": {
                "sample string 1": null,
                "sample string 2": null
              }
            }
          ]
        }
      ],
      "ApprovalStatusID": 1,
      "WorkflowIDSource": 1,
      "NavigationButtons": [
        {
          "sample string 1": {},
          "sample string 3": {}
        },
        {
          "sample string 1": {},
          "sample string 3": {}
        }
      ]
    },
    "ApprovalStatusID": 1,
    "RequestedBy": "sample string 2",
    "CanApprove": true,
    "CanPublish": true,
    "CanReject": true
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.