User Tools

Site Tools


api:flexcare:videochat:updatesms

API : Flexcare : Videochat : Update sms

Introduction

This endpoints updates a sms

Request

URL https://api.telecomx.dk/flexcare/videochat/sms/SMS_ID
Method POST
Access level RESELLER, ADMIN
Params SMS_ID Id of the sms
Body _id ObjectId Id of sms
customer ObjectId Id of the customer
name String Name of the message
message String Sms message to send to invites

Query example

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

Response

JSON object
sms Array List of sms's
sms []._id ObjectId Unique id of a sms.
sms [].customer ObjectId Id of the customer.
sms [].name String Name of the message.
sms [].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 sms SMS not found
404 customer Customer not found
422 Invalid data Data is not valid in query or body
500 internal_error <Unspecified>
api/flexcare/videochat/updatesms.txt · Last modified: 2025/11/10 12:58 by Gudni Sigurdsson

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki