Endpoint
/api/v2/tenants/{tenantId}/changeRequests/{changeRequestId}

Gets the details of a change request.

Path Parameters
tenantId
string

changeRequestId
string

Responses

OK

alertIds
array

allowedStatus
array

allowedStatus.id
allowedStatus.name
allowedStatus.reasonsDefined
allowedStatus.reasonsEnabled
assignedUser
object

assignedUser.email
assignedUser.firstName
assignedUser.id
assignedUser.lastName
assignedUser.loginName
assignedUser.phoneNumber
assigneeGroup
object

assigneeGroup.description
assigneeGroup.id
assigneeGroup.name
assigneeGroup.userCount
attachedArticles
array

attachedArticles.id
attachedArticles.subject
attachments
array

Attach files related to the change request. Convert attachment files to byte stream with base64-encoding. The file size limit of an attachment is 50 MB.

attachments.file
attachments.name
category
object

Add the change request under a category. Use the get API to get the list of categories.

category.id
cc
string

Cc email.

changePlan
string

Description of the change plan.

changeType
string

Normal or Emergency depending on the Priority of a change request. For example, create a change type Emergency for change requests that must be processed immediately or if Priority of a request is High.

channelId
string

client
object

client.activated
client.createdTime
client.id
client.name
client.uniqueId
client.updatedTime
createdDate
string

createdUser
object

createdUser.email
createdUser.firstName
createdUser.id
createdUser.lastName
createdUser.loginName
createdUser.phoneNumber
customFields
array

customFields.classCode
customFields.customField
customFields.defaultValue
customFields.description
customFields.displayLabel
customFields.editable
customFields.fieldType
customFields.id
customFields.mandatory
customFields.name
customFields.options
customFields.selectedOption
customFields.value
description
string

Ticket description.

extTicketId
string

Attach third party ticket ID.

id
string

knowledgeArticleIds
array

Attach knowledge base articles related to the change request for further reference. To get a knowledge base article ID: 1. Log into OpsRamp. 2. Click Knowledge Base. 3. Select the required article and then copy the article ID. 4. Provide the article ID in "knowledgeArticleIds" field. Example: "knowledgeArticleIds": 25, 16.

location
string

oldPriority
string

oldStatus
string

plannedEnd
string

plannedStart
string

priority
string

Ticket priority with supported priority values: Low, Normal, High, Urgent, and Very Low.

priorityUpdatedBy
object

priorityUpdatedBy.email
priorityUpdatedBy.firstName
priorityUpdatedBy.id
priorityUpdatedBy.lastName
priorityUpdatedBy.loginName
priorityUpdatedBy.phoneNumber
priorityUpdatedDate
string

requester
object

requester.email
requester.firstName
requester.id
requester.lastName
requester.loginName
requester.phoneNumber
resources
array

resources.aliasName
resources.hostName
resources.id
resources.metaData
resources.name
resources.resourceName
resources.resourceType
resources.type
rollbackPlan
string

Description of roll back plan.

slaDetails
object

slaDetails.resolutionBreach
slaDetails.resolutionBreachDate
slaDetails.resolutionTime
slaDetails.responseBreach
slaDetails.responseBreachDate
slaDetails.responseTime
slaDetails.slaPolicy
source
string

statusFlow
array

statusFlow.createdDate
statusFlow.notes
statusFlow.reason
statusFlow.status
statusFlow.timeSpent
statusFlow.updatedBy
statusUpdatedBy
object

statusUpdatedBy.email
statusUpdatedBy.firstName
statusUpdatedBy.id
statusUpdatedBy.lastName
statusUpdatedBy.loginName
statusUpdatedBy.phoneNumber
statusUpdatedDate
string

subCategory
object

Add the change request under a sub-category. Use get categories to get the list of sub-categories.

subCategory.id
subject
string

Ticket subject.

tags
string

testPlan
string

Description of test plan.

ticketArisedTime
string

updatedDate
string

workEnd
string

workStart
string

