Endpoint
/api/v2/tenants/{tenantId}/timeBoundRequests/{timeBoundRequestId}/close
Path Parameters
tenantId
string

timeBoundRequestId
string

notes
string

Additional information to add to a time bound request.

reason
string

Reason for closing the time bound request. This is mandatory only if the option Enable reasons to change status Close is enabled for time bound request in service desk settings (example steps below).

{
  "notes": "Network Servers issue solved in site CA.",
  "reason": "Network Serveres up and running"
}

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
attachedRequests
array

Attach service requests to an incident. Use the search service requests to get list of service requests in a client.

attachedRequests.id
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
businessImpact
object

businessImpact.createdBy
businessImpact.createdDate
businessImpact.description
(Optional) Short summary describing the business impact.
businessImpact.name
Business impact name.
businessImpact.uniqueId
businessImpact.updatedBy
businessImpact.updatedDate
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.

changeRequest
object

Attach a problem or change request related to the incident. Only a single change request or problem can be attached to an incident.

changeRequest.id
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
closedSummary
string

consoles
array

consoles.consoleProtocol
Console protocol.
consoles.options
Console options.
consoles.type
Console type
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.

dueDate
string

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

notes
string

oldPriority
string

oldStatus
string

parentId
string

Attach incident. Provide the incident ID as an attachment.

participantUsers
array

participantUsers.id
participantUsers.loginName
plannedEnd
string

plannedStart
string

policy
object

policy.active
policy.createdDate
policy.executionOrder
policy.id
policy.name
policy.policyType
policy.updatedDate
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

problem
object

Attach a problem or change request related to the incident. Only a single change request or problem can be attached to an incident.

problem.id
reOpenCount
integer

requester
object

requester.email
requester.firstName
requester.id
requester.lastName
requester.loginName
requester.phoneNumber
resolutionSummary
string

resolveDate
string

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.

schedule
object

schedule.endTime
Schedule end time.
schedule.pattern
Recurrence pattern.
schedule.startTime
Schedule start time.
schedule.timezone
Schedule time zone. The list of timezones are shown below. Example: "timezone": "America/Los_Angeles"
schedule.type
Schedule type.
serviceRestoreDate
string

slaDetails
object

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

sourceEntityType
string

sourceEntityTypeId
string

sourcePolicyType
string

sourcePolicyTypeId
string

status
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

toEmail
string

Email address of the user. An email notification is sent to the user.

updatedDate
string

urgency
object

urgency.id
workEnd
string

workStart
string

