User Tools

Site Tools


api:flexcare:videochat:listsms

API : Flexcare : Videochat : List sms

Introduction

This endpoints retrives all sms based on the customer

Request

URL https://api.telecomx.dk/flexcare/videochat/sms
Method GET
Access level RESELLER, ADMIN
Params customer ObjectId Id of the customer.

Query example

https://api.telecomx.dk/flexcare/videochat/sms?customer=1234567890123457890CCCC

Response

JSON object
sms Array List of sms's
meetings []._id ObjectId Unique id of a sms.
meetings [].customer ObjectId Id of the customer.
meetings [].name String Name of the message.
meetings [].message String The message to send.

Example

{
    sms: [
       {
          _id: ObjectId('1234567890123457890CCCC'),
          customer: ObjectId('1234567890123457890CCCC'),
          name: 'Sundhed undersøgelse',
          message: 'Til at deltage i mødet tryk på linket %meeting_url%'
       } 
    ]
}

Errors

Error code Message Description
403 token Access denied
404 customer Customer not found
422 Invalid data Data is not valid in query
500 internal_error <Unspecified>
api/flexcare/videochat/listsms.txt · Last modified: 2025/11/10 12:21 by Gudni Sigurdsson

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki