POS365.VN APIs

<back to all web services

InventoryCountGet

Requires Authentication
Required permission:InventoryCount_Read
The following routes are available for this service:
GET/api/inventorycount/{Id}
InventoryCountGet Parameters:
NameParameterData TypeRequiredDescription
IdpathlongNo
Includesquerystring[]No
InventoryCount Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
CodeformstringNo
BranchIdformintNo
RetailerIdformintNo
StatusformshortNo
AdjustedByformlong?No
AdjustmentDateformDateTime?No
CreatedDateformDateTimeNo
CreatedByformlongNo
ModifiedByformlong?No
ModifiedDateformDateTime?No
DescriptionformstringNo
InventoryCountDetailsformICollection<InventoryCountDetail>No
InventoryCountDetail Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
InventoryCountIdformlongNo
ProductIdformlongNo
OnHandformdoubleNo
ActualCountformdoubleNo
CostformdecimalNo
ReasonOfDiffformstringNo
SerialNumbersformstringNo
IsLargeUnitformbool?No
ConversionValueformdouble?No
ExpiryDateformDateTime?No
ProductformProductNo
Product Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
CodeformstringNo
NameformstringNo
AttributesNameformstringNo
CategoryIdformlong?No
DescriptionformstringNo
PriceformdecimalNo
PriceLargeUnitformdecimalNo
ProductTypeformbyteNo
ConversionValueformdoubleNo
UnitformstringNo
LargeUnitformstringNo
IsSerialNumberTrackingformboolNo
CreatedDateformDateTimeNo
CreatedByformlongNo
ModifiedDateformDateTime?No
ModifiedByformlong?No
RetailerIdformintNo
IsPercentageOfTotalOrderformboolNo
SplitForSalesOrderformboolNo
OrderQuickNotesformstringNo
PrinterformstringNo
Hiddenformbool?No
IsTimerformbool?No
Coefficientformdouble?No
BonusPointformdoubleNo
ShowOnBranchIdformstringNo
BonusPointForAssistantformdoubleNo
BonusPointForAssistant2formdoubleNo
BonusPointForAssistant3formdoubleNo
PriceConfigformstringNo
BlockOfTimeToUseServiceformintNo
IsPriceForBlockformboolNo
FormularformstringNo
PositionformlongNo
LargeUnitCodeformstringNo
Code2formstringNo
Code3formstringNo
Code4formstringNo
Code5formstringNo
CategoryformCategoryNo
CompositeItemProductsformICollection<CompositeItem>No
ProductAttributesformICollection<ProductAttribute>No
ProductImagesformICollection<ProductImage>No
Category Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
NameformstringNo
ImageURLformstringNo
DescriptionformstringNo
ParentIdformlong?No
RetailerIdformintNo
CreatedDateformDateTimeNo
CreatedByformlongNo
ModifiedDateformDateTime?No
ModifiedByformlong?No
ShowOnBranchIdformstringNo
PositionformlongNo
ParentformCategoryNo
CompositeItem Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ProductIdformlongNo
ItemIdformlongNo
QuantityformdoubleNo
RetailerIdformintNo
QuantityLargeUnitformdoubleNo
ItemformProductNo
ProductAttribute Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ProductIdformlongNo
AttributeNameformstringNo
AttributeValueformstringNo
RetailerIdformintNo
ProductImage Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ProductIdformlongNo
ImageURLformstringNo
ThumbnailUrlformstringNo
IsDefaultformboolNo

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/inventorycount/{Id} HTTP/1.1 
Host: api.pos365.vn 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<InventoryCount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.Data">
  <AdjustedBy>0</AdjustedBy>
  <AdjustmentDate>0001-01-01T00:00:00</AdjustmentDate>
  <BranchId>0</BranchId>
  <Code>String</Code>
  <CreatedBy>0</CreatedBy>
  <CreatedDate>0001-01-01T00:00:00</CreatedDate>
  <Description>String</Description>
  <Id>0</Id>
  <InventoryCountDetails i:nil="true" />
  <ModifiedBy>0</ModifiedBy>
  <ModifiedDate>0001-01-01T00:00:00</ModifiedDate>
  <RetailerId>0</RetailerId>
  <Status>0</Status>
</InventoryCount>