Viewing a Spare Part
You use this API to view the details of a particular spare part.
Request
-
HTTP Method: GET
-
URL: Application_URL/rest/api/v1/parts({partid})
-
Example URL: Application_URL/rest/api/v1/parts(E42B20A6E0A34E388D40E8B39879D95A)
-
Authorization: You must have the roles PART_EDIT or PART_DELETE assigned to your user ID.
-
Query Parameter: partid.
partid: Specify the spare part ID.
Response
-
If you have specified a valid spare part ID, the system returns the details of the spare part. Otherwise, the system returns appropriate error code.
For more information, see https://help.sap.com/doc/b20aaa6c214a40d38776caf710271f60/1902/en-US/parts.html#parts__partid___get.