Documentation forAdministrator
Support

Problem Management API

moduleAPI Documentation Updated 17 Oct 2026

Problem Management API

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

This page lists the NEXTMEGABYTE REST API endpoints for problem management. 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.

List problem records

POST /api/problem_management/ajaxlist/all_problem_list

Returns a paged list of problem management records.

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

Request Body Parameters

Parameter Type Required Description
search: String Yes test
list_size: int Yes 10
order[dir]: int Yes 2
index:: int Yes 0
filters[status]: int Yes
filters[department]: int Yes
filters[priority]: String Yes
filters[cost_center]: String Yes
filters[pab]: String Yes
filters[approval]: int Yes
filters[based_on]: String Yes
filters[from_date]: int Yes
filters[to_date]: int Yes

Example request

{ "search": "test", "list_size": 10 "index": 0, "order[dir]": 2, "filters[status]":9, "filters[departments]":1, "filters[priority]": "filters[cost_center]": "filters[pab]": "filters[approval]": "filters[based_on]": "filters[from_date]": "filters[to_date]": }

Top-level response fields: draw, recordsTotal, recordsFiltered, current_index, is_prev_index, is_next_index, data

Example response (values shortened and anonymized)

{
  "draw": "<string>",
  "recordsTotal": 17,
  "recordsFiltered": 17,
  "current_index": 0,
  "is_prev_index": 0,
  "is_next_index": 1,
  "data": [
    {
      "id": 1,
      "problem_name": "<string>",
      "content": "<string>",
      "priority_name": "<string>",
      "department_name": "<string>",
      "pc_category": "<string>",
      "sc_category": "<string>",
      "username": "<string>",
      "created_at": "2022-12-15 10:04:42",
      "updated_at": "2022-12-26 21:54:51",
      "impactedDevices": [],
      "devicecountnum": "<string>",
      "impactedTickets": [],
      "ticketcountnum": "<string>"
    },
    "..."
  ]
}

Get problem details

GET /api/problem_management/problem_detail/problemId

Returns a problem record with impacted tickets and devices.

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

Example response (values shortened and anonymized)

{
  "status": "success",
  "msg": "Procurement status fetched successfully.",
  "data": [
    {
      "id": 1,
      "name": "Created",
      "created_at": null,
      "updated_at": null
    },
    "..."
  ]
}

Solve impacted tickets

POST /api/problem_management/impactedTicket/solve

Resolves the tickets linked to a problem record.

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

Request Body Parameters

Parameter Type Required Description
problem_id int Yes problemId
ticket_id int Yes ticketId

Example request

{
  "problem_id": "<string>",
  "ticket_id": "<string>"
}

Example response (values shortened and anonymized)

{
  "status": "success",
  "msg": "!",
  "data": {
    "id": 590,
    "first_name": "<string>",
    "last_name": "<string>",
    "username": "<string>",
    "email": "<string>",
    "phone": null,
    "jobtitle": null,
    "employee_num": null,
    "country": null,
    "gravatar": null,
    "location_id": 3,
    "company_id": 1,
    "manager_id": null,
    "department_id": null,
    "access_token": "<token>",
    "website": null,
    "company_name": "<string>",
    "location_name": "<string>",
    "manager_name": "<string>",
    "profile_img": "https://your-domain.com/...",
    "...": "5 more fields"
  }
}