File Handling in the SoftLayer API

From SoftLayer Development Network Wiki

(Redirected from Binary)
Jump to: navigation, search

At times the SoftLayer API requires users to send files to it (attaching files to tickets, for instance) and frequently returns file data upon request (retrieving invoice PDF's and bandwidth graphs, for instance). SoftLayer accepts and returns file data using Base64 MIME encoding under the data type base64Binary. Base64 encoding preserves data integrity for XML-based RPC transactions, and is easily decoded to raw binary data by most major programing and scripting languages.

Sending Files to the API

Use the SoftLayer_Container_Utility_File_Attachment container data type if you need to send file data to the API. A method's wiki page states if it requires a file attachment container parameter.

See Also

External Links

Personal tools