Pobierz listę użytkowników
GET
/api/v3/Users
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Users';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Users \ --header 'Authorization: Bearer <token>'Wymaga roli administratora.
User can only call this endpoint when he has role ADMINISTRATOR
Autoryzacja
Dział zatytułowany „Autoryzacja”Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Typ treściapplication/json
Array<object>
object
id
integer format: int64
login
string
fullName
string
email
string
roles
Array<string>
timeZone
object
id
string
hasIanaId
boolean
displayName
string
standardName
string
daylightName
string
baseUtcOffset
object
ticks
integer format: int64
days
integer format: int32
hours
integer format: int32
milliseconds
integer format: int32
microseconds
integer format: int32
nanoseconds
integer format: int32
minutes
integer format: int32
seconds
integer format: int32
totalDays
number format: double
totalHours
number format: double
totalMilliseconds
number format: double
totalMicroseconds
number format: double
totalNanoseconds
number format: double
totalMinutes
number format: double
totalSeconds
number format: double
supportsDaylightSavingTime
boolean
loginMethod
integer format: int32
keyValues
Array<object>
object
id
integer format: int64
createdAt
string format: date-time
updatedAt
string format: date-time
version
integer format: int32
value
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
object recursive
root
object
object recursive
userId
integer format: int64
key
string
defaultPrinter
object
printerConnectionId
integer format: int64
printerId
integer format: int64
allowedPrinters
Array<object>
object
printerConnectionId
integer format: int64
printerId
integer format: int64
defaultPrinters
Array<object>
object
printerConnectionId
integer format: int64
printerId
integer format: int64
packStationId
integer format: int64
Examplegenerated
[ { "id": 1, "login": "example", "fullName": "example", "email": "example", "roles": [ "example" ], "timeZone": {}, "loginMethod": 1, "keyValues": [ { "id": 1, "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z", "version": 1, "value": { "additionalProperty": {} }, "userId": 1, "key": "example" } ], "defaultPrinter": { "printerConnectionId": 1, "printerId": 1 }, "allowedPrinters": [ { "printerConnectionId": 1, "printerId": 1 } ], "defaultPrinters": [ { "printerConnectionId": 1, "printerId": 1 } ], "packStationId": 1 }]Server Error

