HEADER

APIDescription
APIs Authorization http header

Add API-token authorization

GET

Method [Read]

APIDescription
GETv1.0/api/columns

This operation will return list of columns name.

GETv1.0/api/columns/prereported

This operation will return list of Pre-Reported columns name.

GETv1.0/api/deal/tradein?TradeinId={TradeinId}

This operation will return Deal Id from Trade-in Id.

GETv1.0/api/deals?keywords={keywords}

This operation will find any deals by "Deal No." or "Customer name" or "Order No." or "Stock No." Return Unique keyId and data.

GETv1.0/api/departments

This operation will return the departments detail

GETv1.0/api/tradein?keyId={keyId}

This operation will return trade-in values.

POST

Method [Create/Update]

APIDescription
POSTv1.0/api/deal/add

This operation for add new deal. Require at least "Order date" and "Department name". If a deal creation is successful, response is keyId otherwise, response is error message.

POSTv1.0/api/deal/set

This operation updates an existing data (require Unique keyId). If the list update is successful the response is true

POSTv1.0/api/prereported/add

This operation for add new Pre-Reported. Require at least "Reported Date" , "Department name" and "Stock No.". If a Pre-Reported creation is successful, response is keyId otherwise, response is error message.

POSTv1.0/api/prereported/set

This operation updates Pre-Reported data (require Unique keyId). If the list update is successful the response is true

POSTv1.0/api/tradein/add

This operation for add new trade-in. Require at least "TRADE-IN TYPE" and "Valuation Amount". If a Trade-in creation is successful, response is tradeId otherwise, response is error message.

POSTv1.0/api/tradein/set

This operation updates an existing data (require Unique Trade-in key). If the list update is successful the response is true

KPMG

APIDescription
GETv1.0/kpmg/get

SalesLogs Integration files.