Hi All,
I am doing development to create a new custom API to get response of posted sales invoice document no. as currently standard API just send response code as 204 with no content.
Standard API is POST https://<server
address>:<server API port>/<server instance
name>/api/v2.0/companies({id})/salesInvoices({id})/Microsoft.NAV.post
The response has no content; the response code is 204 but the customer require posted sales invoice document no. as response and to achieve this I've done below but no success so far.
To achieve this, I took copy of standard API and added additional code as below :-
