Get LaptopOwner Mapping
Select
SaaS
Customer Managed
API to get the list of laptop owner mappings
Query Parameters
- companyId int32
Id of the company for which the laptop owner mapping needs to be returned
Responses
- 200
- 404
- 503
OK
- application/json
- Schema
- Example (from schema)
- Example-1
Schema
laptopOwnerMapping object[]
id int32Unique Id
serialNumber stringThis is the serial number
laptopName stringname of the laptop
host stringhost name of the laptop
ownerEmail stringEmail address of the owner
ownerUPN stringUPN of the owner
osType stringPossible values: [
MAC
,WIN
]OS type of the laptop. Can be LINUX or MAC
company object
id int32name stringconfigured booleanThis indicates if the laptop has been installed or not
client object
id int32name stringerror object
errorMessage stringerrorCode int32
{
"laptopOwnerMapping": [
{
"id": 0,
"serialNumber": "string",
"laptopName": "string",
"host": "string",
"ownerEmail": "string",
"ownerUPN": "string",
"osType": "MAC",
"company": {
"id": 0,
"name": "string"
},
"configured": true,
"client": {
"id": 0,
"name": "string"
}
}
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
{
"laptopOwnerMapping": [
{
"id": 1,
"serialNumber": "D57946E7-02DB-4596-8B59-FA9D80C023ED",
"laptopName": "laptop1",
"host": "1.1.1.1",
"ownerEmail": "a@b.com",
"ownerUPN": "string",
"osType": "MAC",
"company": {
"id": 1,
"name": "Company1"
}
}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Service Unavailable
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Loading...