curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/deviceprofiles' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"device-models-brand": "Grandstream",
"device-models-model": "WP826",
"device-models-type": "phone",
"profile-page-count": 1,
"profile-sidecar-support": "[]",
"buttons": [
{
"profile-button-index": 1,
"profile-button-type": "line_only",
"profile-button-position": "[1650,615]",
"profile-button-settings": ""
},
{
"profile-button-index": 2,
"profile-button-type": "line_only",
"profile-button-position": "[1765,615]",
"profile-button-settings": ""
},
{
"profile-button-index": 3,
"profile-button-type": "line_only",
"profile-button-position": "[1880,615]",
"profile-button-settings": ""
},
{
"profile-button-index": 4,
"profile-button-type": "mpk",
"profile-button-position": "[1788,1823]",
"profile-button-settings": ""
}
],
"device_image_filetype": "image/png",
"device_image_filesize": 99078,
"device_image_height": 2480,
"device_image_width": 3508,
"device_image_default_position": "{\"x\":-194,\"y\":-67,\"zoom\":1.4}"
}'