POST Templates/Insert
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
{ "results": [ { "Name": "sample string 1", "Description": "sample string 2", "CreatedByID": "eedf77c9-d1d0-4a1c-8325-7cdcbad7c7bf", "CreatedBy": "sample string 3", "CreatedOn": "2024-05-14T23:20:46Z", "Data": "sample string 5", "Type": 1, "Notes": "sample string 6", "QueryType": 1, "ComposerInterface": 0, "Order": 7, "RequestTypeID": "b8fe1dc8-4b1e-4c74-9450-48714c1b15ba", "RequestType": "sample string 8", "ID": "9436ae8b-ed21-472c-85ea-04d5847a8b32", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "CreatedByID": "eedf77c9-d1d0-4a1c-8325-7cdcbad7c7bf", "CreatedBy": "sample string 3", "CreatedOn": "2024-05-14T23:20:46Z", "Data": "sample string 5", "Type": 1, "Notes": "sample string 6", "QueryType": 1, "ComposerInterface": 0, "Order": 7, "RequestTypeID": "b8fe1dc8-4b1e-4c74-9450-48714c1b15ba", "RequestType": "sample string 8", "ID": "9436ae8b-ed21-472c-85ea-04d5847a8b32", "Timestamp": "QEA=" } ] }
text/javascript
{"results":[{"Name":"sample string 1","Description":"sample string 2","CreatedByID":"eedf77c9-d1d0-4a1c-8325-7cdcbad7c7bf","CreatedBy":"sample string 3","CreatedOn":"2024-05-14T23:20:46Z","Data":"sample string 5","Type":1,"Notes":"sample string 6","QueryType":1,"ComposerInterface":0,"Order":7,"RequestTypeID":"b8fe1dc8-4b1e-4c74-9450-48714c1b15ba","RequestType":"sample string 8","ID":"9436ae8b-ed21-472c-85ea-04d5847a8b32","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","CreatedByID":"eedf77c9-d1d0-4a1c-8325-7cdcbad7c7bf","CreatedBy":"sample string 3","CreatedOn":"2024-05-14T23:20:46Z","Data":"sample string 5","Type":1,"Notes":"sample string 6","QueryType":1,"ComposerInterface":0,"Order":7,"RequestTypeID":"b8fe1dc8-4b1e-4c74-9450-48714c1b15ba","RequestType":"sample string 8","ID":"9436ae8b-ed21-472c-85ea-04d5847a8b32","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">9436ae8b-ed21-472c-85ea-04d5847a8b32</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <ComposerInterface>FlexibleMenuDrivenQuery</ComposerInterface> <CreatedBy>sample string 3</CreatedBy> <CreatedByID>eedf77c9-d1d0-4a1c-8325-7cdcbad7c7bf</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T03:20:46.9288892Z</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>b8fe1dc8-4b1e-4c74-9450-48714c1b15ba</RequestTypeID> <Type>Request</Type> </TemplateDTO> <TemplateDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">9436ae8b-ed21-472c-85ea-04d5847a8b32</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <ComposerInterface>FlexibleMenuDrivenQuery</ComposerInterface> <CreatedBy>sample string 3</CreatedBy> <CreatedByID>eedf77c9-d1d0-4a1c-8325-7cdcbad7c7bf</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T03:20:46.9288892Z</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>b8fe1dc8-4b1e-4c74-9450-48714c1b15ba</RequestTypeID> <Type>Request</Type> </TemplateDTO> </ArrayOfTemplateDTO>
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": "7f00438b-2949-4ce3-9c0d-1ed1c6d9874a", "CreatedBy": "sample string 3", "CreatedOn": "2024-05-14T23:20:46Z", "Data": "sample string 5", "Type": 1, "Notes": "sample string 6", "QueryType": 1, "ComposerInterface": 0, "Order": 7, "RequestTypeID": "3c10553b-724f-4a73-b6da-e6de5afefcbd", "RequestType": "sample string 8", "ID": "41a7b078-6aa6-4144-a641-f96461d8d870", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "CreatedByID": "7f00438b-2949-4ce3-9c0d-1ed1c6d9874a", "CreatedBy": "sample string 3", "CreatedOn": "2024-05-14T23:20:46Z", "Data": "sample string 5", "Type": 1, "Notes": "sample string 6", "QueryType": 1, "ComposerInterface": 0, "Order": 7, "RequestTypeID": "3c10553b-724f-4a73-b6da-e6de5afefcbd", "RequestType": "sample string 8", "ID": "41a7b078-6aa6-4144-a641-f96461d8d870", "Timestamp": "QEA=" } ] }
text/javascript
{"results":[{"Name":"sample string 1","Description":"sample string 2","CreatedByID":"7f00438b-2949-4ce3-9c0d-1ed1c6d9874a","CreatedBy":"sample string 3","CreatedOn":"2024-05-14T23:20:46Z","Data":"sample string 5","Type":1,"Notes":"sample string 6","QueryType":1,"ComposerInterface":0,"Order":7,"RequestTypeID":"3c10553b-724f-4a73-b6da-e6de5afefcbd","RequestType":"sample string 8","ID":"41a7b078-6aa6-4144-a641-f96461d8d870","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","CreatedByID":"7f00438b-2949-4ce3-9c0d-1ed1c6d9874a","CreatedBy":"sample string 3","CreatedOn":"2024-05-14T23:20:46Z","Data":"sample string 5","Type":1,"Notes":"sample string 6","QueryType":1,"ComposerInterface":0,"Order":7,"RequestTypeID":"3c10553b-724f-4a73-b6da-e6de5afefcbd","RequestType":"sample string 8","ID":"41a7b078-6aa6-4144-a641-f96461d8d870","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">41a7b078-6aa6-4144-a641-f96461d8d870</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <ComposerInterface>FlexibleMenuDrivenQuery</ComposerInterface> <CreatedBy>sample string 3</CreatedBy> <CreatedByID>7f00438b-2949-4ce3-9c0d-1ed1c6d9874a</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T03:20:46.9988894Z</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>3c10553b-724f-4a73-b6da-e6de5afefcbd</RequestTypeID> <Type>Request</Type> </TemplateDTO> <TemplateDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">41a7b078-6aa6-4144-a641-f96461d8d870</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <ComposerInterface>FlexibleMenuDrivenQuery</ComposerInterface> <CreatedBy>sample string 3</CreatedBy> <CreatedByID>7f00438b-2949-4ce3-9c0d-1ed1c6d9874a</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T03:20:46.9988894Z</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>3c10553b-724f-4a73-b6da-e6de5afefcbd</RequestTypeID> <Type>Request</Type> </TemplateDTO> </ArrayOfTemplateDTO>