GET | /Fina/Orders |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
D1 | query | DateTime | No | |
D2 | query | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | List<FinaOrder> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
order_id | form | int | No | |
tdate | form | DateTime | No | |
close_date | form | DateTime | No | |
store_id | form | int | No | |
customer_id | form | int? | No | |
total_amount | form | decimal | No | |
money_cash | form | decimal | No | |
money_terminals | form | List<FinaOrderTerminal> | No | |
products | form | List<FinaOrderProduct> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
terminal_id | form | int | No | |
amount | form | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
id | form | int | No | |
unit_id | form | int | No | |
quantity | form | decimal | No | |
amount | form | decimal | No | |
spends | form | List<FinaOrderProduct> | No | |
combo_inside | form | List<FinaOrderProduct> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv 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: 0001-01-01, close_date: 0001-01-01, 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 } ] } ] } ] } ] }