Assigning Spare Part to a Document

You use this API to assign a spare part to a document.

Request

Response

If you have assigned the spare part successfully, the system sends a status code of 204. Otherwise, the system returns appropriate error codes. For more information on the response schema and the corresponding status codes, see https://help.sap.com/doc/c8af652c31a6435baf13e424539276d4/1902/en-US/documents.html#documents_assign_sparepart_post.