- API Access Guide
- Common HTTP Status Codes
- VNNOX
- Player
- Solutions
- Real-Time Control
- Scheduled Control
- Logs
- Notifications
- VNNOXCare
- Notes
- Device Status Monitoring
- Brightness Log
- Others
- Third-Party System Authorization
Common Solutions
US
https://open-us.vnnox.com
US
https://open-us.vnnox.com
POST
/v2/player/program/normal
TIP
1.
2.
3.
4.
Request
Body Params application/json
playerIds
array[string]
required
schedule
object
optional
startDate
string
required
endDate
string
required
plans
array [object {3}]
required
pages
array [object {3}]
required
name
string
required
schedules
array [object {3}]
optional
widgets
array [anyOf]
required
Supported Widget Types: (PICTURE | GIF | VIDEO | ARCH_TEXT | SIMPLE_RSS | HTML | STREAM_MEDIA | BOX | WEATHER | DRAWN_DIGITAL_CLOCK | RT_MEDIA)
Each element in the array is dynamic type (AnyOf), it may be any of the following subtypes, specifically according to the type within it.
noticeUrl
string
optional
Example
{
"playerIds": [
"553cbfe2ff4ad2e0d6bd89bb2c4e85e2"
],
"schedule": {
"startDate": "2020-04-11",
"endDate": "2060-05-12",
"plans": [
{
"weekDays": [
1,
2,
3,
4,
5
],
"startTime": "00:00:00",
"endTime": "22:00:00"
},
{
"weekDays": [
0,
6
],
"startTime": "00:33:00",
"endTime": "22:00:00"
}
]
},
"pages": [
{
"name": "a-page",
"widgets": [
{
"zIndex": 1,
"type": "PICTURE",
"size": 25943,
"md5": "8330dcaa949ceeafa54a66e8ad623300",
"duration": 10000,
"url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/test.jpg",
"layout": {
"x": "0%",
"y": "0%",
"width": "100%",
"height": "100%"
},
"inAnimation": {
"type": "NONE",
"duration": 1000
}
},
{
"zIndex": 2,
"type": "VIDEO",
"size": 1227710,
"md5": "f5b0f315800cb4befb89b5dff42f1e34",
"duration": 0,
"url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/nova2019.mp4",
"layout": {
"x": "0%",
"y": "20%",
"width": "20%",
"height": "20%"
}
}
]
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-us.vnnox.com/v2/player/program/normal' \
--header 'Content-Type: application/json' \
--data-raw '{
"playerIds": [
"553cbfe2ff4ad2e0d6bd89bb2c4e85e2"
],
"schedule": {
"startDate": "2020-04-11",
"endDate": "2060-05-12",
"plans": [
{
"weekDays": [
1,
2,
3,
4,
5
],
"startTime": "00:00:00",
"endTime": "22:00:00"
},
{
"weekDays": [
0,
6
],
"startTime": "00:33:00",
"endTime": "22:00:00"
}
]
},
"pages": [
{
"name": "a-page",
"widgets": [
{
"zIndex": 1,
"type": "PICTURE",
"size": 25943,
"md5": "8330dcaa949ceeafa54a66e8ad623300",
"duration": 10000,
"url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/test.jpg",
"layout": {
"x": "0%",
"y": "0%",
"width": "100%",
"height": "100%"
},
"inAnimation": {
"type": "NONE",
"duration": 1000
}
},
{
"zIndex": 2,
"type": "VIDEO",
"size": 1227710,
"md5": "f5b0f315800cb4befb89b5dff42f1e34",
"duration": 0,
"url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/nova2019.mp4",
"layout": {
"x": "0%",
"y": "20%",
"width": "20%",
"height": "20%"
}
}
]
}
]
}'
Responses
🟢200OK
application/json
Body
success
array[string]
required
fail
array[string]
required
Example
{
"success": [
"8cd86b94c6617c5d771fb91224b45685"
],
"fail": []
}