POS365.VN APIs

<back to all web services

PurchaseOrderAddProductBySupplier

Requires Authentication
Required permission:PurchaseOrder_Read
The following routes are available for this service:
GET/api/orderstock/getbysupplier
PurchaseOrderAddProductBySupplier Parameters:
NameParameterData TypeRequiredDescription
SupplierIdquerylongNo

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/orderstock/getbysupplier HTTP/1.1 
Host: api.pos365.vn 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"Code":"String","Code2":"String","Code3":"String","Code4":"String","Code5":"String","Name":"String","AttributesName":"String","Quantity":0,"ProductId":0,"Description":"String","IsSerialNumberTracking":false,"SerialNumbers":"String","Price":0,"SellingPrice":0,"SellingLargeUnitPrice":0,"Unit":"String","LargeUnit":"String","IsLargeUnit":false,"PriceLargeUnit":0,"PriceUnit":0,"ConversionValue":0,"ExpiryDate":"0001-01-01T00:00:00.0000000Z","OnHand":0}]