X-User-Token: ********************{
"device_sn": "8PHDM8D0010121",
"device_cmd_data": {
"devices": [
{
"sn": "8PHDM8D0010121"
}
]
}
}curl --location --request POST 'https://es-flight-api-cn.djigate.com/openapi/v1.0/manage/api/v1/organizations//manage-devices/cmds/get-dock-network-conf' \
--header 'X-Request-Id: {{$string.uuid}}' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_sn": "8PHDM8D0010121",
"device_cmd_data": {
"devices": [
{
"sn": "8PHDM8D0010121"
}
]
}
}'{
"code": 0,
"message": "OK",
"data": {
"bid": "fe6e5729-1977-4628-bbf4-dcc02aa79f98",
"tid": "",
"timestamp": 0,
"status": "ok",
"job_document": null,
"data": null,
"output": {
"devices": [
{
"sn": "8PHDM8L0010322",
"is_dhcp": 1,
"phy_interface_mac": "e4:7a:2c:ea:56:ee",
"phy_interface_name": "eth0",
"phy_interface_state": 3,
"static_ip_conf": {
"dock_gateway_ip": "10.66.63.254",
"dock_ip": "10.66.62.231",
"dock_pri_DNS_ip": "10.15.1.17",
"dock_sec_DNS_ip": "10.15.1.18",
"netmask": "255.255.254.0"
}
}
]
}
}
}