Machine info

Overview
Get machine info request
Get machine info response
Error Message
Code sample


Overview

Every machine, as it’s displayed in dView system, provides the unique machine ID in 3d Signals system.
The unique ID has to be used to retrieve/submit information regarding a specific machine.


Get machine info request

Pre step:

Method API

Method NamegetMachineInfo
URLhttps://developers.3dsignals.io/api/v1/mahcineInfo
HTTP MethodGET

Get machine info response

Response code 200 will contain a JSON file with a list of the machine’s objects with the following fields.

Field nameData TypeField description
machinesArray of objectsList of machines object

Where each object contains the following fields:

Field nameData TypeField description
machineDisplayNameobjectThe machine’s display name in dView
machineUniqueIdstringThe machine’s ID as defined in the 3d Signals cloud
factoryIdstringThe factory ID to which the machine belongs
factoryNamestringFactory Name

Example of response:


Error Message

Error codeReason
403- ForbiddenUnauthorized scope request

Code Sample

Postman

CURL

curl --location --request GET 'https://developers.3dsignals.io/api/v1/MahcineInfo' \
--header 'Authorization: Bearer "YOUR TOKEN" \'

Python

import requests

url = "https://developers.3dsignals.io/api/v1/MahcineInfo"
payload={}
headers = {
  'Authorization': 'Bearer "YOUR TOKEN" \\'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)