OfferFile::create Method

Create an offer file. Depending on the file type, this method may require a file be uploaded when called.

See Creative File Upload Script for a PHP script that handles uploading a file to your network.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
data ObjectOffer File model object data propertiesShow Supported Parameters
return_objectBooleanIf true, returns affected object; defaults to true

POST Response Notes

Returns the ID of the newly created offer file as an integer or returns the newly created offer file model object as an array if return_object is "true".

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.