Document toolboxDocument toolbox

Parts Locator REST API

3.18.0

The Parts Locator REST API provides the ability to retrieve all technicians and warehouses for a specific work center having the requested part in their inventory storage location.

Resource URL Summary

Retrieve a list of all matching Technicians and Warehouses

POST /seiapi/v3/PartsLocator

HTTP Headers

This API uses the default ServiceMobility HTTP Headers.



API Specifics

Retrieve a list of all matching Technicians and Warehouses

This REST API will retrieve a list of all matching technicians and warehouses for the user's work center, where the storage locations contain the requested part number.

URL

POST /seiapi/v3/PartsLocator

HTTP Request Body

The HTTP request body must contain a valid Parts Locator Object.

HTTP Response Body

The HTTP response body, on success, will contain a Parts Locator Response Object. Otherwise, on error, the response body will contain a descriptive reason for the error. 

JSON Format
{
	"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": ""
	}]
}