{
  "alertIds": [],
  "allowedStatus": [],
  "assignedUser": {
    "email": "brocade.PAdmin@gmail.com",
    "firstName": "Brocade",
    "id": "USR0000000013",
    "lastName": "PAdmin",
    "loginName": "brocadePAdmin",
    "phoneNumber": "809-625-1234"
  },
  "assigneeGroup": {
    "description": "Brocade Partner Users",
    "id": 5,
    "name": "Brocade Inc Users"
  },
  "cc": "sample@gmail.com",
  "client": {
    "activated": true,
    "id": 8,
    "name": "Brocade Lab",
    "uniqueId": "client_8"
  },
  "closedDate": "2016-11-25T10:33:15+0000",
  "closedSummary": "Network Servers issue solved in site CA",
  "createdDate": "2016-11-25T10:30:56+0000",
  "createdUser": {
    "email": "sample@gmail.com",
    "firstName": "SP",
    "id": "USR0000000018",
    "lastName": "Admin",
    "loginName": "superadmin"
  },
  "customFields": [
    {
      "classCode": "ACSTICKET",
      "defaultValue": "10",
      "description": "Testing numeric",
      "displayLabel": "Numeric",
      "editable": true,
      "fieldType": "TYPE_NUMBER",
      "id": "UDF0000003805",
      "mandatory": false,
      "name": "numeric_3805"
    },
    {
      "classCode": "ACSTICKET",
      "defaultValue": "Time bound request",
      "description": "multi line text example",
      "displayLabel": "Multi line text",
      "editable": true,
      "fieldType": "TYPE_TEXTAREA",
      "id": "UDF0000003806",
      "mandatory": false,
      "name": "multi_line_text_3806",
      "value": "time bound request-update"
    },
    {
      "classCode": "ACSTICKET",
      "defaultValue": "Mandatory",
      "description": "Text field mandatory",
      "displayLabel": "Text field",
      "editable": true,
      "fieldType": "TYPE_TEXT",
      "id": "UDF0000003807",
      "mandatory": false,
      "name": "text_field_3807",
      "value": "Text-Update"
    },
    {
      "classCode": "ACSTICKET",
      "defaultValue": "",
      "description": "Drop down testing",
      "displayLabel": "Drop-Down",
      "editable": true,
      "fieldType": "TYPE_DROPDOWN",
      "id": "UDF0000003804",
      "mandatory": false,
      "name": "drop_down_3804",
      "options": [
        {
          "label": "One",
          "value": "1"
        },
        {
          "label": "Two",
          "value": "2"
        }
      ],
      "selectedOption": {
        "label": "One",
        "value": "1"
      },
      "value": "1"
    },
    {
      "classCode": "ACSTICKET",
      "defaultValue": "2016-02-26T12:13:00+0000",
      "description": "",
      "displayLabel": "Date",
      "editable": true,
      "fieldType": "TYPE_DATE",
      "id": "UDF0000003821",
      "mandatory": false,
      "name": "date_3821"
    },
    {
      "classCode": "ACSTICKET",
      "defaultValue": "2016-02-26T12:13:00+0000",
      "description": "",
      "displayLabel": "Date and Time",
      "editable": true,
      "fieldType": "TYPE_DATETIME",
      "id": "UDF0000003822",
      "mandatory": false,
      "name": "date_and_time_3822"
    }
  ],
  "description": "Network servers down in site CA",
  "id": "TBT0000000379",
  "notes": "Network Serveres up and running",
  "oldPriority": "High",
  "oldStatus": "Open",
  "priority": "Low",
  "priorityUpdatedBy": {
    "email": "sample@gmail.com",
    "firstName": "SP",
    "id": "USR0000000018",
    "lastName": "Admin",
    "loginName": "superadmin"
  },
  "priorityUpdatedDate": "2016-11-25T10:31:44+0000",
  "reOpenCount": 0,
  "reason": "Close TBR",
  "requester": {
    "email": "john.smith@gmail.com",
    "firstName": "john",
    "lastName": "smith",
    "loginName": "john.smith",
    "phoneNumber": "998-559-1234"
  },
  "resources": [
    {
      "id": "d628b4f1-37ad-49de-8487-43125ec3178a",
      "name": "SJLPT204",
      "type": "DEVICE"
    },
    {
      "id": "DGP-420a80f4-5fba-46d5-a1c1-20e2df4a326a",
      "name": "OPSRAMP-SJ",
      "type": "DEVICE_GROUP"
    },
    {
      "id": "SGP-c2af3866-fc89-47dd-b83f-bcc8df0b2a0a",
      "name": "VTH Services",
      "type": "SERVICE"
    }
  ],
  "slaDetails": {
    "resolutionBreach": false,
    "resolutionBreachDate": "",
    "resolutionTime": 117,
    "responseBreach": false,
    "responseBreachDate": "",
    "responseTime": 48
  },
  "source": "PORTAL",
  "sourcePolicyType": "MANUAL",
  "status": "Closed",
  "statusFlow": [
    {
      "createdDate": "2016-11-25T10:30:56+0000",
      "status": "New",
      "timeSpent": 48,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin"
      }
    },
    {
      "createdDate": "2016-11-25T10:31:44+0000",
      "reason": "Open TBR",
      "status": "Open",
      "timeSpent": 18,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin"
      }
    },
    {
      "createdDate": "2016-11-25T10:32:02+0000",
      "reason": "Pending TBR",
      "status": "Pending",
      "timeSpent": 14,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin"
      }
    },
    {
      "createdDate": "2016-11-25T10:32:16+0000",
      "reason": "On hold TBR",
      "status": "On Hold",
      "timeSpent": 8,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin"
      }
    },
    {
      "createdDate": "2016-11-25T10:32:24+0000",
      "reason": "Open TBR",
      "status": "Open",
      "timeSpent": 51,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin"
      }
    },
    {
      "createdDate": "2016-11-25T10:33:15+0000",
      "notes": "Network Servers issue solved in site CA.",
      "reason": "Network Serveres up and running",
      "status": "Closed",
      "updatedBy": {
        "email": "john.bolt@gmail.com",
        "firstName": "John",
        "lastName": "Bolt",
        "loginName": "john.bolt"
      }
    }
  ],
  "statusUpdatedBy": {
    "email": "john.bolt@gmail.com",
    "firstName": "John",
    "lastName": "Bolt",
    "loginName": "john.bolt"
  },
  "statusUpdatedDate": "2016-11-25T10:33:15+0000",
  "subject": "Network servers not accessible",
  "ticketArisedTime": "",
  "updatedDate": "2016-11-25T10:33:15+0000"
}