Assigning Templates to a Spare Part
You use this API to assign templates to the spare part.
Request
-
HTTP Method: PUT
-
URL: Application_URL/rest/api/v1/parts({partid})/templates
-
Example URL: Application_URL/rest/api/v1/parts(E0B15BE85E2B41FBA06069B8D61CEB09)/templates
-
Authorization: You must have the roles PART_DELETE or PART_EDIT assigned to your user IDin 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 https://help.sap.com/doc/b20aaa6c214a40d38776caf710271f60/1902/en-US/parts.html#parts__partid___templates_put .
Response
-
The system assigns templates to the spare part.
For more information, see https://help.sap.com/doc/b20aaa6c214a40d38776caf710271f60/1902/en-US/parts.html#parts__partid___templates_put.