Branding Customization
API calls for interaction with images that used for branding of the panel.
The Navixy platform can be branded through the Admin Panel by customizing various elements to reflect your company’s identity. You can upload your company’s logo and favicon to be displayed on the platform, wallpaper and logos in documents such as PDF and Excel reports.
API actions
API path: panel/dealer/settings/image.
upload
Uploads image of specified type.
MUST be a POST multipart request (multipart/form-data), with one of the parts being an image file upload (with the name "file").
File part mime type must be one of:
image/jpegimage/pjpegimage/pngimage/gifimage/webpimage/x-icon(for favicon type)
required permissions: service_settings: "update".
Parameters
type
Image type to delete. Can be one of logo, favicon, login_wallpaper, desktop_wallpaper, document_logo.
string
file
Image file.
string
redirect_target
Optional. A URL to redirect.
string
If redirect_target passed a return redirect to response=<urlencoded response json>.
Response
{
"success": true
}Errors
201 - Not found in the database - when there are no settings for dealer in the db.
233 - No data file - if
filepart not passed.234 - Invalid data format - if passed
filewith unexpectedmimetype.236 - Feature unavailable due to tariff restrictions - if branding feature disabled for this dealer.
254 - Cannot save file - on some file system errors.
delete
Deletes an image of specified type.
required permissions: service_settings: "update".
Parameters
type
Image type to delete. Can be one of logo, favicon, login_wallpaper, desktop_wallpaper, document_logo.
string
Examples
curl -X POST 'https://api.eu.navixy.com/v2/panel/dealer/settings/image/delete' \
-H 'Content-Type: application/json' \
-d '{"hash": "fa7bf873fab9333144e171372a321b06", "type": "logo"}'https://api.eu.navixy.com/v2/panel/dealer/settings/image/delete?hash=fa7bf873fab9333144e171372a321b06&type=logoResponse
{
"success": true
}Errors
201 - Not found in the database - when there are no settings for a dealer in the db.
Last updated
Was this helpful?