User Tools

Site Tools


webapi:examples:inventory_changes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
webapi:examples:inventory_changes [2020/02/10 10:33 (4 years ago)] kevinwebapi:examples:inventory_changes [2020/02/20 11:03 (4 years ago)] kevin
Line 11: Line 11:
 </note> </note>
  
-Sample call requesting the first 1000 inventory filtered by ecommerce and last update data. +Sample call requesting the first 100 inventory filtered by ecommerce and last update data. 
-http://127.0.0.1:8080/Windward/WebAPI/Inventory/InventoryChanges?EffectiveDate=2019-01-01&eCommerceExport=Y&PageSize=1000+http://127.0.0.1:8080/Windward/WebAPI/Inventory/InventoryChanges?EffectiveDate=2019-01-01&eCommerceExport=Y&PageSize=100
  
 ===== Sample Inventory Pseudocode ===== ===== Sample Inventory Pseudocode =====
Line 42: Line 42:
 </code> </code>
  
-===== Get_Part_Changes =====+===== TServerMethodsWebAPI\Get_Part_Changes =====
 <note tip>This endpoint is not recommended to use for any large amounts of data as it is known to have speed performance issues and is not efficient. <note tip>This endpoint is not recommended to use for any large amounts of data as it is known to have speed performance issues and is not efficient.
 </note> </note>
-The TServerMethodsWebAPI/Get_Part_Changes returns the list of Part Unique numbers that have changed since the Effective Date.  It translates inside the API using an XML DOM which has a memory and performance impact.  If you are using this end point, we strongly recommend updating to use Inventory/InventoryChanges. 
  
-Back to [[:webapi_swagger_documentation#samples|Swagger Samples]]+The TServerMethodsWebAPI/Get_Part_Changes returns the list of Part Unique numbers that have changed since the Effective Date.  It translates inside the API using an XML DOM which has a memory and performance impact.  If you are using this endpoint for thousands of inventory, we recommend updating to use Inventory/InventoryChanges. 
 + 
 +===== TServerMethodsWebAPI\Get_Parts ===== 
 +This endpoint returns pricing data that can cause confusion in developers around sale pricing. 
 +  * If your dataset has the department features enabled, we allow different sale dates to be defined in each department.  This method returns the value of a single department only. 
 + 
 +It is recommended that you use Inventory/Inventory/{InventoryID} to obtain information including sales dates for all departments in the JSON payload. 
 + 
 +===== TServerMethodsWebAPI\Get_Part_Prices ===== 
 +When requesting pricing with a date that is outside a sales date set, the endpoint will return IsOnSale as false with the sales price set to the regular sales price. 
 + 
 +It is recommended that you use Inventory/Inventory/{InventoryID} to obtain inventory information. 
 + 
 +Back to [[:webapi_swagger_documentation#samples|WebAPI Samples]]
webapi/examples/inventory_changes.txt · Last modified: 2020/02/20 13:57 (4 years ago) by kevin