{
  "alertIds": [],
  "allowedStatus": [
    {
      "id": "1",
      "name": "New",
      "reasonsDefined": false,
      "reasonsEnabled": false
    },
    {
      "id": "2",
      "name": "Open",
      "reasonsDefined": true,
      "reasonsEnabled": true
    },
    {
      "id": "3",
      "name": "Pending",
      "reasonsDefined": true,
      "reasonsEnabled": true
    },
    {
      "id": "4",
      "name": "Resolved",
      "reasonsDefined": true,
      "reasonsEnabled": true
    },
    {
      "id": "5",
      "name": "Closed",
      "reasonsDefined": true,
      "reasonsEnabled": true
    }
  ],
  "approvalState": "APPROVED",
  "assignedUser": {
    "email": "brocadeLab@gmail.com",
    "firstName": "Brocade",
    "id": "USR0000000014",
    "lastName": "Lab",
    "loginName": "brocadeLab@organization.com"
  },
  "assigneeGroup": {
    "description": "All Brocade Lab Users group",
    "id": 7,
    "name": "Brocade Lab Users"
  },
  "attachedArticles": [
    {
      "id": 24,
      "subject": "VPN Settings"
    },
    {
      "id": 15,
      "subject": "Best Practises in VPN Use and Data Security"
    }
  ],
  "category": {
    "id": 6,
    "name": "Request Level"
  },
  "cc": "brocade@gmail.com, escalationmails@gmail.com",
  "changePlan": "Alert - 151 ",
  "changeType": "Emergency",
  "client": {
    "activated": true,
    "id": 8,
    "name": "Brocade Lab",
    "uniqueId": "client_8"
  },
  "createdDate": "2016-07-26T14:47:43+0000",
  "createdUser": {
    "email": "john.smith@gmail.com",
    "firstName": "John",
    "lastName": "Smith",
    "loginName": "john.smith"
  },
  "customFields": [
    {
      "classCode": "CHANGE",
      "defaultValue": "",
      "description": "all partners",
      "displayLabel": "text field",
      "editable": true,
      "fieldType": "TYPE_TEXT",
      "id": "UDF0000003808",
      "mandatory": false,
      "name": "text_field_3808",
      "value": "available"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "",
      "description": "Testing numeric",
      "displayLabel": "numeric",
      "editable": true,
      "fieldType": "TYPE_NUMBER",
      "id": "UDF0000003810",
      "mandatory": false,
      "name": "numeric_3810",
      "value": "120"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "",
      "description": "Test case",
      "displayLabel": "drop-down-api-lab",
      "editable": true,
      "fieldType": "TYPE_DROPDOWN",
      "id": "UDF0000003790",
      "mandatory": false,
      "name": "drop_down_api_lab_3790",
      "options": [
        {
          "label": "first",
          "value": "1"
        },
        {
          "label": "second",
          "value": "2"
        }
      ],
      "selectedOption": {
        "label": "first",
        "value": "1"
      },
      "value": "1"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "Test Text",
      "description": "Test case for text field",
      "displayLabel": "text-api-lab",
      "editable": true,
      "fieldType": "TYPE_TEXT",
      "id": "UDF0000003791",
      "mandatory": false,
      "name": "text_api_lab_3791",
      "value": "request custom field - text-updated"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "multi \nline \ntext",
      "description": "test case for multi line text",
      "displayLabel": "multi line text-api-lab",
      "editable": true,
      "fieldType": "TYPE_TEXTAREA",
      "id": "UDF0000003792",
      "mandatory": false,
      "name": "multi_line_text_api_lab_3792",
      "value": "text"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "1",
      "description": "numeric test case",
      "displayLabel": "Numeric-api-lab",
      "editable": true,
      "fieldType": "TYPE_NUMBER",
      "id": "UDF0000003793",
      "mandatory": false,
      "name": "numeric_api_lab_3793",
      "value": "1"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "0",
      "description": "test case for check box",
      "displayLabel": "checkbox-api-lab",
      "editable": true,
      "fieldType": "TYPE_CHECKBOX",
      "id": "UDF0000003794",
      "mandatory": false,
      "name": "checkbox_api_lab_3794",
      "options": [
        {
          "label": "yes",
          "value": "1"
        }
      ],
      "selectedOption": {
        "label": "yes",
        "value": "1"
      },
      "value": "1"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "2016-02-26T00:00:00+0000",
      "description": "Test case for date field",
      "displayLabel": "Date-ap-lab",
      "editable": true,
      "fieldType": "TYPE_DATE",
      "id": "UDF0000003795",
      "mandatory": false,
      "name": "date_ap_lab_3795",
      "value": "2016-02-26T00:00:00+0000"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "2016-02-26T12:13:00+0000",
      "description": "Test case for Date and time",
      "displayLabel": "dateTime-api-lab",
      "editable": true,
      "fieldType": "TYPE_DATETIME",
      "id": "UDF0000003796",
      "mandatory": false,
      "name": "datetime_api_lab_3796",
      "value": "2016-02-26T12:13:00+0000"
    }
  ],
  "description": "I am unable to login into my VPN account",
  "extTicketId": "BM023456",
  "id": "CHG0000001111",
  "knowledgeArticleIds": [
    24,
    15
  ],
  "oldPriority": "Low",
  "oldStatus": "New",
  "plannedEnd": "2016-08-20T07:45:59+0000",
  "plannedStart": "2016-08-12T18:45:00+0000",
  "priority": "Normal",
  "priorityUpdatedBy": {
    "email": "escalationmails@gmail.com",
    "firstName": "admin",
    "lastName": "Admin",
    "loginName": "superadmin"
  },
  "priorityUpdatedDate": "2016-08-12T06:45:31+0000",
  "reOpenCount": 1,
  "reason": "CR Onhold",
  "requester": {
    "email": "john.smith@gmail.com",
    "firstName": "John",
    "lastName": "Smith",
    "loginName": "john.mith"
  },
  "resources": [
    {
      "aliasName": "",
      "hostName": "",
      "id": "481af404-33a6-4d61-af77-c483ca6641fa",
      "name": "VTHLPT1000",
      "resourceName": "VTHLPT1000",
      "resourceType": "DEVICE",
      "type": "DEVICE"
    },
    {
      "aliasName": "",
      "hostName": "",
      "id": "SGP-7adf3762-f310-4c14-9ecd-443eb7c6c208",
      "name": "VTH-SERVICES",
      "resourceName": "VTH-SERVICES",
      "resourceType": "SERVICE",
      "type": "SERVICE"
    },
    {
      "aliasName": "",
      "hostName": "",
      "id": "DGP-8d44a504-fd4b-4a78-ba34-2dfdf3ffb85e",
      "name": "VTH-ADMIN-DEVS",
      "resourceName": "VTH-ADMIN-DEVS",
      "resourceType": "DEVICE_GROUP",
      "type": "DEVICE_GROUP"
    }
  ],
  "rollbackPlan": "Proceed with new function",
  "slaDetails": {
    "resolutionBreach": false,
    "resolutionBreachDate": "",
    "resolutionTime": 1440069,
    "responseBreach": false,
    "responseBreachDate": "",
    "responseTime": 1439978
  },
  "source": "INTEGRATION",
  "status": "Open",
  "statusFlow": [
    {
      "createdDate": "2016-07-25T12:42:19+0000",
      "status": "New",
      "timeSpent": 1492634,
      "updatedBy": {
        "email": "john.smith@gmail.com",
        "firstName": "John",
        "lastName": "Smith",
        "loginName": "john.smith "
      }
    },
    {
      "createdDate": "2016-08-11T19:19:33+0000",
      "notes": "resolution summary",
      "reason": "Resolving as fixed",
      "status": "Resolved",
      "timeSpent": 18,
      "updatedBy": {
        "email": "john@gmail.com",
        "firstName": "john",
        "lastName": "smith",
        "loginName": "john.smith"
      }
    },
    {
      "createdDate": "2016-11-22T10:04:31+0000",
      "reason": "Waiting for customer inputs",
      "status": "Pending",
      "timeSpent": 13,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin"
      }
    },
    {
      "createdDate": "2016-11-22T10:04:44+0000",
      "reason": "Required information is not available, making as on hold",
      "status": "On Hold",
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin"
      }
    }
  ],
  "statusUpdatedBy": {
    "email": "escalationmails@gmail.com",
    "firstName": "admin",
    "lastName": "Admin",
    "loginName": "superadmin"
  },
  "statusUpdatedDate": "2016-08-12T07:13:11+0000",
  "subCategory": {
    "id": 9,
    "name": "Medium"
  },
  "subject": "Request to change my VPN Password",
  "suspendEndDate": "2016-08-12T13:13:00+0000",
  "testPlan": " $alert.device.hostName ",
  "ticketArisedTime": "",
  "updatedDate": "2016-08-12T07:13:11+0000",
  "workEnd": "2016-08-19T02:51:59+0000",
  "workStart": "2016-08-15T18:45:00+0000"
}
Endpoint
/api/v2/tenants/{tenantId}/changeRequests/{changeRequestId}

