POST api/admin/Workflow/SaveWorkflowSelectionRules
Request Information
URI Parameters
None.
Body Parameters
WorkflowSelectionRuleConfigDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
Required |
|
| ActionTakenBy | string |
Required |
|
| IPAddress | string |
Required |
|
| Rules | Collection of WorkflowSelectionRulePostDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": "sample string 1",
"ActionTakenBy": "sample string 2",
"IPAddress": "sample string 3",
"Rules": [
{
"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:
<WorkflowSelectionRuleConfigDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.CustomApplicationModels">
<ActionTakenBy>sample string 2</ActionTakenBy>
<IPAddress>sample string 3</IPAddress>
<Rules>
<WorkflowSelectionRulePostDTO>
<CategoryID>1</CategoryID>
<DistrictID>1</DistrictID>
<GradeID>1</GradeID>
<IsActive>true</IsActive>
<IsRenewal>true</IsRenewal>
<RuleID>1</RuleID>
<WorkflowID>2</WorkflowID>
</WorkflowSelectionRulePostDTO>
<WorkflowSelectionRulePostDTO>
<CategoryID>1</CategoryID>
<DistrictID>1</DistrictID>
<GradeID>1</GradeID>
<IsActive>true</IsActive>
<IsRenewal>true</IsRenewal>
<RuleID>1</RuleID>
<WorkflowID>2</WorkflowID>
</WorkflowSelectionRulePostDTO>
</Rules>
<UserID>sample string 1</UserID>
</WorkflowSelectionRuleConfigDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.Models"> <Data>sample string 3</Data> <Message>sample string 2</Message> <Success>true</Success> </ApiResponseOfstring>