POST api/PM/AddTasks

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
Entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProjectId": 2,
  "Priority": 3,
  "Direction": "sample string 4",
  "Description": "sample string 5",
  "Comment": "sample string 6",
  "TaskEmpId": 7,
  "EmpId": 8,
  "StartDate": "2024-11-28T12:57:51.0665448+02:00",
  "EndDate": "2024-11-28T12:57:51.0665448+02:00",
  "TaskPhaseId": 11,
  "PortalCasesId": 12,
  "CampaignId": 13,
  "IsPublished": true,
  "HoursNumber": 15.0,
  "TaskStatus": 16,
  "TaskType": 17,
  "InCT": "sample string 18"
}

application/xml, text/xml

Sample:
<VM_TaskAssigment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel">
  <CampaignId>13</CampaignId>
  <Comment>sample string 6</Comment>
  <Description>sample string 5</Description>
  <Direction>sample string 4</Direction>
  <EmpId>8</EmpId>
  <EndDate>2024-11-28T12:57:51.0665448+02:00</EndDate>
  <HoursNumber>15</HoursNumber>
  <Id>1</Id>
  <InCT>sample string 18</InCT>
  <IsPublished>true</IsPublished>
  <PortalCasesId>12</PortalCasesId>
  <Priority>3</Priority>
  <ProjectId>2</ProjectId>
  <StartDate>2024-11-28T12:57:51.0665448+02:00</StartDate>
  <TaskEmpId>7</TaskEmpId>
  <TaskPhaseId>11</TaskPhaseId>
  <TaskStatus>16</TaskStatus>
  <TaskType>17</TaskType>
</VM_TaskAssigment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VM_TaskAssigment'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Result": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
</GeneralErrors>