GET api/ProjectRequest/IfSupportForCreatingProject?projectId={projectId}&issueId={issueId}

Indicate whether the issue supports for creating project or not.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

issueId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Indicate whether the issue supports for creating project or not.

API_Data_IfSupportCreateProjectResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

IfSupportCreateProjectResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "IfSupport": 1,
    "SupportAutoTrigger": true,
    "Project4Created": {
      "ProjectId": 1,
      "SpaceId": 2
    }
  }
}

application/xml, text/xml

Sample:
<API_Data_IfSupportCreateProjectResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne">
    <d2p1:IfSupport>1</d2p1:IfSupport>
    <d2p1:Project4Created>
      <d2p1:ProjectId>1</d2p1:ProjectId>
      <d2p1:SpaceId>2</d2p1:SpaceId>
    </d2p1:Project4Created>
    <d2p1:SupportAutoTrigger>true</d2p1:SupportAutoTrigger>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_IfSupportCreateProjectResult>