Updates a change request.

Path Parameters
tenantId
string

changeRequestId
string

alertIds
array

allowedStatus
array

allowedStatus.id
allowedStatus.name
allowedStatus.reasonsDefined
allowedStatus.reasonsEnabled
assignedUser
object

assignedUser.email
assignedUser.firstName
assignedUser.id
assignedUser.lastName
assignedUser.loginName
assignedUser.phoneNumber
assigneeGroup
object

assigneeGroup.description
assigneeGroup.id
assigneeGroup.name
assigneeGroup.userCount
attachedArticles
array

attachedArticles.id
attachedArticles.subject
attachments
array

Attach files related to the change request. Convert attachment files to byte stream with base64-encoding. The file size limit of an attachment is 50 MB.

attachments.file
attachments.name
category
object

Add the change request under a category. Use the get API to get the list of categories.

category.id
cc
string

Cc email.

changePlan
string

Description of the change plan.

changeType
string

Normal or Emergency depending on the Priority of a change request. For example, create a change type Emergency for change requests that must be processed immediately or if Priority of a request is High.

channelId
string

client
object

client.activated
client.createdTime
client.id
client.name
client.uniqueId
client.updatedTime
createdDate
string

createdUser
object

createdUser.email
createdUser.firstName
createdUser.id
createdUser.lastName
createdUser.loginName
createdUser.phoneNumber
customFields
array

