Table of Contents

API : PBX : SIP phone models Download Picture

Introduction

This request is used to download/get/show a picture of the SIP phone model.

The picture is a PNG at 200×200 pixels.

Request

URL https://api.telecomx.dk/pbx/sipphonemodels/SIPPHONEMODEL_ID/picture
Method GET
Access level VIEWER, MANAGER, OWNER, RESELLER, ADMIN.
Params SIPPHONEMODEL_ID Id of SIP phone model to download picture for.

Request example

https://api.telecomx.dk/pbx/sipphonemodels/1234567890ABCDEF1234578/picture

Response

Binary image data: PNG at 200×200 pixels.

Example

N/A

Errors

Error code Message Description
400 bad_request Id not found in request URI
404 picture Picture not found
500 internal_error File not found in database
500 internal_error <unspecified>