Assigning Equipment to a Document
You use this API to assign an item of equipment to a document.
Request
- HTTP Method: POST
- URL:Application_URL/services/api/v1/documents/assign/equipment
- Authorization:You must have the roles DOCUMENT_EDIT or DOCUMENT_DELETE assigned to your user IDin the SAP Cloud Platform account.
- Schema:To know about fields that you can use in a request payload, refer to the request schema in https://help.sap.com/doc/c8af652c31a6435baf13e424539276d4/1902/en-US/documents.html#documents_assign_equipment_post.
Response
If you have assigned the item of equipment successfully, the system sends a status code of 204. Otherwise, the system returns appropriate error codes. For more information on the responshttps://help.sap.com/doc/c8af652c31a6435baf13e424539276d4/1902/en-US/documents.html#documents_assign_equipment_post.