Data authorization for POST methods
Data authorization for a POST method only works if that POST method directly inserts a record in LN.
Example
The POST /odata/tiapi.sfcProductionOrder/SerialHeaders method (“Add new entity to Serial Headers”) adds a new serial header to an order. In the request body of the request, you must specify the details of the “New entity”.
Data authorization works for this POST method.
Some POST methods do not directly add a new record in the database, but instead they invoke another action. Data authorization does not work for this type of POST method.
Example
The POST /odata/tiapi.sfcProductionOrder/Operations(Order='{Order}',Operation={Operation})/tiapi.sfcProductionOrder.RegisterLaborHours method (“Invoke Action RegisterLaborHours”) does not insert a new operation for an order. Instead, it invokes the RegisterLaborHours action for an existing operation.
In the request body of the request, you must specify the “Action parameters”.
Data authorization does not work for this POST method.