Home Support SMS API

Upload Callee Number Excel

Description: Upload callee number excel.

Request Parameters Description:

Parameters Description Required Type

fileName

File name 5-32 bits

Yes

String

file

base64 file stream

Yes

String

Request URL:

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

Request Sample:

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

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

JSONObject

filePath

File path

String

numberTotalCount

Number of numbers

Integer

numberSameCount

Number of duplicate numbers

Integer

Response Sample:

                                                
                                                    {
                                                        "status": "0",
                                                        "reason": "success",
                                                        "data":{
                                                            "filePath":"/mnt/cc/a.xls",
                                                            "numberTotalCount":1,
                                                            "numberSameCount":2
                                                        }
                                                    }
                                                
                  
 

Previous Topic: Recording File Deletion
Next Topic: BUKA SDK

Feedback

0/500

Need help?

Click here and start chatting with us!