customFields.classCode
customFields.customField
customFields.defaultValue
customFields.description
customFields.displayLabel
customFields.editable
customFields.fieldType
customFields.id
customFields.mandatory
customFields.name
customFields.options
customFields.selectedOption
customFields.value
description
string

Ticket description.

extTicketId
string

Attach third party ticket ID.

id
string

knowledgeArticleIds
array

Attach knowledge base articles related to the change request for further reference. To get a knowledge base article ID: 1. Log into OpsRamp. 2. Click Knowledge Base. 3. Select the required article and then copy the article ID. 4. Provide the article ID in "knowledgeArticleIds" field. Example: "knowledgeArticleIds": 25, 16.

location
string

oldPriority
string

oldStatus
string

plannedEnd
string

plannedStart
string

priority
string

Ticket priority with supported priority values: Low, Normal, High, Urgent, and Very Low.

priorityUpdatedBy
object

priorityUpdatedBy.email
priorityUpdatedBy.firstName
priorityUpdatedBy.id
priorityUpdatedBy.lastName
priorityUpdatedBy.loginName
priorityUpdatedBy.phoneNumber
priorityUpdatedDate
string

requester
object

requester.email
requester.firstName
requester.id
requester.lastName
requester.loginName
requester.phoneNumber
resources
array

resources.aliasName
resources.hostName
resources.id
resources.metaData
resources.name
resources.resourceName
resources.resourceType
resources.type
rollbackPlan
string

Description of roll back plan.

slaDetails
object

slaDetails.resolutionBreach
slaDetails.resolutionBreachDate
slaDetails.resolutionTime
slaDetails.responseBreach
slaDetails.responseBreachDate
slaDetails.responseTime
slaDetails.slaPolicy
source
string

