POS365.VN APIs

<back to all web services

PurchaseOrderGetDetailForEdit

Requires Authentication
Required permission:PurchaseOrder_Read
The following routes are available for this service:
GET/api/orderstock/detailforedit
PurchaseOrderGetDetailForEdit Parameters:
NameParameterData TypeRequiredDescription
PurchaseOrderIdquerylongNo

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

HTTP + XML

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

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

<ArrayOfPurchaseOrderGetDetailForEditResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.Repositories">
  <PurchaseOrderGetDetailForEditResult>
    <AttributesName>String</AttributesName>
    <Code>String</Code>
    <Code2>String</Code2>
    <Code3>String</Code3>
    <Code4>String</Code4>
    <Code5>String</Code5>
    <ConversionValue>0</ConversionValue>
    <Description>String</Description>
    <ExpiryDate>0001-01-01T00:00:00</ExpiryDate>
    <IsLargeUnit>false</IsLargeUnit>
    <IsSerialNumberTracking>false</IsSerialNumberTracking>
    <LargeUnit>String</LargeUnit>
    <Name>String</Name>
    <OnHand>0</OnHand>
    <Price>0</Price>
    <PriceLargeUnit>0</PriceLargeUnit>
    <PriceUnit>0</PriceUnit>
    <ProductId>0</ProductId>
    <Quantity>0</Quantity>
    <SellingLargeUnitPrice>0</SellingLargeUnitPrice>
    <SellingPrice>0</SellingPrice>
    <SerialNumbers>String</SerialNumbers>
    <Unit>String</Unit>
  </PurchaseOrderGetDetailForEditResult>
</ArrayOfPurchaseOrderGetDetailForEditResult>