POS365.VN APIs

<back to all web services

ProductSuppliers

Requires Authentication
Required permission:Product_Read
The following routes are available for this service:
All Verbs/api/products/{Id}/suppliers
ProductSuppliers Parameters:
NameParameterData TypeRequiredDescription
IdpathlongNo
Includesquerystring[]No
ODataReq Parameters:
NameParameterData TypeRequiredDescription
OrderbyformstringNo
SelectformstringNo
FilterformstringNo
Skipformint?No
Topformint?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

HTTP + JSON

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

POST /api/products/{Id}/suppliers HTTP/1.1 
Host: api.pos365.vn 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Id":0,"Includes":["String"],"$orderby":"String","$select":"String","$filter":"String","$skip":0,"$top":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"ProductId":0,"PartnerId":0,"Supplier":{"Code":"String","Name":"String","Phone":"String"},"Cost":0,"NewCost":0,"PlanToChangeCost":"0001-01-01T00:00:00.0000000Z"}]