Get Entitlement Settings API
Use this API to retrieve Interactive Entitlement settings for Work Order and Case objects.
This API provides all the ServiceMax settings related to Interactive Entitlement. The details for the Get Entitlement Settings API are as follows:
URL for the Work Order object: /services/apexrest/SVMXC/svmx/rest/entitlement/getEntitlementSettings/SVMXC__Service_Order__c
URL for the Case object: /services/apexrest/SVMXC/svmx/rest/entitlement/getEntitlementSettings/Case
Type: GET method
A sample response for getting setting details for a Work Order is explained as follows.
Sample Response
{
"success": true,
"messages": null,
"data": {
"warrantyFields": null,
"showFutureEntitlement": true,
"showExpiredEntitlement": true,
"serviceContractFields": null,
"matchLocation": false,
"matchContact": true,
"matchAccount": true,
"coveredBy": "Product",
"coverageOnTopLevelProduct": true,
"coverageOnProductLine": true,
"coverageOnProductFamily": true,
"coverageOnPartProduct": true,
"coverageOnParentProduct": true,
"coverageOnChildProduct": true,
"accountId": null
}
}
Was this helpful?