Get User Profile
Get the profile of a user via email address.
You can use this request to check if a user has a license for an application:
The Global Discovery Service API returns information based on the set of tapio-Applications
that are assigned to the calling AAD-Application
. Make sure that the AAD-Application
you are using is assigned to the tapio-Application
you want to check licenses for in my tapio.
To check if the User
has a License
for your tapio-Application
you have to go through all Licenses
of of all Subscriptions
in the response and check if there is a License
with the id of your tapio-Application
(subscriptions[].licenses[].applicationId
JMESPath).
Licenses
can expire or be unassigned from a certain User
or Machine
.
It is not recommended to poll the Global Discovery Service API and detect those changes yourself.
Instead we encourage you to setup a CloudEvent endpoint and listen for License
-related changes.
Path Parameters
- email string required
Email address
- 200
- 400
- 401
- 404
Successful
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
- email string nullable
Email address
subscriptions object[] nullable
List of user profiles
Array [role string nullableUser role
subscriptionId uuidSubscription id
parentSubscriptionId uuid nullableParent subscription id
name string nullableSubscription name
tapioId string nullableTapio id
assignedMachines object[] nullable
Assigned machines
Array [tmid string nullableTapioMachineId
deviceType DeviceTypePossible values: [
Unknown
,Machine
,SmartDevice
]Device type
deviceSubType string nullableDevice sub-type. If Device type is set to "Machine", Device sub-type will only contain one the following values: "Unknown", "Edge", "Saw", "Cnc", "Sanding", "Drilling", "Assembly", "Storing", "Stock", "Sorting", "Shipping", "PreAssembly", "Lamination", "Moulding", "Packaging", "Handling"
displayName string nullableDisplay name
manufacturerSerialNumber string nullableSerial number given to the machine by its manufacturer.
onboardingDate date-timeThe date, when the machine has been added to the subscription
equipmentGroup object
Information about a group in the context of a machine, assigned to it.
id string nullableId of the equipment group.
groupPosition int32Position of the machine within the group.
assignedApplications object[] nullable
List of assigned applications for this machine
Array [id uuidApplication id
]]subscriptionTypes string[] nullable deprecatedSubscription Types
subscriptionType string nullableSubscription Type
subscriptionFeatures string[] nullableSubscription Features
servicePartners object[] nullable
Service partners
Array [subscriptionId uuidSubscription id
name string nullableService partner name
customerNumber string nullableCustomer number
parentSubscriptionId uuid nullableParent id
providerNo string nullableProvider number
servicePartnerType ServicePartnerTypePossible values: [
MachineService
,SharpeningService
]Service partner type
]licenses object[] nullable
Licenses
Array [licenseId uuidLicense id
applicationId uuidApplication id
createdDate date-timeLicense creation date
billingStartDate date-timeBilling start date
billingInterval string nullableBilling interval
licenseCount int32License count
]equipmentGroups object[] nullable
Equipment groups
Array [id string nullableEquipment group id
parentId string nullableId of the parent equipment group, or null if there is no parent.
displayName string nullableDisplay name
groupPosition int32Position of the machine within the group
placesCount int32Number of places in the equipment group
type GroupTypePossible values: [
Group
,Warehouse
,Root
]]servicePartnerType ServicePartnerTypePossible values: [
MachineService
,SharpeningService
]Service partner type
]
{
"email": "string",
"subscriptions": [
{
"role": "string",
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parentSubscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"tapioId": "string",
"assignedMachines": [
{
"tmid": "string",
"deviceType": "Unknown",
"deviceSubType": "string",
"displayName": "string",
"manufacturerSerialNumber": "string",
"onboardingDate": "2024-07-24T15:26:00.329Z",
"equipmentGroup": {
"id": "string",
"groupPosition": 0
},
"assignedApplications": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
}
],
"subscriptionType": "string",
"subscriptionFeatures": [
"string"
],
"servicePartners": [
{
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"customerNumber": "string",
"parentSubscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"providerNo": "string",
"servicePartnerType": "MachineService"
}
],
"licenses": [
{
"licenseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"applicationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-07-24T15:26:00.329Z",
"billingStartDate": "2024-07-24T15:26:00.329Z",
"billingInterval": "string",
"licenseCount": 0
}
],
"equipmentGroups": [
{
"id": "string",
"parentId": "string",
"displayName": "string",
"groupPosition": 0,
"placesCount": 0,
"type": "Group"
}
],
"servicePartnerType": "MachineService"
}
]
}
- Schema
- Example (from schema)
Schema
- email string nullable
Email address
subscriptions object[] nullable
List of user profiles
Array [role string nullableUser role
subscriptionId uuidSubscription id
parentSubscriptionId uuid nullableParent subscription id
name string nullableSubscription name
tapioId string nullableTapio id
assignedMachines object[] nullable
Assigned machines
Array [tmid string nullableTapioMachineId
deviceType DeviceTypePossible values: [
Unknown
,Machine
,SmartDevice
]Device type
deviceSubType string nullableDevice sub-type. If Device type is set to "Machine", Device sub-type will only contain one the following values: "Unknown", "Edge", "Saw", "Cnc", "Sanding", "Drilling", "Assembly", "Storing", "Stock", "Sorting", "Shipping", "PreAssembly", "Lamination", "Moulding", "Packaging", "Handling"
displayName string nullableDisplay name
manufacturerSerialNumber string nullableSerial number given to the machine by its manufacturer.
onboardingDate date-timeThe date, when the machine has been added to the subscription
equipmentGroup object
Information about a group in the context of a machine, assigned to it.
id string nullableId of the equipment group.
groupPosition int32Position of the machine within the group.
assignedApplications object[] nullable
List of assigned applications for this machine
Array [id uuidApplication id
]]subscriptionTypes string[] nullable deprecatedSubscription Types
subscriptionType string nullableSubscription Type
subscriptionFeatures string[] nullableSubscription Features
servicePartners object[] nullable
Service partners
Array [subscriptionId uuidSubscription id
name string nullableService partner name
customerNumber string nullableCustomer number
parentSubscriptionId uuid nullableParent id
providerNo string nullableProvider number
servicePartnerType ServicePartnerTypePossible values: [
MachineService
,SharpeningService
]Service partner type
]licenses object[] nullable
Licenses
Array [licenseId uuidLicense id
applicationId uuidApplication id
createdDate date-timeLicense creation date
billingStartDate date-timeBilling start date
billingInterval string nullableBilling interval
licenseCount int32License count
]equipmentGroups object[] nullable
Equipment groups
Array [id string nullableEquipment group id
parentId string nullableId of the parent equipment group, or null if there is no parent.
displayName string nullableDisplay name
groupPosition int32Position of the machine within the group
placesCount int32Number of places in the equipment group
type GroupTypePossible values: [
Group
,Warehouse
,Root
]]servicePartnerType ServicePartnerTypePossible values: [
MachineService
,SharpeningService
]Service partner type
]
{
"email": "string",
"subscriptions": [
{
"role": "string",
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parentSubscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"tapioId": "string",
"assignedMachines": [
{
"tmid": "string",
"deviceType": "Unknown",
"deviceSubType": "string",
"displayName": "string",
"manufacturerSerialNumber": "string",
"onboardingDate": "2024-07-24T15:26:00.331Z",
"equipmentGroup": {
"id": "string",
"groupPosition": 0
},
"assignedApplications": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
}
],
"subscriptionType": "string",
"subscriptionFeatures": [
"string"
],
"servicePartners": [
{
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"customerNumber": "string",
"parentSubscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"providerNo": "string",
"servicePartnerType": "MachineService"
}
],
"licenses": [
{
"licenseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"applicationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-07-24T15:26:00.331Z",
"billingStartDate": "2024-07-24T15:26:00.331Z",
"billingInterval": "string",
"licenseCount": 0
}
],
"equipmentGroups": [
{
"id": "string",
"parentId": "string",
"displayName": "string",
"groupPosition": 0,
"placesCount": 0,
"type": "Group"
}
],
"servicePartnerType": "MachineService"
}
]
}
- Schema
- Example (from schema)
Schema
- email string nullable
Email address
subscriptions object[] nullable
List of user profiles
Array [role string nullableUser role
subscriptionId uuidSubscription id
parentSubscriptionId uuid nullableParent subscription id
name string nullableSubscription name
tapioId string nullableTapio id
assignedMachines object[] nullable
Assigned machines
Array [tmid string nullableTapioMachineId
deviceType DeviceTypePossible values: [
Unknown
,Machine
,SmartDevice
]Device type
deviceSubType string nullableDevice sub-type. If Device type is set to "Machine", Device sub-type will only contain one the following values: "Unknown", "Edge", "Saw", "Cnc", "Sanding", "Drilling", "Assembly", "Storing", "Stock", "Sorting", "Shipping", "PreAssembly", "Lamination", "Moulding", "Packaging", "Handling"
displayName string nullableDisplay name
manufacturerSerialNumber string nullableSerial number given to the machine by its manufacturer.
onboardingDate date-timeThe date, when the machine has been added to the subscription
equipmentGroup object
Information about a group in the context of a machine, assigned to it.
id string nullableId of the equipment group.
groupPosition int32Position of the machine within the group.
assignedApplications object[] nullable
List of assigned applications for this machine
Array [id uuidApplication id
]]subscriptionTypes string[] nullable deprecatedSubscription Types
subscriptionType string nullableSubscription Type
subscriptionFeatures string[] nullableSubscription Features
servicePartners object[] nullable
Service partners
Array [subscriptionId uuidSubscription id
name string nullableService partner name
customerNumber string nullableCustomer number
parentSubscriptionId uuid nullableParent id
providerNo string nullableProvider number
servicePartnerType ServicePartnerTypePossible values: [
MachineService
,SharpeningService
]Service partner type
]licenses object[] nullable
Licenses
Array [licenseId uuidLicense id
applicationId uuidApplication id
createdDate date-timeLicense creation date
billingStartDate date-timeBilling start date
billingInterval string nullableBilling interval
licenseCount int32License count
]equipmentGroups object[] nullable
Equipment groups
Array [id string nullableEquipment group id
parentId string nullableId of the parent equipment group, or null if there is no parent.
displayName string nullableDisplay name
groupPosition int32Position of the machine within the group
placesCount int32Number of places in the equipment group
type GroupTypePossible values: [
Group
,Warehouse
,Root
]]servicePartnerType ServicePartnerTypePossible values: [
MachineService
,SharpeningService
]Service partner type
]
{
"email": "string",
"subscriptions": [
{
"role": "string",
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parentSubscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"tapioId": "string",
"assignedMachines": [
{
"tmid": "string",
"deviceType": "Unknown",
"deviceSubType": "string",
"displayName": "string",
"manufacturerSerialNumber": "string",
"onboardingDate": "2024-07-24T15:26:00.332Z",
"equipmentGroup": {
"id": "string",
"groupPosition": 0
},
"assignedApplications": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
}
],
"subscriptionType": "string",
"subscriptionFeatures": [
"string"
],
"servicePartners": [
{
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"customerNumber": "string",
"parentSubscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"providerNo": "string",
"servicePartnerType": "MachineService"
}
],
"licenses": [
{
"licenseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"applicationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-07-24T15:26:00.332Z",
"billingStartDate": "2024-07-24T15:26:00.332Z",
"billingInterval": "string",
"licenseCount": 0
}
],
"equipmentGroups": [
{
"id": "string",
"parentId": "string",
"displayName": "string",
"groupPosition": 0,
"placesCount": 0,
"type": "Group"
}
],
"servicePartnerType": "MachineService"
}
]
}
Bad request
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
- message string nullable
- details string[] nullable
{
"message": "string",
"details": [
"string"
]
}
- Schema
- Example (from schema)
Schema
- message string nullable
- details string[] nullable
{
"message": "string",
"details": [
"string"
]
}
- Schema
- Example (from schema)
Schema
- message string nullable
- details string[] nullable
{
"message": "string",
"details": [
"string"
]
}
Unauthorized
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
- message string nullable
- details string[] nullable
{
"message": "string",
"details": [
"string"
]
}
- Schema
- Example (from schema)
Schema
- message string nullable
- details string[] nullable
{
"message": "string",
"details": [
"string"
]
}
- Schema
- Example (from schema)
Schema
- message string nullable
- details string[] nullable
{
"message": "string",
"details": [
"string"
]
}
User not found
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
- message string nullable
- details string[] nullable
{
"message": "string",
"details": [
"string"
]
}
- Schema
- Example (from schema)
Schema
- message string nullable
- details string[] nullable
{
"message": "string",
"details": [
"string"
]
}
- Schema
- Example (from schema)
Schema
- message string nullable
- details string[] nullable
{
"message": "string",
"details": [
"string"
]
}