SAP Knowledge Base Article - Public

3698990 - The HTTP status code for the asset posting API has changed from 200 to 201 - SAP S/4HANA Cloud Public Edition

Symptom

Following the 2508 update, the HTTP status code for the asset posting API has been updated. Previously, a successful operation returned a status code of 200, but it now returns 201.

Environment

SAP S/4HANA Cloud Public Edition

Cause

The behavior change originates from the platform level. Status code 201 is now used in certain cases instead of the previous 200 to enable further actions on the result of an operation within a single OData batch request. 

Resolution

The behavior change is confirmed as intentional and not a bug. Status code "201" also indicates success and was introduced to enhance functionality for certain APIs.  Similar changes may be observed in other APIs, such as the Fixed Asset Acquisition API and the Fixed Asset Revaluation API. 

Keywords

http status code 201, http status code 200, fixed asset post asset retirement API, SAP S/4HANA Cloud, OData batch request, 2508 upgrade, fixed asset acquisition API, fixed asset revaluation API, resource creation, API behavior change, success status code. , KBA , FI-AA-AA-A-2CL , Master Data (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions