POST api/support/v1/AddContentRule
Nueva regla de contenido
Request Information
URI Parameters
None.
Body Parameters
ContentRuleModelName | Description | Type | Additional information |
---|---|---|---|
ContentRuleId | integer |
None. |
|
Name | string |
None. |
|
FlowId | integer |
None. |
|
Flow | string |
None. |
|
TopicId | integer |
None. |
|
Topic | string |
None. |
|
PriorityId | integer |
None. |
|
Priority | string |
None. |
|
ExpirationDate | date |
None. |
|
HtmlContent | string |
None. |
|
IsForAllClients | boolean |
None. |
|
IsForSpecificClients | boolean |
None. |
|
GroupId | integer |
None. |
|
Group | string |
None. |
|
SubGroupId | integer |
None. |
|
SubGroup | string |
None. |
|
OperationTypeId | integer |
None. |
|
OperationType | string |
None. |
|
TaxIds | string |
None. |
|
IsActive | boolean |
None. |
|
UserId | integer |
None. |
|
UserName | string |
None. |
|
CreationDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContentRuleId": 1, "Name": "sample string 2", "FlowId": 3, "Flow": "sample string 4", "TopicId": 1, "Topic": "sample string 5", "PriorityId": 1, "Priority": "sample string 6", "ExpirationDate": "2025-01-06T06:16:30.5100847-06:00", "HtmlContent": "sample string 7", "IsForAllClients": true, "IsForSpecificClients": true, "GroupId": 1, "Group": "sample string 10", "SubGroupId": 1, "SubGroup": "sample string 11", "OperationTypeId": 1, "OperationType": "sample string 12", "TaxIds": "sample string 13", "IsActive": true, "UserId": 15, "UserName": "sample string 16", "CreationDate": "2025-01-06T06:16:30.5100847-06:00" }
application/xml, text/xml
Sample:
<ContentRuleModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ContentRuleId>1</ContentRuleId> <Name>sample string 2</Name> <FlowId>3</FlowId> <Flow>sample string 4</Flow> <TopicId>1</TopicId> <Topic>sample string 5</Topic> <PriorityId>1</PriorityId> <Priority>sample string 6</Priority> <ExpirationDate>2025-01-06T06:16:30.5100847-06:00</ExpirationDate> <HtmlContent>sample string 7</HtmlContent> <IsForAllClients>true</IsForAllClients> <IsForSpecificClients>true</IsForSpecificClients> <GroupId>1</GroupId> <Group>sample string 10</Group> <SubGroupId>1</SubGroupId> <SubGroup>sample string 11</SubGroup> <OperationTypeId>1</OperationTypeId> <OperationType>sample string 12</OperationType> <TaxIds>sample string 13</TaxIds> <IsActive>true</IsActive> <UserId>15</UserId> <UserName>sample string 16</UserName> <CreationDate>2025-01-06T06:16:30.5100847-06:00</CreationDate> </ContentRuleModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelApiOfBooleanName | Description | Type | Additional information |
---|---|---|---|
success |
Indica si la solicitud se procesó de manera satisfactoria |
boolean |
None. |
message |
Mensaje de la solicitud |
string |
None. |
messageDetail |
Lista de mensajes |
Collection of string |
None. |
failureCode |
Código de error en caso de existir |
string |
None. |
data |
Layout de respuesta de la solicitud |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "message": "sample string 2", "messageDetail": [ "sample string 1", "sample string 2" ], "failureCode": "sample string 3", "data": true }
application/xml, text/xml
Sample:
<ResponseModelApiOfBoolean xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <success>true</success> <message>sample string 2</message> <messageDetail> <string>sample string 1</string> <string>sample string 2</string> </messageDetail> <failureCode>sample string 3</failureCode> <data>true</data> </ResponseModelApiOfBoolean>