Exchange Reports
Read exchange reports by store.
URL:https://api.lingaros.com/v2/reports/store/{store-id}/exchangedReport
curl -X GET -H "apikey: generated-api-key" \
"https://api.lingaros.com/v2/reports/store/{store-id}/exchangedReport"
queryParms
?dateOption=T => [Today]
?dateOption=Y => [Yesterday]
?dateOption=LND&numberOfDay=13 => [Last 'N'(13) days]
?dateOption=W => [This week]
?dateOption=L7D => [Last 7 days]
?dateOption=M => [This month]
?dateOption=LM => [Last month]
?dateOption=L30D => [Last 30 days]
?dateOption=SD?specificDate=29-Sep-2019 => [Specific date]
?dateOption=DR&fromDate=09-Sep-2019&toDate=01-Oct-2019 => [Date range]
Response
| Method | Type | Description |
|---|---|---|
| amount | string | Total amount associated with the transaction. |
| checkNo | string | Check number generated for the sale transaction. |
| discount | string | Discount amount applied to the transaction. |
| exchangeDate | string | Date on which the exchange was completed. |
| exchangeSaleId | string | Sale ID of the original transaction. |
| exchangedSaleId | string | Sale ID of the new transaction created after the exchange. |
| exchangedBy | string | Name of the employee or user who processed the exchange. |
| isTotal | boolean | Indicates whether the row represents a total summary record (true) or a regular item record (false). |
| itemType | string | ITEM, EXCH ITEM, or TOTAL |
| items | array | List of item names included in the transaction. |
| node | string | Node number where the transaction was processed. |
| openBy | string | Name of the employee who opened or created the original transaction. |
| qty | integer | Quantity of the item. |
| reason | string | Reason provided for the exchange transaction. |
| saleId | string | Unique identifier of the sale record. |
| soldDate | string | Date on which the original item was sold. |
| tax | string | Tax amount applied to the transaction. |