OSTicket API
  • Introduction
  • Get Started
    • How to Use
    • Authentication
    • Request Structure
    • Configuration
  • Ticket
    • 🟢[POST] Add
    • 🟢[POST] Reply
    • 🟢[POST] Close
    • 🔵[GET] Specific
    • 🔵[GET] Status
    • 🔵[GET] Creation Date
    • 🔵[GET] Creation Date by Status
  • Users
    • 🟢[POST] Add
    • 🔵[GET] Specific by ID
    • 🔵[GET] Specific by Email
    • 🔵[GET] Creation Date
  • Departments
    • 🟢[POST] Add
    • 🔵[GET] Specific
    • 🔵[GET] Creation Date
    • 🔵[GET] Name
  • Tasks
    • 🔵[GET] Specific
    • 🔵[GET] Creation Date
    • 🔵[GET] By Ticket
  • SLA
    • 🟢[POST] Add
    • 🔴[DELETE] Delete
    • 🔵[GET] Specific
    • 🔵[GET] Creation Date
  • FAQ
    • 🔵[GET] Specific
    • 🔵[GET] All
  • Topics
    • 🔵[GET] Specific
    • 🔵[GET] All
Powered by GitBook
On this page
  1. SLA

[GET] Specific

Fetch all info from a specific SLA using the ID.

Base URL:

{YOUR-DOMAIN}/upload/ost_wbs/

[ Header ] Authentication

Field
Type
Mandatory

apikey

string

✔️

[ Body ] parameters

Option
Type
Mandatory

query

string

✔️

condition

string

✔️

id

int

✔️

Body request example:

{
"query":"sla",
"condition":"specific",
"parameters":{
    "id":1
    }
}

Status Code

{
    "status": "Success",
    "time": 0.019485950469970703,
    "data": {
        "total": 1,
        "sla": [
            {
                "sla_id": "1",
                "flags": "3",
                "grace_period": "18",
                "name": "Default SLA",
                "notes": "",
                "created": "2022-06-15 11:04:28"
            }
        ]
    }
}
{
    "status": "Error",
    "data": "No items found."
}
Previous[DELETE] DeleteNext[GET] Creation Date

Last updated 2 years ago

🔵