The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
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,
price: 0,
original_price: 0
}
],
combo_inside:
[
{
id: 0,
unit_id: 0,
quantity: 0,
amount: 0,
price: 0,
original_price: 0
}
],
price: 0,
original_price: 0
}
],
combo_inside:
[
{
id: 0,
unit_id: 0,
quantity: 0,
amount: 0,
spends:
[
{
id: 0,
unit_id: 0,
quantity: 0,
amount: 0,
price: 0,
original_price: 0
}
],
combo_inside:
[
{
id: 0,
unit_id: 0,
quantity: 0,
amount: 0,
price: 0,
original_price: 0
}
],
price: 0,
original_price: 0
}
],
price: 0,
original_price: 0
}
]
}
]
}