POST api/Project/UpdateSpecProjectOptions

Update the SpecProject Options based on project ID

Request Information

URI Parameters

None.

Body Parameters

P1ProjectBaseOption

P1ProjectBaseOption
NameDescriptionTypeAdditional information
ProjectId

integer

None.

EnableMultiTask

integer

None.

EnableMultiPage

integer

None.

EnableMultiWorkflow

integer

None.

WorkflowOptions

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "EnableMultiTask": 2,
  "EnableMultiPage": 3,
  "EnableMultiWorkflow": 4,
  "WorkflowOptions": 5
}

application/xml, text/xml

Sample:
<P1ProjectBaseOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
  <EnableMultiPage>3</EnableMultiPage>
  <EnableMultiTask>2</EnableMultiTask>
  <EnableMultiWorkflow>4</EnableMultiWorkflow>
  <ProjectId>1</ProjectId>
  <WorkflowOptions>5</WorkflowOptions>
</P1ProjectBaseOption>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Update the SpecProject Options based on project ID

ApiReturn
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<ApiReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</ApiReturn>