POST api/ticket/deleterule
Deletes a rule
Request Information
URI Parameters
None.
Body Parameters
The rule to delete
RuleModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RuleId | integer |
Required |
|
| CustomerId | string |
None. |
|
| CustomerName | string |
None. |
|
| ProjectId | string |
None. |
|
| ProjectName | string |
None. |
|
| ContactId | string |
None. |
|
| ContactName | string |
None. |
|
| ContactEmail | string |
None. |
|
| InSummist | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"RuleId": 1,
"CustomerId": "sample string 2",
"CustomerName": "sample string 3",
"ProjectId": "sample string 4",
"ProjectName": "sample string 5",
"ContactId": "sample string 6",
"ContactName": "sample string 7",
"ContactEmail": "sample string 8",
"InSummist": true
}
application/xml, text/xml
Sample:
<RuleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Ticketing.DTO"> <ContactEmail>sample string 8</ContactEmail> <ContactId>sample string 6</ContactId> <ContactName>sample string 7</ContactName> <CustomerId>sample string 2</CustomerId> <CustomerName>sample string 3</CustomerName> <InSummist>true</InSummist> <ProjectId>sample string 4</ProjectId> <ProjectName>sample string 5</ProjectName> <RuleId>1</RuleId> </RuleModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Whether the action succeeded or not
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.