Select
Devices
Operations with devices
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Organization name as it is registered in Mas-Stack |
deviceId | path | integer(int64) | true | Identifier of the device |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | success | DeviceDto |
400 | Bad Request | Bad Request | Error400 |
404 | Not Found | Not found | Error404 |
500 | Internal Server Error | Internal Server Error | Error500 |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Organization name as it is registered in Mas-Stack |
identifier | query | string | true | The imei or the device serial number |
identifierType | query | string | false | The type of identifier provided |
Enumerated Values
Property | Values |
---|---|
identifierType | one of [IMEI, SERIALNUMBER] |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | success | DeviceDto |
400 | Bad Request | Bad Request | Error400 |
404 | Not Found | Not found | Error404 |
500 | Internal Server Error | Internal Server Error | Error500 |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Organization name as it is registered in Mas-Stack |
body | body | DeviceDto | false | Information needed to insert a device |
Request body - instance of DeviceDto
|
|
Name | Type | Required | Description |
---|---|---|---|
deviceId | integer(int64) | false | none |
imei | string | false | none |
imei2 | string | false | none |
serialNumber | string | false | none |
brand | string | false | none |
model | string | false | none |
reference | string | false | none |
color | string | false | none |
deviceType | string | false | none |
orderNumber | string | false | none |
providerDeliveryId | string | false | none |
loadDate | string(date) | false | none |
inputDate | string(date) | false | none |
createDate | string(date) | false | none |
updateDate | string(date) | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | DeviceDto |
400 | Bad Request | Bad Request | Error400 |
404 | Not Found | Not found | Error404 |
500 | Internal Server Error | Internal Server Error | Error500 |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Organization name as it is registered in Mas-Stack |
body | body | DeviceDto | true | Information needed to update a device |
Request body - instance of DeviceDto
|
|
Name | Type | Required | Description |
---|---|---|---|
deviceId | integer(int64) | false | none |
imei | string | false | none |
imei2 | string | false | none |
serialNumber | string | false | none |
brand | string | false | none |
model | string | false | none |
reference | string | false | none |
color | string | false | none |
deviceType | string | false | none |
orderNumber | string | false | none |
providerDeliveryId | string | false | none |
loadDate | string(date) | false | none |
inputDate | string(date) | false | none |
createDate | string(date) | false | none |
updateDate | string(date) | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | DeviceDto |
400 | Bad Request | Bad Request | Error400 |
404 | Not Found | Not found | Error404 |
500 | Internal Server Error | Internal Server Error | Error500 |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | Organization name as it is registered in Mas-Stack |
body | body | DeviceDto | false | Information to search a device |
Request body - instance of DeviceDto
|
|
Name | Type | Required | Description |
---|---|---|---|
deviceId | integer(int64) | false | none |
imei | string | false | none |
imei2 | string | false | none |
serialNumber | string | false | none |
brand | string | false | none |
model | string | false | none |
reference | string | false | none |
color | string | false | none |
deviceType | string | false | none |
orderNumber | string | false | none |
providerDeliveryId | string | false | none |
loadDate | string(date) | false | none |
inputDate | string(date) | false | none |
createDate | string(date) | false | none |
updateDate | string(date) | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | [DeviceDto] |
400 | Bad Request | Bad Request | Error400 |
404 | Not Found | Not found | Error404 |
500 | Internal Server Error | Internal Server Error | Error500 |
200 - instance of DeviceDto
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
deviceId | integer(int64) | false | none |
imei | string | false | none |
imei2 | string | false | none |
serialNumber | string | false | none |
brand | string | false | none |
model | string | false | none |
reference | string | false | none |
color | string | false | none |
deviceType | string | false | none |
orderNumber | string | false | none |
providerDeliveryId | string | false | none |
loadDate | string(date) | false | none |
inputDate | string(date) | false | none |
createDate | string(date) | false | none |
updateDate | string(date) | false | none |
Endpoints
Base products
Products
Characteristics
Delivery commitment
Inputs
Input Types
Outputs
Output Types
Stock
Physical Warehouse
Virtual Warehouse
Returns
Devices
Providers
Logistic Operators
Commercial Brands
Commercial Distributions
Status
Categories
Purposes
Regions
Countries
Receptors
Characteristics Values
Sales Channel
Tenant group brand
Organizations
Sap Ordering
Report importer