ApexERPHost

<back to all web services

GetFinaOrders

Requires Authentication
The following routes are available for this service:
GET/Fina/Orders
GetFinaOrders Parameters:
NameParameterData TypeRequiredDescription
D1queryDateTimeNo
D2queryDateTimeNo
GetFinaOrdersResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<FinaOrder>No
FinaOrder Parameters:
NameParameterData TypeRequiredDescription
order_idformintNo
tdateformDateTimeNo
close_dateformDateTimeNo
store_idformintNo
customer_idformint?No
total_amountformdecimalNo
money_cashformdecimalNo
money_terminalsformList<FinaOrderTerminal>No
productsformList<FinaOrderProduct>No
FinaOrderTerminal Parameters:
NameParameterData TypeRequiredDescription
terminal_idformintNo
amountformdecimalNo
FinaOrderProduct Parameters:
NameParameterData TypeRequiredDescription
idformintNo
unit_idformintNo
quantityformdecimalNo
amountformdecimalNo
spendsformList<FinaOrderProduct>No
combo_insideformList<FinaOrderProduct>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Fina/Orders HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"order_id":0,"tdate":"\/Date(-62135596800000-0000)\/","close_date":"\/Date(-62135596800000-0000)\/","store_id":0,"customer_id":0,"total_amount":0,"money_cash":0,"money_terminals":[{"terminal_id":0,"amount":0}],"products":[{"id":0,"unit_id":0,"quantity":0,"amount":0,"spends":[{"id":0,"unit_id":0,"quantity":0,"amount":0,"spends":[{"id":0,"unit_id":0,"quantity":0,"amount":0}],"combo_inside":[{"id":0,"unit_id":0,"quantity":0,"amount":0}]}],"combo_inside":[{"id":0,"unit_id":0,"quantity":0,"amount":0,"spends":[{"id":0,"unit_id":0,"quantity":0,"amount":0}],"combo_inside":[{"id":0,"unit_id":0,"quantity":0,"amount":0}]}]}]}]}