POST Projects/UpdateProjectRequestTypes
Updates the available request types for the project
Request Information
URI Parameters
None.
Body Parameters
UpdateProjectRequestTypesDTOName | Description | Type | Additional information |
---|---|---|---|
ProjectID |
Gets or set the ID of project |
globally unique identifier |
None. |
RequestTypes |
Available Request types in Project |
Collection of ProjectRequestTypeDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "results": [ { "ProjectID": "869a79b0-7395-4d5f-9c98-a2d21158c746", "RequestTypes": [ { "ProjectID": "7ad99723-7985-408c-833d-320878d9c90e", "RequestTypeID": "d7d906f2-0b02-41a1-bb41-9b79622d1204", "RequestType": "sample string 3", "WorkflowID": "3600af22-ebfc-47a8-b0ac-d1e79483d5e7", "Workflow": "sample string 4" }, { "ProjectID": "7ad99723-7985-408c-833d-320878d9c90e", "RequestTypeID": "d7d906f2-0b02-41a1-bb41-9b79622d1204", "RequestType": "sample string 3", "WorkflowID": "3600af22-ebfc-47a8-b0ac-d1e79483d5e7", "Workflow": "sample string 4" } ] } ] }
text/javascript
Sample:
{"results":[{"ProjectID":"869a79b0-7395-4d5f-9c98-a2d21158c746","RequestTypes":[{"ProjectID":"7ad99723-7985-408c-833d-320878d9c90e","RequestTypeID":"d7d906f2-0b02-41a1-bb41-9b79622d1204","RequestType":"sample string 3","WorkflowID":"3600af22-ebfc-47a8-b0ac-d1e79483d5e7","Workflow":"sample string 4"},{"ProjectID":"7ad99723-7985-408c-833d-320878d9c90e","RequestTypeID":"d7d906f2-0b02-41a1-bb41-9b79622d1204","RequestType":"sample string 3","WorkflowID":"3600af22-ebfc-47a8-b0ac-d1e79483d5e7","Workflow":"sample string 4"}]}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<UpdateProjectRequestTypesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <ProjectID>869a79b0-7395-4d5f-9c98-a2d21158c746</ProjectID> <RequestTypes> <ProjectRequestTypeDTO> <ProjectID>7ad99723-7985-408c-833d-320878d9c90e</ProjectID> <RequestType>sample string 3</RequestType> <RequestTypeID>d7d906f2-0b02-41a1-bb41-9b79622d1204</RequestTypeID> <Workflow>sample string 4</Workflow> <WorkflowID>3600af22-ebfc-47a8-b0ac-d1e79483d5e7</WorkflowID> </ProjectRequestTypeDTO> <ProjectRequestTypeDTO> <ProjectID>7ad99723-7985-408c-833d-320878d9c90e</ProjectID> <RequestType>sample string 3</RequestType> <RequestTypeID>d7d906f2-0b02-41a1-bb41-9b79622d1204</RequestTypeID> <Workflow>sample string 4</Workflow> <WorkflowID>3600af22-ebfc-47a8-b0ac-d1e79483d5e7</WorkflowID> </ProjectRequestTypeDTO> </RequestTypes> </UpdateProjectRequestTypesDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |