GET api/admin/Workflow/GetWorkflowSelectionRulesByWorkflowId?workflowId={workflowId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workflowId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiResponseOfIEnumerableOfWorkflowSelectionRulePostDTO
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Collection of WorkflowSelectionRulePostDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": [
    {
      "RuleID": 1,
      "WorkflowID": 2,
      "CategoryID": 1,
      "GradeID": 1,
      "IsRenewal": true,
      "DistrictID": 1,
      "IsActive": true
    },
    {
      "RuleID": 1,
      "WorkflowID": 2,
      "CategoryID": 1,
      "GradeID": 1,
      "IsRenewal": true,
      "DistrictID": 1,
      "IsActive": true
    }
  ]
}

application/xml, text/xml

Sample:
<ApiResponseOfArrayOfWorkflowSelectionRulePostDTOj_Pf0XX_P4 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tourism.Entities.CustomApplicationModels">
    <d2p1:WorkflowSelectionRulePostDTO>
      <d2p1:CategoryID>1</d2p1:CategoryID>
      <d2p1:DistrictID>1</d2p1:DistrictID>
      <d2p1:GradeID>1</d2p1:GradeID>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsRenewal>true</d2p1:IsRenewal>
      <d2p1:RuleID>1</d2p1:RuleID>
      <d2p1:WorkflowID>2</d2p1:WorkflowID>
    </d2p1:WorkflowSelectionRulePostDTO>
    <d2p1:WorkflowSelectionRulePostDTO>
      <d2p1:CategoryID>1</d2p1:CategoryID>
      <d2p1:DistrictID>1</d2p1:DistrictID>
      <d2p1:GradeID>1</d2p1:GradeID>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsRenewal>true</d2p1:IsRenewal>
      <d2p1:RuleID>1</d2p1:RuleID>
      <d2p1:WorkflowID>2</d2p1:WorkflowID>
    </d2p1:WorkflowSelectionRulePostDTO>
  </Data>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ApiResponseOfArrayOfWorkflowSelectionRulePostDTOj_Pf0XX_P4>