> ## Documentation Index
> Fetch the complete documentation index at: https://docs.assetinfinity.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Apply SAP asset code changes: for each row, the asset whose serial number is sAPAssetCode takes newSAPAssetCode as its…

> Apply SAP asset code changes: for each row, the asset whose serial number is sAPAssetCode takes newSAPAssetCode as its serial number and as its SAP code field, goes back into stock, and has that
move recorded in its history.

The payload is the one SAP sends, `{ "AItoSAPTransfer": [ { "sAPAssetCode": "…", "newSAPAssetCode":
"…" } ], "info": { "TrackingId": "…" } }`. Every row is applied or refused on its own, and the answer
says which: `outcome` is SUCCESS, PARTIAL or FAILED, and `results` has one entry per row with
`result` UPDATED, NOT_FOUND or REFUSED and, for a refusal, `error_code` and `message`. `assets` is
every updated asset as it now stands.

A call whose TrackingId has been answered before is answered the same way again and changes nothing,
so a retry is safe. Every call is kept, and an administrator can read them under Settings, Webhooks.

Available only to an organisation the SAP asset code feature has been switched on for, and to a
caller who may edit and move assets.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.