Skip to main content

Version: 19.05 (EOL)

GET Service Definition

Return the service definition for the specified service ID.

Request

HTTP request

https://<JM_SERVER>/manager/secure/rest/service-definitions/v1/<SERVICE_ID>/

Parameters

This request takes no parameters.

Request body

Do not supply a request body for this operation.

Example

GET https://transact.maguire.com/manager/secure/rest/service-definitions/v1/803/

Response

If successful, this operation returns a response with a HTTP 200 OK status code.

Example

An example succcessful response is shown below.

{
"id": 803,
"serviceName": "Random Tracking Number",
"versionNumber": 1,
"serviceType": "Tracking Number",
"description": "Create random form transaction tracking numbers.",
"serviceTypeDefaultFlag": true,
"activeFlag": true,
"jobTemplateFlag": false,
"unitTestEnabledFlag": false,
"classnameBeanname": "com.avoka.fc.core.service.form.RandomTrackingNumberService",
"createdAt": "Feb 27, 2014 5:14:18 PM",
"createdBy": "system",
"lastModifiedAt": "Aug 12, 2014 3:14:28 PM",
"lastModifiedBy": "someadmin",
"serviceParameters": [
{
"id": 1348,
"name": "numberLength",
"description": "The length of the tracking number.",
"type": "List",
"bindParameterFlag": true,
"unitTestFlag": false,
"listValues": "4:4|5:5|6:6|7:7|8:8",
"value": "6",
"createdAt": "Feb 27, 2014 5:14:18 PM",
"createdBy": "system"
},
{
"id": 1349,
"name": "characterValues",
"description": "The list of character values to generate the random tracking number from.",
"type": "String",
"bindParameterFlag": true,
"unitTestFlag": false,
"value": "ABCDEFGHJKLMNPQRSTVWXYZ23456789",
"createdAt": "Feb 27, 2014 5:14:18 PM",
"createdBy": "system",
"lastModifiedAt": "Aug 12, 2014 3:14:28 PM",
"lastModifiedBy": "someadmin"
}
]
}