Get a service request

get

/rest/ofscCore/v1/serviceRequests/{requestId}

This operation retrieves information about the specified service request.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

This section describes the 200 status response for this operation.
Body ()
Root Schema : Service Request
Type: object
Title: Service Request
The service request fields.
Show Source

Default Response

This section describes the default error response for this operation.
Body ()
Root Schema : Error
Type: object
Error response
Show Source
Back to Top

Examples

The following example shows how to get a service request by submitting a GET request on the REST resource using cURL:

cURL Command Example

curl -u 'clientId@instance:clientSecret' \
 -X GET \
 --url 'https://<instance_name>.etadirect.com/rest/ofscCore/v1/serviceRequests/90909'

Response Header Example

The following shows an example of the response header.

HTTP/1.1 200 OK
Server: nginx/1.2.7
Date: Mon, 18 Dec 2017 02:20:33 GMT
Content-Type: application/json; charset=utf-8

Response Body Example

The following shows an example of the response body in JSON format.

HTTP/1.1 200
{
    "requestId": 90909,
    "resourceId": "cable",
    "resourceInternalId": 284,
    "activityId":989898,
    "inventoryId": 4225269,
    "date": "2014-08-14",
    "created": "2014-08-14 16:50:08",
    "sr_subject" : "Small",
    "sr_body" : "Big",
    "requestType" : "IR",
    "CUSTOM_PROP1" : "property text value"
}
Back to Top