POST Templates/SaveCriteriaGroup
Saves a new criteria group template.
Request Information
URI Parameters
None.
Body Parameters
The details of the criteria group to save, and parent entity to clone security from.
CreateCriteriaGroupTemplateDTOName | Description | Type | Additional information |
---|---|---|---|
Name |
Gets or sets the name of the template. |
string |
None. |
Description |
Gets or sets the description of the template. |
string |
None. |
Json |
Gets or sets the criteria group json to save. |
string |
None. |
AdapterDetail |
Gets or sets the adapter detail that is applicable to the template. |
QueryComposerQueryTypes |
None. |
Request Formats
application/json, text/json
{ "results": [ { "Name": "sample string 1", "Description": "sample string 2", "Json": "sample string 3", "AdapterDetail": 1 } ] }
text/javascript
{"results":[{"Name":"sample string 1","Description":"sample string 2","Json":"sample string 3","AdapterDetail":1}]}
application/bson
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
<CreateCriteriaGroupTemplateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <AdapterDetail>CenusProjections</AdapterDetail> <Description>sample string 2</Description> <Json>sample string 3</Json> <Name>sample string 1</Name> </CreateCriteriaGroupTemplateDTO>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Collection of TemplateDTOName | Description | Type | Additional information |
---|---|---|---|
Name |
Gets or Sets the Name |
string |
None. |
Description |
Gets or Sets the template description |
string |
None. |
CreatedByID |
The ID of the user that created the template |
globally unique identifier |
None. |
CreatedBy |
Username of the person that created the template |
string |
None. |
CreatedOn |
The date the template was created on |
date |
None. |
Data |
Gets or sets the Data |
string |
None. |
Type |
Gets or set the type of template: Request = 1, Criteria Group = 2 |
TemplateTypes |
None. |
Notes |
Gets or sets notes for the template. |
string |
None. |
QueryType |
Gets or sets the query subtype. |
QueryComposerQueryTypes |
None. |
ComposerInterface |
Gets or sets the query composer interface capability |
QueryComposerInterface |
None. |
Order |
Gets or sets the position of the template within the request types template collection. |
integer |
None. |
RequestTypeID |
Gets or sets the request type the template belongs to. |
globally unique identifier |
None. |
RequestType |
Gets or sets the name of the request type the template belongs to. |
string |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Response Formats
application/json, text/json
{ "results": [ { "Name": "sample string 1", "Description": "sample string 2", "CreatedByID": "b2036f2f-10bd-41d1-b726-2b5170577ce7", "CreatedBy": "sample string 3", "CreatedOn": "2024-05-13T19:21:35Z", "Data": "sample string 5", "Type": 1, "Notes": "sample string 6", "QueryType": 1, "ComposerInterface": 0, "Order": 7, "RequestTypeID": "fb33ce7b-0547-47fc-9c29-d002dbfe061a", "RequestType": "sample string 8", "ID": "b1602120-acb9-42b6-b761-4370f6e6e391", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "CreatedByID": "b2036f2f-10bd-41d1-b726-2b5170577ce7", "CreatedBy": "sample string 3", "CreatedOn": "2024-05-13T19:21:35Z", "Data": "sample string 5", "Type": 1, "Notes": "sample string 6", "QueryType": 1, "ComposerInterface": 0, "Order": 7, "RequestTypeID": "fb33ce7b-0547-47fc-9c29-d002dbfe061a", "RequestType": "sample string 8", "ID": "b1602120-acb9-42b6-b761-4370f6e6e391", "Timestamp": "QEA=" } ] }
text/javascript
{"results":[{"Name":"sample string 1","Description":"sample string 2","CreatedByID":"b2036f2f-10bd-41d1-b726-2b5170577ce7","CreatedBy":"sample string 3","CreatedOn":"2024-05-13T19:21:35Z","Data":"sample string 5","Type":1,"Notes":"sample string 6","QueryType":1,"ComposerInterface":0,"Order":7,"RequestTypeID":"fb33ce7b-0547-47fc-9c29-d002dbfe061a","RequestType":"sample string 8","ID":"b1602120-acb9-42b6-b761-4370f6e6e391","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","CreatedByID":"b2036f2f-10bd-41d1-b726-2b5170577ce7","CreatedBy":"sample string 3","CreatedOn":"2024-05-13T19:21:35Z","Data":"sample string 5","Type":1,"Notes":"sample string 6","QueryType":1,"ComposerInterface":0,"Order":7,"RequestTypeID":"fb33ce7b-0547-47fc-9c29-d002dbfe061a","RequestType":"sample string 8","ID":"b1602120-acb9-42b6-b761-4370f6e6e391","Timestamp":"QEA="}]}
application/bson
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
<ArrayOfTemplateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <TemplateDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">b1602120-acb9-42b6-b761-4370f6e6e391</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <ComposerInterface>FlexibleMenuDrivenQuery</ComposerInterface> <CreatedBy>sample string 3</CreatedBy> <CreatedByID>b2036f2f-10bd-41d1-b726-2b5170577ce7</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-13T23:21:35.1950495Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <Data>sample string 5</Data> <Description>sample string 2</Description> <Name>sample string 1</Name> <Notes>sample string 6</Notes> <Order>7</Order> <QueryType>CenusProjections</QueryType> <RequestType>sample string 8</RequestType> <RequestTypeID>fb33ce7b-0547-47fc-9c29-d002dbfe061a</RequestTypeID> <Type>Request</Type> </TemplateDTO> <TemplateDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">b1602120-acb9-42b6-b761-4370f6e6e391</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <ComposerInterface>FlexibleMenuDrivenQuery</ComposerInterface> <CreatedBy>sample string 3</CreatedBy> <CreatedByID>b2036f2f-10bd-41d1-b726-2b5170577ce7</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-13T23:21:35.1950495Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <Data>sample string 5</Data> <Description>sample string 2</Description> <Name>sample string 1</Name> <Notes>sample string 6</Notes> <Order>7</Order> <QueryType>CenusProjections</QueryType> <RequestType>sample string 8</RequestType> <RequestTypeID>fb33ce7b-0547-47fc-9c29-d002dbfe061a</RequestTypeID> <Type>Request</Type> </TemplateDTO> </ArrayOfTemplateDTO>