Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Parts Locator Response

...

Object Formats

Code Block
languagejs
firstline1
linenumberstrue
{
	"TotalRecords": "",
	"Items": [{
		"Address": {
			"AddrLine1": "",
			"AddrLine2": "",
			"AddrLine3": "",
			"AddrLine4": "",
			"AddrType": "",
			"City": "",
			"Country": "",
			"Intersection": "",
			"Lat": "",
			"Lon": "",
			"Region": "",
			"Zip": ""
		},
		"AvailableQty": 5.0,
		"Distance": 1.5,
		"Contact": {
			"Email": "",
			"FirstName": "",
			"IsPrimary": true,
			"LastName": "",
			"Phones": [{
				"PhoneNum": "",
				"PhoneType": ""
			}]
		},
		"Name": "",
		"LocationType": ""
	}]
}

Include Page
_Parts Locator Response Object Formats
_Parts Locator Response Object Formats

Parts Locator Response Object Properties

PropertyTypeDescription
TotalRecordsintegerThe total number of records returned within the response body.
Itemsobject

This object provides details associated with the technicians and warehouses retrieved from the parts locator request.

PropertyTypeDescription
AddressobjectThe address of the source. If it is a warehouse, the address will be populated along latitude and longitude. If the address is not known (as in the case for a technician), only the latitude and longitude will be popluated. see (
REST Object Definitions
Account Location Related Objects Address Object)
AvailableQtydecimalThe total number of available parts specified in the request
DistancedecimalTotal distance (as the crow flies) from the source's last known location. The unit of measure (mi/km) is determined by the input parameter.
Contactobject

Contact Details (see

REST Object Definitions


NamestringThe source's name
LocationTypestring

Include Page
_Storage Location Activity Codes
_Storage Location Activity Codes