Description

Method available starting from 5.1 version of Sippy.

The application supports trusted mode and i_customer parameter should be supplied in this case.

Initiate a new binary upload.


Parameters

  • i_upload_type - upload type. Integer. Mandatory. Call getDictionary(upload_types) to get all possible values.
  • process_on - date and time when to start processing the uploaded file. String in dateTime.iso8601 format in UTC format. Optional. Default is now.
  • expires_on - date and time until the URL for upload is valid. String in dateTime.iso8601 format in UTC . Optional. Default is now plus 1 day.
  • params - any optional parameters to be passed. Any type or structure supported by XMLRPC. Optional.


Returns

  • result - OK means that operation successful. String.
  • token - an unique token. String.
  • url - an unique URL to upload file to. String.


Implementation details

For routes upload the params parameter should be a structure with a valid i_destination_set integer value.

For rates upload the params parameter should be a structure with a valid i_tariff integer value.