statusFlow
array

statusFlow.createdDate
statusFlow.notes
statusFlow.reason
statusFlow.status
statusFlow.timeSpent
statusFlow.updatedBy
statusUpdatedBy
object

statusUpdatedBy.email
statusUpdatedBy.firstName
statusUpdatedBy.id
statusUpdatedBy.lastName
statusUpdatedBy.loginName
statusUpdatedBy.phoneNumber
statusUpdatedDate
string

subCategory
object

Add the change request under a sub-category. Use get categories to get the list of sub-categories.

subCategory.id
subject
string

Ticket subject.

tags
string

testPlan
string

Description of test plan.

ticketArisedTime
string

updatedDate
string

workEnd
string

workStart
string

{
  "assignedUser": {
    "id": "USR0000002147",
    "loginName": "James.Hudson"
  },
  "assigneeGroup": {
    "name": "Network Administrators"
  },
  "category": {
    "id": 16
  },
  "cc": "tech.admins@myorganization.com,devgroup@myorgnization.com",
  "changePlan": "na",
  "changeType": "Normal",
  "customFields": [
    {
      "id": "UDF0000003790",
      "name": "Source",
      "value": "1"
    },
    {
      "id": "UDF0000003791",
      "name": "text_api_lab_3791",
      "value": "request custom field - text-updated"
    }
  ],
  "description": "na",
  "knowledgeArticleIds": [
    24,
    15
  ],
  "location": "North-West",
  "notes": "Request is extended, so need to work on the request.",
  "plannedEnd": "2016-05-30T00:00:00+0000",
  "plannedStart": "2016-05-01T00:00:00+0000",
  "priority": "Normal",
  "reason": "Reason to open ticket",
  "requester": {
    "id": "USR0000002146",
    "loginName": "Annie.Bolt"
  },
  "resources": [
    {
      "id": "481af404-33a6-4d61-af77-c483ca6641fa"
    },
    {
      "id": "SGP-7adf3762-f310-4c14-9ecd-443eb7c6c208"
    },
    {
      "id": "DGP-8d44a504-fd4b-4a78-ba34-2dfdf3ffb85e"
    }
  ],
  "response": {
    "attachments": [
      {
        "file": "U2FtcGxlIFRleHQgZmlsZS0gdGVzdGluZyB3aXRoIGF0dGFjaG1lbnQ=",
        "name": "Network devices on sj site.txt"
      },
      {
        "file": "U2FtcGxlIFRleHQgZmlsZS0gdGVzdGluZyB3aXRoIGF0dGFjaG1lbnQ=",
        "name": "sj servers.txt"
      }
    ],
    "creator": {
      "id": "USR0000002146",
      "loginName": "James.Hudson"
    },
    "description": "Adding Attachments to Change Request",
    "internal": "false",
    "tags": "Device, Change"
  },
  "rollbackPlan": "na",
  "status": "Open",
  "subCategory": {
    "id": 17
  },
  "subject": "Request to change my VPN Password",
  "tags": "device, network, updated",
  "testPlan": "na",
  "workEnd": "2016-05-20T00:00:00+0000",
  "workStart": "2016-05-10T00:00:00+0000"
}

Responses

OK

alertIds
array

allowedStatus
array

allowedStatus.id
allowedStatus.name
allowedStatus.reasonsDefined
allowedStatus.reasonsEnabled
assignedUser
object

assignedUser.email
assignedUser.firstName
assignedUser.id
assignedUser.lastName
assignedUser.loginName
assignedUser.phoneNumber
assigneeGroup
object

assigneeGroup.description
assigneeGroup.id
assigneeGroup.name
assigneeGroup.userCount
attachedArticles
array

attachedArticles.id
attachedArticles.subject
attachments
array

Attach files related to the change request. Convert attachment files to byte stream with base64-encoding. The file size limit of an attachment is 50 MB.

attachments.file
attachments.name
category
object

Add the change request under a category. Use the get API to get the list of categories.

category.id
cc
string

