Document toolboxDocument toolbox

Parts Locator Object

Parts Locator Object Formats

JSON Format
 {
	"UserName": "",
	"ProdNum": "",
	"Address": {
     	"AddrLine1": "",
     	"AddrLine2": "",
   	 	"AddrLine3": "",
   	 	"AddrLine4": "",
   	 	"City": "",
   	 	"Country": "",
   	 	"Lat" : "",
   	 	"Lon" : "",
   	 	"Region": "",
   	 	"Zip": ""
	},
	"RequestedQty": 10.0,
	"Distance": 10.0,
    "Unit": "km/mi"
}

Parts Locator Object Properties

Property
Type
Description
UserNamestringThe user who is requesting availability for a part.
ProdNumstringThe product number being requested.
AddressobjectAddress Details (see Account Location Related Objects Address Object). Note: Both Full address or only latitude and longitude may be used.
RequestedQtydecimalThe quantity of the specified product required.
DistancedecimalThe maximum distance (search radius).
UnitstringThe unit of measure returned for the search. Use mi for miles or km for kilometers.