Get User Setup by ID

Prev Next
Get
/softera/softeraEInvoice/v2.0/companies({companyId})/usersSetup({userId})

Gets one User Setup record by its SystemId.

Security
OAuth
FlowClient Credentials
Token URLhttps://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token
Scopes:
https://api.businesscentral.dynamics.com/.defaultGrants the permissions assigned to the Microsoft Entra ID application in Business Central
Path parameters
companyId
string (uuid) Required

GUID for targeted Company

Example54c4066e-2b2b-4118-ac75-7dfea25be205
userId
string (uuid) Required

SystemId (GUID) of the User Setup record

Examplefc736cdb-25b0-ec11-8aa5-000d3ada935c
Responses
200

OK

object
id
string (uuid)
Examplefc736cdb-25b0-ec11-8aa5-000d3ada935c
number
string
Max length50
ExampleVARDAS.PAVARDE
fullName
string

Full name from the User table, looked up by the User Setup SystemId.

ExampleVardas Pavarde
type
string (email)

E-mail of the user from User Setup. The API property is named type.

Max length100
Exampleexample@gmail.com
lastModifiedDateTime
string (date-time)
Example2025-03-17T15:22:46.693Z
401

Unauthorized

Headers
WWW-Authenticate
string
Expand All
object
error
object
code
string
Default"Unauthorized"
message
string
Default"The credentials provided are incorrect"
404

Not Found

Expand All
object
error
object
code
string
ExampleBadRequest_ResourceNotFound
message
string
ExampleResource not found for the segment 'dimensionValues'. CorrelationId: fc7b9039-73d9-48d2-a9d3-9a8e0f8b91da.