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

NameDescriptionTypeAdditional information
projectID

The project the request type is associated with.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RequestTypeDTO
NameDescriptionTypeAdditional 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": "597dd22c-364e-4bfe-8cd6-168881cc6e95",
      "Workflow": "sample string 8",
      "SupportMultiQuery": true,
      "ID": "c9c10628-6edf-4b88-ada9-b6361c31b09e",
      "Timestamp": "QEA="
    },
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Metadata": true,
      "PostProcess": true,
      "AddFiles": true,
      "RequiresProcessing": true,
      "Notes": "sample string 7",
      "WorkflowID": "597dd22c-364e-4bfe-8cd6-168881cc6e95",
      "Workflow": "sample string 8",
      "SupportMultiQuery": true,
      "ID": "c9c10628-6edf-4b88-ada9-b6361c31b09e",
      "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":"597dd22c-364e-4bfe-8cd6-168881cc6e95","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"c9c10628-6edf-4b88-ada9-b6361c31b09e","Timestamp":"QEA="},{"Name":"sample string 1","Description":"sample string 2","Metadata":true,"PostProcess":true,"AddFiles":true,"RequiresProcessing":true,"Notes":"sample string 7","WorkflowID":"597dd22c-364e-4bfe-8cd6-168881cc6e95","Workflow":"sample string 8","SupportMultiQuery":true,"ID":"c9c10628-6edf-4b88-ada9-b6361c31b09e","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">c9c10628-6edf-4b88-ada9-b6361c31b09e</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>597dd22c-364e-4bfe-8cd6-168881cc6e95</WorkflowID>
  </RequestTypeDTO>
  <RequestTypeDTO>
    <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">c9c10628-6edf-4b88-ada9-b6361c31b09e</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>597dd22c-364e-4bfe-8cd6-168881cc6e95</WorkflowID>
  </RequestTypeDTO>
</ArrayOfRequestTypeDTO>