SAP Knowledge Base Article - Public

3217806 - How to add if-match in a API call

Symptom

How to add if-match in a API call.

Environment

SAP S/4HANA Cloud All Versions.

Resolution

A GET request can be created on the instance, there will be an eTag returned as a header field in the response.
In this etag parameter If-Match can be found, it can be used in the POST request with the header.

Keywords

if-match, API , KBA , MM-PUR-PO-BAPI , BAPIs - Purchase order , Problem

Product

SAP S/4HANA Cloud 2202