PhoneUpload.wr
04-24-2017
This method uploads an phone list file from your computer to your list library.
Parameters
- Number : callsetid - Callout set ID of the campaign you wish to add this list to. 9999999 for no campaign.
- String : Filename - Arbitrary name of the phone list file being uploaded.
- Binary : Filedata - Form encoded phone list file content.
Useage
Example Request
POST /phoneUpload.wr HTTP/1.1
Host: api.voicebroadcasting.com
Content-Type: multipart/form-data; boundary=------------GI3KM7GI3Ij5GI3gL6cH2gL6Ij5KM7
Content-Length: 503
------------GI3KM7GI3Ij5GI3gL6cH2gL6Ij5KM7
Content-Disposition: form-data; name="Filename"
call_list.csv
------------GI3KM7GI3Ij5GI3gL6cH2gL6Ij5KM7
Content-Disposition: form-data; name="sidtoken"
000000000000000000000000000
------------GI3KM7GI3Ij5GI3gL6cH2gL6Ij5KM7
Content-Disposition: form-data; name="callsetid"
9999999
------------GI3KM7GI3Ij5GI3gL6cH2gL6Ij5KM7
Content-Disposition: form-data; name="Filedata"; filename="call_list.csv"
Content-Type: application/octet-stream
***BINARY OR TEXT DATA***
------------GI3KM7GI3Ij5GI3gL6cH2gL6Ij5KM7--
Example Response
{"fileid":"php4C5ABC_8887","numcount":2345,"requestid":"V55881_APPEND_108399"}