GET Projects/GetAvailableRequestTypeForNewRequest?projectID={projectID}
Gets all the request types that are available for the given project, regardless of supported datamodel.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectID |
The project the request type is associated with. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RequestTypeDTOName | Description | Type | Additional information |
---|---|---|---|
Name |
Name |
string |
None. |
Description |
Description |
string |
None. |
Metadata |
Gets or sets the indicator to specify if request metadata is filled |
boolean |
None. |
PostProcess |
post process |
boolean |
None. |
AddFiles |
Gets or sets the indicator to specify if files are added |
boolean |
None. |
RequiresProcessing |
Gets or sets the indicator to specify if request type requires processsing |
boolean |
None. |
Notes |
Gets or sets the notes for the request type. |
string |
None. |
WorkflowID |
Gets or sets the ID of workflow |
globally unique identifier |
None. |
Workflow |
Workflow |
string |
None. |
SupportMultiQuery |
Gets or sets if the request type supportes multi-query. |
boolean |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "Name": "sample string 1", "Description": "sample string 2", "Metadata": true, "PostProcess": true, "AddFiles": true, "RequiresProcessing": true, "Notes": "sample string 7", "WorkflowID": "f07273a9-9ee8-49b8-af24-350d488a8815", "Workflow": "sample string 8", "SupportMultiQuery": true, "ID": "44e406c5-514b-461a-b0f3-7b09795d6f9b", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Description": "sample string 2", "Metadata": true, "PostProcess": true, "AddFiles": true, "RequiresProcessing": true, "Notes": "sample string 7", "WorkflowID": "f07273a9-9ee8-49b8-af24-350d488a8815", "Workflow": "sample string 8", "SupportMultiQuery": true, "ID": "44e406c5-514b-461a-b0f3-7b09795d6f9b", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"f07273a9-9ee8-49b8-af24-350d488a8815","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"44e406c5-514b-461a-b0f3-7b09795d6f9b","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"f07273a9-9ee8-49b8-af24-350d488a8815","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"44e406c5-514b-461a-b0f3-7b09795d6f9b","Timestamp":"QEA="}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfRequestTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <RequestTypeDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">44e406c5-514b-461a-b0f3-7b09795d6f9b</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>f07273a9-9ee8-49b8-af24-350d488a8815</WorkflowID> </RequestTypeDTO> <RequestTypeDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">44e406c5-514b-461a-b0f3-7b09795d6f9b</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>f07273a9-9ee8-49b8-af24-350d488a8815</WorkflowID> </RequestTypeDTO> </ArrayOfRequestTypeDTO>