Home Support SMS API

Upload Incoming Ring of Agent Group

Description: Upload Incoming Ring of Agent Group.

Request Parameters Description:

Parameters Description Required Type

fileName

File name with suffix, 5-32 characters

Yes

String

file

Base64 encoded file content (for base64 encoding conversion, please see the JAVA sample code at the bottom of this method). File size 1Mb, Only supports MP3 WAV

Yes

String

Request URL:

                    
                        https://api.onbuka.com/v3/cc/seatGroup/upload
                    
                  

Request Sample:

                                                
                                                    Request URL:
                                                        https://api.onbuka.com/v3/cc/seatGroup/upload
                                                    Request Method:
                                                        POST
                                                    Request Headers:
                                                        Content-Type: application/json;charset=UTF-8
                                                        Sign: 05d7a50893e22a5c4bb3216ae3396c7c
                                                        Timestamp: 1630468800
                                                        Api-Key: bDqJFiq9
                                                    Request Body:
                                                    {
                                                        "fileName":"test.mp3",
                                                        "file":"Base64 encoded file content"
                                                    }
                                                
                  

Response Parameters Description:

Parameters Description Type

status

status code,0 is successful. For other failures, please refer to the interface response code

String

reason

Failure reason description

String

data

 

Object

fileName

File name

String

fileUrl

File path

String

Response Sample:

                                                
                                                    {
                                                        "status": "0",
                                                        "reason": "success",
                                                        "data": {
                                                            "fileName": "turnseatring-template/120250106d88d71eb084746fcb7c77a4922d82ed1.mp3",
                                                            "fileUrl":"http://xxx"
                                                        }
                                                    }
                                                
                  
 

Previous Topic: Recording File Deletion
Next Topic: BUKA SDK

Feedback

0/500

Need help?

Click here and start chatting with us!