Chuyển đến nội dung chính

getDeviceId

Mô tả

Lấy thông tin về ứng dụng

Parameters

N/A

Return Value

Tên dataKiểu dữ liệuMô tả
deviceIdstringID của thiết bị

Mã Lỗi

N/A

Code và Dữ liệu trả về mẫu

Yêu cầu gửi đi mẫu:

window.zlpSdk.Device.getDeviceId()
.then((response) => console.log(response))
.catch((error) => console.error(error.errorCode));

Dữ liệu trả về mẫu:

{
"data": {
"deviceId": "QWERTYUII237007652"
},
"status": "success"
}