FirstLookServices

<back to all web services

DealerCampaigns

The following routes are available for this service:
GET/{ver}/DealerCampaigns/{dealerId}/{inventoryId}/{IsActiveOnly}
GET/{ver}/DealerCampaigns/{dealerId}/{inventoryId}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/DealerCampaigns HTTP/1.1 
Host: api.firstlook.biz 
Content-Type: text/csv
Content-Length: length

Ver,DealerId,InventoryId,IsActiveOnly
String,0,0,False

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

campaignId,businessUnitId,discountType,dealerDiscount,manufacturerRebate,creationDate,expirationDate,inventoryId,isActive,activatedBy,deactivatedBy,activatedDate,deactivatedDate,campaignName,createdBy,campaignFilter,hasBeenExpired,discountTypeDescription