iTRACS DM API
arrow_backCustomer Portalarrow_backBack
"

CPIM API

Description

Get all work action tasks for a user

Example

{
    "Request URL": "http://example.com/Services/index.php/cpim/work-action-tasks",
    "Request Method": "POST",
    "Form Data": {
    	"userId": 1
    }  
}
{
  "data": [{
    "task": {
      "id": 62,
      "assignedDate": "2014-10-08 18:03:54.535680.000Z",
      "createdDate": "2014-10-08 18:03:54.861000.000Z",
      "isViewed": false,
      "lineOfBusiness": {
        "id": null,
        "name": null
      },
      "projectedStartDate": "2014-10-08 18:03:54.876000.000Z",
      "projectedCompletionDate": "2014-10-13 18:03:54.876000.000Z",
      "statusId": "8CA70913-15E9-4135-BD85-D9DDA1A33D20",
      "teamId": 16,
      "teamName": "Assigner",
      "typeId": "82AC9B41-5229-4E23-B307-AD9BC8330DBE",
      "userId": 9,
      "userName": "jryan"
    },
    "changeRequest": {
      "id": 21,
      "master": "CR-21"
    },
    "workAction": {
      "id": 16,
      "actionId": "1A41BA2A-76EA-4869-B869-8F6710AEACC3",
      "source": {
        "id": 512872,
        "name": "Dell PowerEdge 1850"
      },
      "statusId": "DF6B2B77-FE53-4D74-891B-857C395E9961",
      "target": {
        "id": 215836,
        "name": "A1"
      },
      "typeId": "82AC9B41-5229-4E23-B307-AD9BC8330DBE"
    },
    "workProject": {
      "id": 30,
      "name": "CR-21_30",
      "targetId": 215836
    }
  }],
  "errors": [],
  "httpStatus": 200,
  "meta": null,
  "status": 200,
  "statusText": "OK"
}

Description

Get all work action change requests for a user

Example

http://example.com/Services/index.php/cpim/work-action-change-requests/1
{
  "data": [{
    "actionId": "52ACB5D0-709C-48A6-864C-4B158846D414",
    "actualCompletionDate": null,
    "actualStartDate": null,
    "assetIds": [],
    "closedDate": null,
    "description": "This defect is fixed in 5243 build.This defect is fixed in 5243 build.This defect is fixed in 5243 build.This defect is fixed in 5243 build.This defect is fixed in 5243 build.This defect is fixed in 5243 build.This defect is fixed in 5243 build.",
    "firstViewedDate": null,
    "id": 7,
    "isViewed": false,
    "lastViewedDate": null,
    "lineOfBusinessId": 3,
    "master": "Jeff",
    "name": "",
    "projectedCompletionDate": null,
    "projectedStartDate": null,
    "secondary": "Wojnar",
    "statusId": "7CD21BF1-0747-49A4-8E45-09ADEAB1C6FD",
    "submitterId": 1,
    "submittedDate": null,
    "title": "",
    "typeId": "67E853E2-A103-4AB9-BC2C-80B4083771EB",
    "workActionIds": [],
    "workProjectIds": []
  }],
  "errors": [],
  "httpStatus": 200,
  "meta": null,
  "status": 200,
  "statusText": "OK"
}