GET Projects/GetDataModelsByProject?projectID={projectID}
Gets the available data models from which to pick a request type to create a new request.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DataModelWithRequestTypesDTOName | Description | Type | Additional information |
---|---|---|---|
RequestTypes |
Available Request Types |
Collection of RequestTypeDTO |
None. |
Name |
Name |
string |
None. |
Description |
Description |
string |
None. |
RequiresConfiguration |
Determines whether Data Model Requires Configuration |
boolean |
None. |
QueryComposer |
Gets or sets if the datamodel is supported by QueryComposer processor. |
boolean |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "RequestTypes": [ { "Name": "sample string 1", "Description": "sample string 2", "Metadata": true, "PostProcess": true, "AddFiles": true, "RequiresProcessing": true, "Notes": "sample string 7", "WorkflowID": "66e3ee6a-d2f7-48af-aa74-3b6938c48d15", "Workflow": "sample string 8", "SupportMultiQuery": true, "ID": "a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "Metadata": true, "PostProcess": true, "AddFiles": true, "RequiresProcessing": true, "Notes": "sample string 7", "WorkflowID": "66e3ee6a-d2f7-48af-aa74-3b6938c48d15", "Workflow": "sample string 8", "SupportMultiQuery": true, "ID": "a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25", "Timestamp": "QEA=" } ], "Name": "sample string 1", "Description": "sample string 2", "RequiresConfiguration": true, "QueryComposer": true, "ID": "e6a59ed3-ff14-479f-a396-744b6b510c9a", "Timestamp": "QEA=" }, { "RequestTypes": [ { "Name": "sample string 1", "Description": "sample string 2", "Metadata": true, "PostProcess": true, "AddFiles": true, "RequiresProcessing": true, "Notes": "sample string 7", "WorkflowID": "66e3ee6a-d2f7-48af-aa74-3b6938c48d15", "Workflow": "sample string 8", "SupportMultiQuery": true, "ID": "a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "Metadata": true, "PostProcess": true, "AddFiles": true, "RequiresProcessing": true, "Notes": "sample string 7", "WorkflowID": "66e3ee6a-d2f7-48af-aa74-3b6938c48d15", "Workflow": "sample string 8", "SupportMultiQuery": true, "ID": "a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25", "Timestamp": "QEA=" } ], "Name": "sample string 1", "Description": "sample string 2", "RequiresConfiguration": true, "QueryComposer": true, "ID": "e6a59ed3-ff14-479f-a396-744b6b510c9a", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"RequestTypes":[{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"66e3ee6a-d2f7-48af-aa74-3b6938c48d15","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"66e3ee6a-d2f7-48af-aa74-3b6938c48d15","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25","Timestamp":"QEA="}],"Name":"sample string 1","Description":"sample string 2","RequiresConfiguration":true,"QueryComposer":true,"ID":"e6a59ed3-ff14-479f-a396-744b6b510c9a","Timestamp":"QEA="},{"RequestTypes":[{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"66e3ee6a-d2f7-48af-aa74-3b6938c48d15","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"66e3ee6a-d2f7-48af-aa74-3b6938c48d15","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25","Timestamp":"QEA="}],"Name":"sample string 1","Description":"sample string 2","RequiresConfiguration":true,"QueryComposer":true,"ID":"e6a59ed3-ff14-479f-a396-744b6b510c9a","Timestamp":"QEA="}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfDataModelWithRequestTypesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <DataModelWithRequestTypesDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">e6a59ed3-ff14-479f-a396-744b6b510c9a</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Description>sample string 2</Description> <Name>sample string 1</Name> <QueryComposer>true</QueryComposer> <RequiresConfiguration>true</RequiresConfiguration> <RequestTypes> <RequestTypeDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <AddFiles>true</AddFiles> <Description>sample string 2</Description> <Metadata>true</Metadata> <Name>sample string 1</Name> <Notes>sample string 7</Notes> <PostProcess>true</PostProcess> <RequiresProcessing>true</RequiresProcessing> <SupportMultiQuery>true</SupportMultiQuery> <Workflow>sample string 8</Workflow> <WorkflowID>66e3ee6a-d2f7-48af-aa74-3b6938c48d15</WorkflowID> </RequestTypeDTO> <RequestTypeDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <AddFiles>true</AddFiles> <Description>sample string 2</Description> <Metadata>true</Metadata> <Name>sample string 1</Name> <Notes>sample string 7</Notes> <PostProcess>true</PostProcess> <RequiresProcessing>true</RequiresProcessing> <SupportMultiQuery>true</SupportMultiQuery> <Workflow>sample string 8</Workflow> <WorkflowID>66e3ee6a-d2f7-48af-aa74-3b6938c48d15</WorkflowID> </RequestTypeDTO> </RequestTypes> </DataModelWithRequestTypesDTO> <DataModelWithRequestTypesDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">e6a59ed3-ff14-479f-a396-744b6b510c9a</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Description>sample string 2</Description> <Name>sample string 1</Name> <QueryComposer>true</QueryComposer> <RequiresConfiguration>true</RequiresConfiguration> <RequestTypes> <RequestTypeDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <AddFiles>true</AddFiles> <Description>sample string 2</Description> <Metadata>true</Metadata> <Name>sample string 1</Name> <Notes>sample string 7</Notes> <PostProcess>true</PostProcess> <RequiresProcessing>true</RequiresProcessing> <SupportMultiQuery>true</SupportMultiQuery> <Workflow>sample string 8</Workflow> <WorkflowID>66e3ee6a-d2f7-48af-aa74-3b6938c48d15</WorkflowID> </RequestTypeDTO> <RequestTypeDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">a18e30e0-3f16-4e0a-a5bb-cd3cc1559e25</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <AddFiles>true</AddFiles> <Description>sample string 2</Description> <Metadata>true</Metadata> <Name>sample string 1</Name> <Notes>sample string 7</Notes> <PostProcess>true</PostProcess> <RequiresProcessing>true</RequiresProcessing> <SupportMultiQuery>true</SupportMultiQuery> <Workflow>sample string 8</Workflow> <WorkflowID>66e3ee6a-d2f7-48af-aa74-3b6938c48d15</WorkflowID> </RequestTypeDTO> </RequestTypes> </DataModelWithRequestTypesDTO> </ArrayOfDataModelWithRequestTypesDTO>