Cc email.

changePlan
string

Description of the change plan.

changeType
string

Normal or Emergency depending on the Priority of a change request. For example, create a change type Emergency for change requests that must be processed immediately or if Priority of a request is High.

channelId
string

client
object

client.activated
client.createdTime
client.id
client.name
client.uniqueId
client.updatedTime
createdDate
string

createdUser
object

createdUser.email
createdUser.firstName
createdUser.id
createdUser.lastName
createdUser.loginName
createdUser.phoneNumber
customFields
array

customFields.classCode
customFields.customField
customFields.defaultValue
customFields.description
customFields.displayLabel
customFields.editable
customFields.fieldType
customFields.id
customFields.mandatory
customFields.name
customFields.options
customFields.selectedOption
customFields.value
description
string

Ticket description.

extTicketId
string

Attach third party ticket ID.

id
string

knowledgeArticleIds
array

Attach knowledge base articles related to the change request for further reference. To get a knowledge base article ID: 1. Log into OpsRamp. 2. Click Knowledge Base. 3. Select the required article and then copy the article ID. 4. Provide the article ID in "knowledgeArticleIds" field. Example: "knowledgeArticleIds": 25, 16.

location
string

oldPriority
string

oldStatus
string

plannedEnd
string

plannedStart
string

priority
string

Ticket priority with supported priority values: Low, Normal, High, Urgent, and Very Low.

priorityUpdatedBy
object

priorityUpdatedBy.email
priorityUpdatedBy.firstName
priorityUpdatedBy.id
priorityUpdatedBy.lastName
priorityUpdatedBy.loginName
priorityUpdatedBy.phoneNumber
priorityUpdatedDate
string

requester
object

requester.email
requester.firstName
requester.id
requester.lastName
requester.loginName
requester.phoneNumber
resources
array

resources.aliasName
resources.hostName
resources.id
resources.metaData
resources.name
resources.resourceName
resources.resourceType
resources.type
rollbackPlan
string

Description of roll back plan.

slaDetails
object

slaDetails.resolutionBreach
slaDetails.resolutionBreachDate
slaDetails.resolutionTime
slaDetails.responseBreach
slaDetails.responseBreachDate
slaDetails.responseTime
slaDetails.slaPolicy
source
string

statusFlow
array

statusFlow.createdDate
statusFlow.notes
statusFlow.reason
statusFlow.status
statusFlow.timeSpent
statusFlow.updatedBy
statusUpdatedBy
object

statusUpdatedBy.email
statusUpdatedBy.firstName
statusUpdatedBy.id
statusUpdatedBy.lastName
statusUpdatedBy.loginName
statusUpdatedBy.phoneNumber
statusUpdatedDate
string

subCategory
object

Add the change request under a sub-category. Use get categories to get the list of sub-categories.

subCategory.id
subject
string

Ticket subject.

tags
string

testPlan
string

Description of test plan.

ticketArisedTime
string

updatedDate
string

workEnd
string

workStart
string

