POS365.VN APIs

<back to all web services

UpdateFeatureConfiguration

Requires Authentication
The following routes are available for this service:
All Verbs/api/setting/updatefeatureconfiguration
UpdateFeatureConfiguration Parameters:
NameParameterData TypeRequiredDescription
SettingsqueryDetachedPosSettingNo
PosSetting Parameters:
NameParameterData TypeRequiredDescription
DifferentiatedproductsbyWarehouseformboolNo
DifferentPriceByWarehouseformboolNo
DiscountMethodformintNo
ValueToPointformdoubleNo
PointToValueformdoubleNo
ExcludeOrderDiscountformboolNo
ExcludeProductDiscountformboolNo
VATformintNo
VATMethodformintNo
AllowChangePriceformboolNo
AllowChangeSubTotalformboolNo
AllowChangeSalespeopleformboolNo
LimitTransactionTimeformboolNo
StockControlWhenSellingformboolNo
AllowPrintPreviewformboolNo
CostMethodformintNo
ReturnHistoryformboolNo
ChangeTimerformboolNo
NotAllowUpdateOrderformintNo
ElectronicWeightScaleCodeLengthformintNo
ElectronicWeightScaleCodeformstringNo
ElectronicWeightScaleComformstringNo
IPFilterConfigurationformstringNo
BlockOfTimeToUseServiceformintNo
PRP80DPIformintNo
A4DPIformintNo
PRPKitchen80DPIformintNo
ReceiptPrinterNameformstringNo
KitchenAPrinterNameformstringNo
KitchenBPrinterNameformstringNo
KitchenCPrinterNameformstringNo
KitchenDPrinterNameformstringNo
BartenderAPrinterNameformstringNo
BartenderBPrinterNameformstringNo
BartenderCPrinterNameformstringNo
BartenderDPrinterNameformstringNo
BarCodePrinterNameformstringNo
PrintKitchenAfterSaveformboolNo
PoleDisplayformstringNo
PoleDisplayBaudRateformintNo
QrCodeEnableformboolNo
VTQrCodeEnableformboolNo
BankAccountformstringNo
BankAccountNameformstringNo
BankIdformstringNo
BankBINformstringNo
SNSoundBoxformstringNo
MerchantCodeformstringNo
MerchantNameformstringNo
VTMerchantCodeformstringNo
VTMerchantNameformstringNo
VTAccessCodeformstringNo
VTHashKeyformstringNo
SelfOrderPrepaymentformboolNo
SelfOrderEnableformboolNo
SelfOrderIPformstringNo
SmartPOS_MCCformstringNo
SecondMonitorformstringNo
MapObjectsformstringNo
ProductPositionsformstringNo
TimeZoneIdformstringNo
ApplyInvoiceServiceformstring[]No
IsApplyFirebaseformboolNo
VATOnRevenuePercentformintNo
eInvoiceProviderformstringNo
eInvoiceVNPTformstringNo
eInvoiceFASTformstringNo
eInvoiceVIETTELformstringNo
eInvoiceVNPAYformstringNo
eInvoiceHILOformstringNo
eInvoiceCYBERLOTUSformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + 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.