Documentation forAdministrator
Support

Change Request API

moduleAPI Documentation Updated 17 Oct 2026

Change Request API

Product: NEXTMEGABYTE (Greenitco ITAM) · Module: API Documentation · Audience: Developer, Administrator

This page lists the NEXTMEGABYTE REST API endpoints for change requests. All URLs are relative to your portal, for example https://your-domain.com/api/.... Authenticate first with the Login API and send the standard headers described in the API Overview. Example values are shortened and anonymized.

Approve or reject a change request

POST /api/change-management/approveRejectRequest

Records the signed-in CAB member's decision on a change request.

Headers: standard authenticated headers (apptoken, token, Content-Type: application/x-www-form-urlencoded). See API Overview.

Request Body Parameters

Parameter Type Required Description
approve_status String Yes '1' for approve & '2' for reject
approve_request_id: int Yes approve id
comments String Yes any kind of comment

Example response (values shortened and anonymized)

{
  "status": "success",
  "msg": "your approve has been update successfully"
}

Get change request details

GET /api/change-management/info/{id}

Returns the details, planning and approvals of a change request.

Headers: standard authenticated headers (apptoken, token, Content-Type: application/x-www-form-urlencoded). See API Overview.

Example response (shortened)

{ "code": 200, "status": "success", "message": "", "data": { "plan": { "plan_name": "Anmol Testing", "duration": "01:00:00", "manager": null, "created_by": "anmol.setia", "created_at": "2024-09-17 16:37:03", "updated_at": "2024-09-18 09:42:39", "description": "Testing", "status": "Inprogress", "recursion_plan": "One Time" }, "percentage": 50, "last_order": 2, "first_order": 1, "tasks": [ { "id": 2 …

List change requests

POST /api/change-management/myRequestList

Returns the change requests the user can access.

Headers: standard authenticated headers (apptoken, token, Content-Type: application/x-www-form-urlencoded). See API Overview.

Request Body Parameters

Parameter Type Required Description
page String Yes 0
search: String Yes any kind of search key
order[dir] String Yes 1
order[id] String Yes 7

Top-level response fields: total, filtered, data, page, status, msg

Example response (values shortened and anonymized)

{
  "total": 125,
  "filtered": 53,
  "data": [
    {
      "id": 1,
      "subject": "<string>",
      "record_tag": "<string>",
      "statusName": "<string>",
      "priorityName": "<string>",
      "impactName": "<string>",
      "riskName": "<string>",
      "changeTypeName": "<string>",
      "categoryName": null,
      "cab_id": null,
      "change_type_id": 3,
      "changeRequester": "<string>",
      "changeManager": "<string>",
      "last_updated_at": "<string>",
      "created_at_format": "14 Feb 2019 09:14 AM",
      "scheduled_start_date": "<string>",
      "scheduled_end_date": "<string>",
      "closed_date": null,
      "close_state": "<string>",
      "param_record_tag": "<string>",
      "...": "1 more fields"
    },
    "..."
  ],
  "page": 1,
  "status": "success",
  "msg": "Change Request fetched successfully."
}