API Method  setOfferBanners
    setOfferBanners
    Set offer banner information.

API Category
    Offer

HTTP Method
    POST

Request Call Example
HTTP:
POST /api/v2/setOfferBanners?key=yourapikey&offer_id=536 HTTP/1.1
Host: yourapplicationdomain
Content-Type: multipart/form-data;
Content-Disposition: form-data; name="file[0]"; filename="1.zip"
Content-Type: application/x-zip-compressed
 
Java:
Unirest.post("http://yourapplicationdomain/api/v2/setOfferBanners?key=yourapikey&offer_id=536").header("content-type", "multipart/form-data").body(Content-Disposition: form-data; name=\"file[0]\"; filename=\"C:\\Users\\Administrator\\Desktop\\banners\\1.zip\"\r\nContent-Type: application/zip\r\n").asString()

Parameters

Name Type Description
offer_id* Integer Offer Id
file[] File Array The banner files to be uploaded.