All Verbs | /api/setting/updatefeatureconfiguration |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Settings | query | DetachedPosSetting | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DifferentiatedproductsbyWarehouse | form | bool | No | |
DifferentPriceByWarehouse | form | bool | No | |
DiscountMethod | form | int | No | |
ValueToPoint | form | double | No | |
PointToValue | form | double | No | |
ExcludeOrderDiscount | form | bool | No | |
ExcludeProductDiscount | form | bool | No | |
VAT | form | int | No | |
VATMethod | form | int | No | |
AllowChangePrice | form | bool | No | |
AllowChangeSubTotal | form | bool | No | |
AllowChangeSalespeople | form | bool | No | |
LimitTransactionTime | form | bool | No | |
StockControlWhenSelling | form | bool | No | |
AllowPrintPreview | form | bool | No | |
CostMethod | form | int | No | |
ReturnHistory | form | bool | No | |
ChangeTimer | form | bool | No | |
NotAllowUpdateOrder | form | int | No | |
ElectronicWeightScaleCodeLength | form | int | No | |
ElectronicWeightScaleCode | form | string | No | |
ElectronicWeightScaleCom | form | string | No | |
IPFilterConfiguration | form | string | No | |
BlockOfTimeToUseService | form | int | No | |
PRP80DPI | form | int | No | |
A4DPI | form | int | No | |
PRPKitchen80DPI | form | int | No | |
ReceiptPrinterName | form | string | No | |
KitchenAPrinterName | form | string | No | |
KitchenBPrinterName | form | string | No | |
KitchenCPrinterName | form | string | No | |
KitchenDPrinterName | form | string | No | |
BartenderAPrinterName | form | string | No | |
BartenderBPrinterName | form | string | No | |
BartenderCPrinterName | form | string | No | |
BartenderDPrinterName | form | string | No | |
BarCodePrinterName | form | string | No | |
PrintKitchenAfterSave | form | bool | No | |
PoleDisplay | form | string | No | |
PoleDisplayBaudRate | form | int | No | |
QrCodeEnable | form | bool | No | |
VTQrCodeEnable | form | bool | No | |
BankAccount | form | string | No | |
BankAccountName | form | string | No | |
BankId | form | string | No | |
BankBIN | form | string | No | |
SNSoundBox | form | string | No | |
MerchantCode | form | string | No | |
MerchantName | form | string | No | |
VTMerchantCode | form | string | No | |
VTMerchantName | form | string | No | |
VTAccessCode | form | string | No | |
VTHashKey | form | string | No | |
SelfOrderPrepayment | form | bool | No | |
SelfOrderEnable | form | bool | No | |
SelfOrderIP | form | string | No | |
SmartPOS_MCC | form | string | No | |
SecondMonitor | form | string | No | |
MapObjects | form | string | No | |
ProductPositions | form | string | No | |
TimeZoneId | form | string | No | |
ApplyInvoiceService | form | string[] | No | |
IsApplyFirebase | form | bool | No | |
VATOnRevenuePercent | form | int | No | |
eInvoiceProvider | form | string | No | |
eInvoiceVNPT | form | string | No | |
eInvoiceFAST | form | string | No | |
eInvoiceVIETTEL | form | string | No | |
eInvoiceVNPAY | form | string | No | |
eInvoiceHILO | form | string | No | |
eInvoiceCYBERLOTUS | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/setting/updatefeatureconfiguration HTTP/1.1
Host: api.pos365.vn
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Settings":{"DifferentiatedproductsbyWarehouse":false,"DifferentPriceByWarehouse":false,"DiscountMethod":0,"ValueToPoint":0,"PointToValue":0,"ExcludeOrderDiscount":false,"ExcludeProductDiscount":false,"VAT":0,"VATMethod":0,"AllowChangePrice":false,"AllowChangeSubTotal":false,"AllowChangeSalespeople":false,"LimitTransactionTime":false,"StockControlWhenSelling":false,"AllowPrintPreview":false,"CostMethod":0,"ReturnHistory":false,"ChangeTimer":false,"NotAllowUpdateOrder":0,"ElectronicWeightScaleCodeLength":0,"ElectronicWeightScaleCode":"String","ElectronicWeightScaleCom":"String","IPFilterConfiguration":"String","BlockOfTimeToUseService":0,"PRP80DPI":0,"A4DPI":0,"PRPKitchen80DPI":0,"ReceiptPrinterName":"String","KitchenAPrinterName":"String","KitchenBPrinterName":"String","KitchenCPrinterName":"String","KitchenDPrinterName":"String","BartenderAPrinterName":"String","BartenderBPrinterName":"String","BartenderCPrinterName":"String","BartenderDPrinterName":"String","BarCodePrinterName":"String","PrintKitchenAfterSave":false,"PoleDisplay":"String","PoleDisplayBaudRate":0,"QrCodeEnable":false,"VTQrCodeEnable":false,"BankAccount":"String","BankAccountName":"String","BankId":"String","BankBIN":"String","SNSoundBox":"String","MerchantCode":"String","MerchantName":"String","VTMerchantCode":"String","VTMerchantName":"String","VTAccessCode":"String","VTHashKey":"String","SelfOrderPrepayment":false,"SelfOrderEnable":false,"SelfOrderIP":"String","SmartPOS_MCC":"String","SecondMonitor":"String","MapObjects":"String","ProductPositions":"String","TimeZoneId":"String","ApplyInvoiceService":["all"],"IsApplyFirebase":true,"VATOnRevenuePercent":0,"eInvoiceProvider":"String","eInvoiceVNPT":"String","eInvoiceFAST":"String","eInvoiceVIETTEL":"String","eInvoiceVNPAY":"String","eInvoiceHILO":"String","eInvoiceCYBERLOTUS":"String"}}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {Unable to show example output for type 'IDictionary`2' using the custom 'csv' filter}Cannot dynamically create an instance of type 'System.Collections.Generic.IDictionary`2[System.String,System.Object]'. Reason: Cannot create an instance of an interface.