{
  "alertIds": [],
  "allowedStatus": [
    {
      "id": "1",
      "name": "New",
      "reasonsDefined": false,
      "reasonsEnabled": false
    },
    {
      "id": "2",
      "name": "Open",
      "reasonsDefined": true,
      "reasonsEnabled": true
    },
    {
      "id": "3",
      "name": "Pending",
      "reasonsDefined": true,
      "reasonsEnabled": true
    },
    {
      "id": "4",
      "name": "Resolved",
      "reasonsDefined": true,
      "reasonsEnabled": true
    },
    {
      "id": "5",
      "name": "Closed",
      "reasonsDefined": true,
      "reasonsEnabled": true
    }
  ],
  "approvalState": "APPROVED",
  "assignedUser": {
    "email": "brocadeLab@gmail.com",
    "firstName": "Brocade",
    "id": "USR0000000014",
    "lastName": "Lab",
    "loginName": "brocadeLab@organization.com"
  },
  "assigneeGroup": {
    "description": "All Brocade Lab Users group",
    "id": 7,
    "name": "Brocade Lab Users"
  },
  "attachedArticles": [
    {
      "id": 24,
      "subject": "VPN Settings"
    },
    {
      "id": 15,
      "subject": "Best Practises in VPN Use and Data Security"
    }
  ],
  "category": {
    "id": 6,
    "name": "Request Level"
  },
  "cc": "brocade@gmail.com, escalationmails@gmail.com",
  "changePlan": "Alert - 151 ",
  "changeType": "Emergency",
  "client": {
    "activated": true,
    "id": 8,
    "name": "Brocade Lab",
    "uniqueId": "client_8"
  },
  "createdDate": "2016-07-26T14:47:43+0000",
  "createdUser": {
    "email": "john.smith@gmail.com",
    "firstName": "John",
    "lastName": "Smith",
    "loginName": "john.smith"
  },
  "customFields": [
    {
      "classCode": "CHANGE",
      "defaultValue": "",
      "description": "all partners",
      "displayLabel": "text field",
      "editable": true,
      "fieldType": "TYPE_TEXT",
      "id": "UDF0000003808",
      "mandatory": false,
      "name": "text_field_3808",
      "value": "available"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "",
      "description": "Testing numeric",
      "displayLabel": "numeric",
      "editable": true,
      "fieldType": "TYPE_NUMBER",
      "id": "UDF0000003810",
      "mandatory": false,
      "name": "numeric_3810",
      "value": "120"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "",
      "description": "Test case",
      "displayLabel": "drop-down-api-lab",
      "editable": true,
      "fieldType": "TYPE_DROPDOWN",
      "id": "UDF0000003790",
      "mandatory": false,
      "name": "drop_down_api_lab_3790",
      "options": [
        {
          "label": "first",
          "value": "1"
        },
        {
          "label": "second",
          "value": "2"
        }
      ],
      "selectedOption": {
        "label": "first",
        "value": "1"
      },
      "value": "1"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "Test Text",
      "description": "Test case for text field",
      "displayLabel": "text-api-lab",
      "editable": true,
      "fieldType": "TYPE_TEXT",
      "id": "UDF0000003791",
      "mandatory": false,
      "name": "text_api_lab_3791",
      "value": "request custom field - text-updated"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "multi \nline \ntext",
      "description": "test case for multi line text",
      "displayLabel": "multi line text-api-lab",
      "editable": true,
      "fieldType": "TYPE_TEXTAREA",
      "id": "UDF0000003792",
      "mandatory": false,
      "name": "multi_line_text_api_lab_3792",
      "value": "text"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "1",
      "description": "numeric test case",
      "displayLabel": "Numeric-api-lab",
      "editable": true,
      "fieldType": "TYPE_NUMBER",
      "id": "UDF0000003793",
      "mandatory": false,
      "name": "numeric_api_lab_3793",
      "value": "1"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "0",
      "description": "test case for check box",
      "displayLabel": "checkbox-api-lab",
      "editable": true,
      "fieldType": "TYPE_CHECKBOX",
      "id": "UDF0000003794",
      "mandatory": false,
      "name": "checkbox_api_lab_3794",
      "options": [
        {
          "label": "yes",
          "value": "1"
        }
      ],
      "selectedOption": {
        "label": "yes",
        "value": "1"
      },
      "value": "1"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "2016-02-26T00:00:00+0000",
      "description": "Test case for date field",
      "displayLabel": "Date-ap-lab",
      "editable": true,
      "fieldType": "TYPE_DATE",
      "id": "UDF0000003795",
      "mandatory": false,
      "name": "date_ap_lab_3795",
      "value": "2016-02-26T00:00:00+0000"
    },
    {
      "classCode": "CHANGE",
      "defaultValue": "2016-02-26T12:13:00+0000",
      "description": "Test case for Date and time",
      "displayLabel": "dateTime-api-lab",
      "editable": true,
      "fieldType": "TYPE_DATETIME",
      "id": "UDF0000003796",
      "mandatory": false,
      "name": "datetime_api_lab_3796",
      "value": "2016-02-26T12:13:00+0000"
    }
  ],
  "description": "I am unable to login into my VPN account",
  "extTicketId": "BM023456",
  "id": "CHG0000001111",
  "knowledgeArticleIds": [
    24,
    15
  ],
  "oldPriority": "Low",
  "oldStatus": "New",
  "plannedEnd": "2016-08-20T07:45:59+0000",
  "plannedStart": "2016-08-12T18:45:00+0000",
  "priority": "Normal",
  "priorityUpdatedBy": {
    "email": "escalationmails@gmail.com",
    "firstName": "admin",
    "lastName": "Admin",
    "loginName": "superadmin"
  },
  "priorityUpdatedDate": "2016-08-12T06:45:31+0000",
  "reOpenCount": 1,
  "reason": "CR Onhold",
  "requester": {
    "email": "john.smith@gmail.com",
    "firstName": "John",
    "lastName": "Smith",
    "loginName": "john.mith"
  },
  "resources": [
    {
      "aliasName": "",
      "hostName": "",
      "id": "481af404-33a6-4d61-af77-c483ca6641fa",
      "name": "VTHLPT1000",
      "resourceName": "VTHLPT1000",
      "resourceType": "DEVICE",
      "type": "DEVICE"
    },
    {
      "aliasName": "",
      "hostName": "",
      "id": "SGP-7adf3762-f310-4c14-9ecd-443eb7c6c208",
      "name": "VTH-SERVICES",
      "resourceName": "VTH-SERVICES",
      "resourceType": "SERVICE",
      "type": "SERVICE"
    },
    {
      "aliasName": "",
      "hostName": "",
      "id": "DGP-8d44a504-fd4b-4a78-ba34-2dfdf3ffb85e",
      "name": "VTH-ADMIN-DEVS",
      "resourceName": "VTH-ADMIN-DEVS",
      "resourceType": "DEVICE_GROUP",
      "type": "DEVICE_GROUP"
    }
  ],
  "rollbackPlan": "Proceed with new function",
  "slaDetails": {
    "resolutionBreach": false,
    "resolutionBreachDate": "",
    "resolutionTime": 1440069,
    "responseBreach": false,
    "responseBreachDate": "",
    "responseTime": 1439978
  },
  "source": "INTEGRATION",
  "status": "Open",
  "statusFlow": [
    {
      "createdDate": "2016-07-25T12:42:19+0000",
      "status": "New",
      "timeSpent": 1492634,
      "updatedBy": {
        "email": "john.smith@gmail.com",
        "firstName": "John",
        "lastName": "Smith",
        "loginName": "john.smith "
      }
    },
    {
      "createdDate": "2016-08-11T19:19:33+0000",
      "notes": "resolution summary",
      "reason": "Resolving as fixed",
      "status": "Resolved",
      "timeSpent": 18,
      "updatedBy": {
        "email": "john@gmail.com",
        "firstName": "john",
        "lastName": "smith",
        "loginName": "john.smith"
      }
    },
    {
      "createdDate": "2016-11-22T10:04:31+0000",
      "reason": "Waiting for customer inputs",
      "status": "Pending",
      "timeSpent": 13,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin"
      }
    },
    {
      "createdDate": "2016-11-22T10:04:44+0000",
      "reason": "Required information is not available, making as on hold",
      "status": "On Hold",
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin"
      }
    }
  ],
  "statusUpdatedBy": {
    "email": "escalationmails@gmail.com",
    "firstName": "admin",
    "lastName": "Admin",
    "loginName": "superadmin"
  },
  "statusUpdatedDate": "2016-08-12T07:13:11+0000",
  "subCategory": {
    "id": 9,
    "name": "Medium"
  },
  "subject": "Request to change my VPN Password",
  "suspendEndDate": "2016-08-12T13:13:00+0000",
  "testPlan": " $alert.device.hostName ",
  "ticketArisedTime": "",
  "updatedDate": "2016-08-12T07:13:11+0000",
  "workEnd": "2016-08-19T02:51:59+0000",
  "workStart": "2016-08-15T18:45:00+0000"
}