GET Projects/GetProjectRequestTypes?projectID={projectID}
Gets the available request types for the project that the user has permission to manage.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProjectRequestTypeDTOName | Description | Type | Additional information |
---|---|---|---|
ProjectID |
Gets or set the ID of project |
globally unique identifier |
None. |
RequestTypeID |
Gets or set the ID of Request type |
globally unique identifier |
None. |
RequestType |
Gets or sets the Request type |
string |
None. |
WorkflowID |
Gets or set the ID of workflow |
globally unique identifier |
None. |
Workflow |
Gets or set the workflow |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "ProjectID": "d8e837b2-17e9-4ddb-bfc6-ce3c6e7d5e30", "RequestTypeID": "f752e3d1-4187-4956-ab75-1638a8a5b33f", "RequestType": "sample string 3", "WorkflowID": "5d904e59-6a08-400c-a3de-93b0de0cfe62", "Workflow": "sample string 4" }, { "ProjectID": "d8e837b2-17e9-4ddb-bfc6-ce3c6e7d5e30", "RequestTypeID": "f752e3d1-4187-4956-ab75-1638a8a5b33f", "RequestType": "sample string 3", "WorkflowID": "5d904e59-6a08-400c-a3de-93b0de0cfe62", "Workflow": "sample string 4" } ] }
text/javascript
Sample:
{"results":[{"ProjectID":"d8e837b2-17e9-4ddb-bfc6-ce3c6e7d5e30","RequestTypeID":"f752e3d1-4187-4956-ab75-1638a8a5b33f","RequestType":"sample string 3","WorkflowID":"5d904e59-6a08-400c-a3de-93b0de0cfe62","Workflow":"sample string 4"},{"ProjectID":"d8e837b2-17e9-4ddb-bfc6-ce3c6e7d5e30","RequestTypeID":"f752e3d1-4187-4956-ab75-1638a8a5b33f","RequestType":"sample string 3","WorkflowID":"5d904e59-6a08-400c-a3de-93b0de0cfe62","Workflow":"sample string 4"}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfProjectRequestTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <ProjectRequestTypeDTO> <ProjectID>d8e837b2-17e9-4ddb-bfc6-ce3c6e7d5e30</ProjectID> <RequestType>sample string 3</RequestType> <RequestTypeID>f752e3d1-4187-4956-ab75-1638a8a5b33f</RequestTypeID> <Workflow>sample string 4</Workflow> <WorkflowID>5d904e59-6a08-400c-a3de-93b0de0cfe62</WorkflowID> </ProjectRequestTypeDTO> <ProjectRequestTypeDTO> <ProjectID>d8e837b2-17e9-4ddb-bfc6-ce3c6e7d5e30</ProjectID> <RequestType>sample string 3</RequestType> <RequestTypeID>f752e3d1-4187-4956-ab75-1638a8a5b33f</RequestTypeID> <Workflow>sample string 4</Workflow> <WorkflowID>5d904e59-6a08-400c-a3de-93b0de0cfe62</WorkflowID> </ProjectRequestTypeDTO> </ArrayOfProjectRequestTypeDTO>