View Attributes Based on Filter Conditions
You can view all the attributes based on filter conditions or gets count of all the attributes depending upon the query paramters used.
Request
-
HTTP Method: GET
-
Example URL: Application_URL/services/api/v1/attributes
-
Authorization: You must have the roles TEMPLATE_READ, TEMPLATE_EDIT, or TEMPLATE_DELETE assigned to your user ID in the SAP Cloud Platform account.
-
Request Schema: To know about fields that you can use in a request payload, refer to the request schema in the https://help.sap.com/doc/6003315aca474ad9962d53c53c5d0297/1902/en-US/Template.html#attributes_get file.
For more information about the request payload fields, their descriptions, and possible values, see Additional Information.
Response
-
If an attribute based on the filter conditions exists, system auto generates an attribute ID in the response payload.
For more information, see https://help.sap.com/doc/6003315aca474ad9962d53c53c5d0297/1902/en-US/Template.html#attributes_get.
-
If an attribute does not exist, system returns appropriate error code in the response payload.
For more information, see https://help.sap.com/doc/6003315aca474ad9962d53c53c5d0297/1902/en-US/Template.html#attributes_get.