Viewing the Equipment Count
You use this API to get a count of all equipment that you have access for.
Request
-
HTTP Method: GET
-
URL: Application_URL/services/api/v1/equipment/$count?$filter substringof(<FILTER_VALUE>, <PROPERTY_NAME>)
-
Query parameters: $filter
$filter: allows you to specify a search text using which you can filter the items of equipment
Description: Where FILTER_VALUE is the parameter to search the text or a substring of the text and <PROPERTY_NAME> is the attribute that contains the text.
- Example URL: Application_URL/services/api/v1/equipment/$count?$filter=substringof('Sample equipment',Name)
-
Authorization: You must have the roles EQUIPMENT_READ or EQUIPMENT_EDIT or EQUIPMENT_DELETE assigned to your user IDin the SAP Cloud Platform account.
Response
If one or more items of equipment exist that match the filter criteria, the system returns the equipment count. Otherwise, the system returns count as 0.
For more information, see https://help.sap.com/doc/040d5297b6804c3b903ee307cfcbf13c/1902/en-US/equipment.html#equipment__count_get.