When the response is successful, the API returns the interactionId and the processId in the response header and the record details in the response body.
If the process generates an interaction ID and uses it to create the record, the API returns the interaction ID. If the process starts a workflow instead of directly saving the record to the database, the API returns the process ID which is the ID of the workflow process.
The following example shows a response header with an interaction ID and a process ID: