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


Overview

Provides the developer with unique machine IDs.
The unique IDs have to be used to retrieve/submit information about specific machines.


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 objects with 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


Error Message

Error codeReason
403- ForbiddenUnauthorized scope request

Code Sample

CURL

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

Postman

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)