Get Details of a Single Service Request

Method: GET

Url: /ServiceRequests/{IncidentID}[?GetContentInHTML=true|false] (e.g. /ServiceRequests/1234/?GetContentInHTML=false)
Header: DPApiAuthenticationToken={YOUR_API_TOKEN}

Query String:
GetContentInHTML (optional): Whether to get the ShortDescription in HTML format (default: true)

Request Example:
GET "https://api.dataprise.com/api/v1/ServiceRequests/1234/?GetContentInHTML=false"

Header: "DPApiAuthenticationToken=abcxyz0123456789"

Response:

The API will return the details of the incident if the provided IncidentID is valid, with the following fields:

Column Name Data Type Remarks
Column Name:

IncidentID

Data Type:

Integer

Remarks:

The unique ID of the record.

Column Name:

IncidentNo

Data Type:

String

Remarks:

A unique alphanumeric key assigned to each incident

Column Name:

OpenDate

Data Type:

DateTime

Remarks:

The datetime the incident was opened

Column Name:

ShortDescription

Data Type:

String

Remarks:

A short title of the incident

Column Name:

LongDescription

Data Type:

String

Remarks:

Incident details. May contain HTML

Column Name:

IncidentClassID

Data Type:

Integer

Remarks:

The ClassID of the incident

Column Name:

IncidentPerceivedPriority

Data Type:

String

Remarks:

The perceived priority of the incident. May contain “Low”, “Normal”, or “High”

Column Name:

Status

Data Type:

String

Remarks:

The current status of the incident. May contain either “Open” or “Closed”

Column Name:

RequestType

Data Type:

String

Remarks:

The type of the request. May contain “General Service”, “To Do” etc.

Column Name:

CCWebUserID

Data Type:

Integer

Remarks:

The ID of the user the incident is assigned to

Column Name:

AssignedTo

Data Type:

String

Remarks:

The name of the user the incident is assigned to

Column Name:

TargetContactID

Data Type:

Integer

Remarks:

The ID of the target contact of the incident

Column Name:

TargetDeviceID

Data Type:

Integer

Remarks:

The ID of the target device of the incident

Column Name:

ResolvedDate

Data Type:

DateTime

Remarks:

The datetime the incident was resolved, only applicable if the incident is closed or set to resolved.

Column Name:

CustomFields

Data Type:

List<CustomField>

Remarks:

List of custom fields (key-value pair) for this record

Sample Response:
    {
        "IncidentID": 1234,
        "IncidentNo": "SRI202001230005",
        "OpenDate": "2020-01-23T08:26:09.517",
        "ShortDescription": "Test incident by parameters from API",
        "LongDescription": "",
        "ClassID": -1,
        "Status": "Open",
        "CCWebUserID": -1,
        "AssignedTo": "",
        "TargetContactID": 73995,
        "TargetDeviceID": -1,
        "CustomFields": [
            {
                "FieldLabel": "incident custom field",
                "FieldValue": ""
            },
            {
                "FieldLabel": "Project",
                "FieldValue": ""
            },
            {
                "FieldLabel": "Priority",
                "FieldValue": ""
            },
            {
                "FieldLabel": "Impact",
                "FieldValue": ""
            }
        ]
    }