POST Api/CustomRule/AddUpdateCustomRule
Request Information
URI Parameters
None.
Body Parameters
CustomRulesModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
RuleName | string |
None. |
|
BlueprintId | integer |
None. |
|
BlueprintName | string |
None. |
|
RuleDescription | string |
None. |
|
IsActive | boolean |
None. |
|
ModifiedDate | date |
None. |
|
ConfigDateTimeFormat | string |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "RuleName": "sample string 2", "BlueprintId": 3, "BlueprintName": "sample string 4", "RuleDescription": "sample string 5", "IsActive": true, "ModifiedDate": "2025-01-08T18:45:16.6056927+00:00", "ConfigDateTimeFormat": "sample string 8", "ModifiedBy": "sample string 9", "ModifiedId": 1 }
application/xml, text/xml
Sample:
<CustomRulesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.CustomRules"> <BlueprintId>3</BlueprintId> <BlueprintName>sample string 4</BlueprintName> <ConfigDateTimeFormat>sample string 8</ConfigDateTimeFormat> <Id>1</Id> <IsActive>true</IsActive> <ModifiedBy>sample string 9</ModifiedBy> <ModifiedDate>2025-01-08T18:45:16.6056927+00:00</ModifiedDate> <ModifiedId>1</ModifiedId> <RuleDescription>sample string 5</RuleDescription> <RuleName>sample string 2</RuleName> </CustomRulesModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.