POST api/Task/QuickAssignSpec

Assign a spec to development with quick mode

Request Information

URI Parameters

None.

Body Parameters

SpecQuickAssignBinder
NameDescriptionTypeAdditional information
SpecProjectId

integer

None.

SpecItemId

integer

None.

AssignToProjectId

integer

None.

AssignToSubProjectId

integer

None.

AssignToOwnerId

integer

None.

AssignToStatusId

integer

None.

PlanedStartDate

date

None.

PlanedEndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SpecProjectId": 1,
  "SpecItemId": 2,
  "AssignToProjectId": 3,
  "AssignToSubProjectId": 4,
  "AssignToOwnerId": 1,
  "AssignToStatusId": 1,
  "PlanedStartDate": "2020-11-30 14:27:56",
  "PlanedEndDate": "2020-11-30 14:27:56"
}

application/xml, text/xml

Sample:
<SpecQuickAssignBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
  <AssignToOwnerId>1</AssignToOwnerId>
  <AssignToProjectId>3</AssignToProjectId>
  <AssignToStatusId>1</AssignToStatusId>
  <AssignToSubProjectId>4</AssignToSubProjectId>
  <PlanedEndDate>2020-11-30T14:27:56.181187-08:00</PlanedEndDate>
  <PlanedStartDate>2020-11-30T14:27:56.181187-08:00</PlanedStartDate>
  <SpecItemId>2</SpecItemId>
  <SpecProjectId>1</SpecProjectId>
</SpecQuickAssignBinder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Assign a spec to development with quick mode

API_Data_IEnumerableOfTaskIdObjectEx
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of TaskIdObjectEx

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "Id": 1,
      "Option": 2,
      "DisplayId": "sample string 3"
    },
    {
      "Id": 1,
      "Option": 2,
      "DisplayId": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfTaskIdObjectEx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data>
    <TaskIdObjectEx>
      <DisplayId>sample string 3</DisplayId>
      <Id>1</Id>
      <Option>2</Option>
    </TaskIdObjectEx>
    <TaskIdObjectEx>
      <DisplayId>sample string 3</DisplayId>
      <Id>1</Id>
      <Option>2</Option>
    </TaskIdObjectEx>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfTaskIdObjectEx>