Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The servicedesk REQUEST type allows access to PCR-360 Service Desk items and related data. View full details on Service Desk Action API Calls.

Getting LIST Values

Excerpt

To retrieve LIST values from the API send a request structured as below:

Code Block
languagexml
https://url/endpoint.json?LIST=VALUE

All List Types will be returned from the Endpoint the request was sent to. TheĀ format is different depending on the LIST requested, but should look similar to the example below.

Code Block
languagexml
{
    "status": "success",
    "page": 1,
    "count": 11,
    "total_count": 3,
    "sd_action": [
        {
            "RECID": 237,
            "VALUE": "Add"
        },
        {
            "RECID": 238,
            "VALUE": "Change Types"
        },
        {
            "RECID": 239,
            "VALUE": "Add Locations"
        }
    ]
}



Writing Data

The PCR-360 API allows an outside application to create or update Service, Equipment, or Service Desk items or submit SNMP traps. The basic write request is much like a read request; the URL is built in a similar fashion. Like the read requests, all API write operations are done via an HTTP(s) request (using cURL or some other method). You will need to build the URL to describe the request you are making.

...