All Verbs | /api/autocomplete/products |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Keyword | query | string | No | |
ExcludeService | query | bool | No | |
ExcludeComposite | query | bool | No | |
ExcludeSerial | query | bool | No | |
IncludeInventory | query | bool | No | |
IncludeLatestPrice | query | bool | 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/autocomplete/products HTTP/1.1
Host: api.pos365.vn
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Keyword":"String","ExcludeService":false,"ExcludeComposite":false,"ExcludeSerial":false,"IncludeInventory":false,"IncludeLatestPrice":false}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length [{"OnHand":0,"TotalOnHand":0,"RecentPurchasePrice":0,"RecentPurchasePriceLargeUnit":0,"OnOrder":0,"MinQuantity":0,"MaxQuantity":0,"Cost":0,"PriceByBranch":0,"PriceByBranchLargeUnit":0,"CompareMinQuantity":0,"CompareMaxQuantity":0,"SerialNumber":"String","ExpiryDate":"0001-01-01T00:00:00.0000000Z","ExpireIn":0,"Id":0,"Code":"String","Name":"String","AttributesName":"String","CategoryId":0,"Description":"String","Price":0,"PriceLargeUnit":0,"ProductType":0,"ConversionValue":0,"Unit":"String","LargeUnit":"String","IsSerialNumberTracking":false,"CreatedDate":"0001-01-01T00:00:00.0000000Z","CreatedBy":0,"ModifiedDate":"0001-01-01T00:00:00.0000000Z","ModifiedBy":0,"RetailerId":0,"IsPercentageOfTotalOrder":false,"SplitForSalesOrder":false,"OrderQuickNotes":"String","Printer":"String","Hidden":false,"IsTimer":false,"Coefficient":0,"BonusPoint":0,"ShowOnBranchId":"String","BonusPointForAssistant":0,"BonusPointForAssistant2":0,"BonusPointForAssistant3":0,"PriceConfig":"String","BlockOfTimeToUseService":0,"IsPriceForBlock":false,"Formular":"String","Position":0,"LargeUnitCode":"String","Code2":"String","Code3":"String","Code4":"String","Code5":"String","Category":{"Id":0,"Name":"String","ImageURL":"String","Description":"String","ParentId":0,"RetailerId":0,"CreatedDate":"0001-01-01T00:00:00.0000000Z","CreatedBy":0,"ModifiedDate":"0001-01-01T00:00:00.0000000Z","ModifiedBy":0,"ShowOnBranchId":"String","Position":0,"Parent":{"Id":0,"Name":"String","ImageURL":"String","Description":"String","ParentId":0,"RetailerId":0,"CreatedDate":"0001-01-01T00:00:00.0000000Z","CreatedBy":0,"ModifiedDate":"0001-01-01T00:00:00.0000000Z","ModifiedBy":0,"ShowOnBranchId":"String","Position":0,"Parent":}}}]