| GET | /POS/ChequeInfo |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StartDate | query | DateTime | No | |
| EndDate | query | DateTime | No | |
| PosNum | query | int | No | |
| OpTypes | query | List<int> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<ChequeInfo> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| receipt_id | form | Guid | No | ჩეკის ID |
| opdate | form | DateTime? | No | ოპერაციის თარიღი |
| batch_num | form | int | No | ცვლის ნომერი |
| optype | form | int | No | ოპერაციის ტიპი |
| receipt_link | form | int | No | დაკავშირებული ჩეკი |
| diplomat_id | form | string | No | დიპლომატის ნომერი |
| receipt_num | form | int | No | ჩეკის ნომერი |
| point | form | decimal | No | ქულა |
| opdt | form | DateTime? | No | გაყიდვის დრო |
| discount_card | form | string | No | ფასდაკლების ბარათი |
| discount_card_rate | form | decimal | No | ფასდაკლების ბარათი (პროცენტი) |
| VgSale | form | decimal | No | გაყიდვის ფასი |
| VgReturn | form | decimal | No | დაბრუნების ფასი |
| payment_name | form | string | 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 /POS/ChequeInfo HTTP/1.1 Host: 10.10.0.107 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:
[
{
receipt_id: 00000000000000000000000000000000,
opdate: 0001-01-01,
batch_num: 0,
optype: 0,
receipt_link: 0,
diplomat_id: String,
receipt_num: 0,
point: 0,
opdt: 0001-01-01,
discount_card: String,
discount_card_rate: 0,
VgSale: 0,
VgReturn: 0,
payment_name: String
}
]
}