| PUT | /SaveFstReceipts |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Receipt | body | Receipts | No | |
| appname | body | string | No | |
| hostname | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ReceiptId | form | Guid | No | |
| ReceiptNum | form | int | No | |
| BranchId | form | int | No | |
| FstNum | form | int | No | |
| ShiftId | form | int? | No | |
| Opdt | form | DateTime | No | |
| Dccardid | form | string | No | |
| Prods | form | List<ReceiptProds> | No | |
| Payments | form | List<ReceiptPayments> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecId | form | Guid | No | |
| ReceiptId | form | Guid | No | |
| FuelId | form | int | No | |
| Scount | form | decimal | No | |
| Price | form | decimal | No | |
| Vg | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecId | form | Guid | No | |
| ReceiptId | form | Guid | No | |
| PaytypeId | form | int | No | |
| Vg | form | decimal | No | |
| FiscalNumber | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /SaveFstReceipts HTTP/1.1
Host: axfuel.apex.ge
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Receipt":{"ReceiptId":"00000000000000000000000000000000","ReceiptNum":0,"BranchId":0,"FstNum":0,"ShiftId":0,"Opdt":"\/Date(-62135596800000-0000)\/","Dccardid":"String","Prods":[{"RecId":"00000000000000000000000000000000","ReceiptId":"00000000000000000000000000000000","FuelId":0,"Scount":0,"Price":0,"Vg":0}],"Payments":[{"RecId":"00000000000000000000000000000000","ReceiptId":"00000000000000000000000000000000","PaytypeId":0,"Vg":0,"FiscalNumber":"String"}]},"appname":"String","hostname":"String"}
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"}}}