POST Projects/UpdateProjectRequestTypes

Updates the available request types for the project

Request Information

URI Parameters

None.

Body Parameters

UpdateProjectRequestTypesDTO
NameDescriptionTypeAdditional 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": "37b9b621-3a5e-46fc-9e9a-a47382863d02",
      "RequestTypes": [
        {
          "ProjectID": "2e995a06-a7ec-45c8-bfec-5a7caa32465b",
          "RequestTypeID": "c3702e26-cac1-4332-a536-77bb8320ccff",
          "RequestType": "sample string 3",
          "WorkflowID": "5704c1f1-0f2b-495f-9487-36e4be1e0d26",
          "Workflow": "sample string 4"
        },
        {
          "ProjectID": "2e995a06-a7ec-45c8-bfec-5a7caa32465b",
          "RequestTypeID": "c3702e26-cac1-4332-a536-77bb8320ccff",
          "RequestType": "sample string 3",
          "WorkflowID": "5704c1f1-0f2b-495f-9487-36e4be1e0d26",
          "Workflow": "sample string 4"
        }
      ]
    }
  ]
}

text/javascript

Sample:
{"results":[{"ProjectID":"37b9b621-3a5e-46fc-9e9a-a47382863d02","RequestTypes":[{"ProjectID":"2e995a06-a7ec-45c8-bfec-5a7caa32465b","RequestTypeID":"c3702e26-cac1-4332-a536-77bb8320ccff","RequestType":"sample string 3","WorkflowID":"5704c1f1-0f2b-495f-9487-36e4be1e0d26","Workflow":"sample string 4"},{"ProjectID":"2e995a06-a7ec-45c8-bfec-5a7caa32465b","RequestTypeID":"c3702e26-cac1-4332-a536-77bb8320ccff","RequestType":"sample string 3","WorkflowID":"5704c1f1-0f2b-495f-9487-36e4be1e0d26","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>37b9b621-3a5e-46fc-9e9a-a47382863d02</ProjectID>
  <RequestTypes>
    <ProjectRequestTypeDTO>
      <ProjectID>2e995a06-a7ec-45c8-bfec-5a7caa32465b</ProjectID>
      <RequestType>sample string 3</RequestType>
      <RequestTypeID>c3702e26-cac1-4332-a536-77bb8320ccff</RequestTypeID>
      <Workflow>sample string 4</Workflow>
      <WorkflowID>5704c1f1-0f2b-495f-9487-36e4be1e0d26</WorkflowID>
    </ProjectRequestTypeDTO>
    <ProjectRequestTypeDTO>
      <ProjectID>2e995a06-a7ec-45c8-bfec-5a7caa32465b</ProjectID>
      <RequestType>sample string 3</RequestType>
      <RequestTypeID>c3702e26-cac1-4332-a536-77bb8320ccff</RequestTypeID>
      <Workflow>sample string 4</Workflow>
      <WorkflowID>5704c1f1-0f2b-495f-9487-36e4be1e0d26</WorkflowID>
    </ProjectRequestTypeDTO>
  </RequestTypes>
</UpdateProjectRequestTypesDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.