Assets
Get assets
Returns a list of assets with all details for the specified location. Enter the trade parameter to make your request more specific. <br /> You can use the GET/assets/{assetId} method to get the details of a particular asset.
get/assets/locations/{locationId}
Request
- Base URLhttps://sb2api.servicechannel.com/v3
- AuthOAuth 2Authorization codehttps://sb2login.servicechannel.com/oauth/authorizeToken URLhttps://sb2login.servicechannel.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
locationIdinteger required
Unique numeric identifier of the location you want to retrieve assets details of.
Query parameters
tradestring
Trade of an asset type the asset is assigned to, for example, CARPENTRY or PLUMBING
tradeIdinteger
Trade id of an asset type the asset is assigned to.
Response
The assets for the specified location are in the response.
Changes
No recorded changes to this operation across all 1 revision of this API.