post https://api.erp.release.slade360edi.com/api/etims/purchases//send_to_etims
Description
Sends a specific ETIMS purchase to the ETIMS system, allowing you to trigger either processing or cancellation of the transaction.
Parameters
Path parameter
- id (integer): The ID of the ETIMS purchase invoice to be sent.
Header parameters
- X-Workstation (string): The workstation ID from which the request is made. Required for audit and tracking.
- Accept (string): Specifies the response format. Use
application/json
.
Body parameter
- purchase_transaction_status (string): The action to perform. Must be either:
PROCESS
– to process and send the purchase to ETIMS.CANCELLED
– to cancel the purchase transaction in ETIMS.
Example
POST /api/etims/purchases/397/send_to_etims
Accept: application/json
Content-Type: application/json
{
"purchase_transaction_status": "PROCESS"
}
# or
{
"purchase_transaction_status": "CANCELLED"
}