FirstLookServices

<back to all web services

ApproveAd

The following routes are available for this service:
GET,POST/{ver}/approveAd/dealers/{dealer}/inventory/{inventory}
GET,POST/approveAd/dealers/{dealer}/inventory/{inventory}

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/ApproveAd HTTP/1.1 
Host: api.firstlook.biz 
Content-Type: application/json
Content-Length: length

{"OldPrice":0,"NewPrice":0,"Ver":"String","Dealer":0,"Inventory":0,"SpecialPrice":0,"UserName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"AdApproved":false,"ChangeInternetPriceResults":{"Principal":{"AuthorityName":"String","User":{"UserName":"String","FirstName":"String","LastName":"String"},"Handle":"00000000000000000000000000000000"},"Arguments":{"UserName":"String","BusinessUnitId":0,"InventoryId":0,"NewListPrice":0},"ListPriceUpdate":{"InventoryId":0,"OldListPrice":0,"NewListPrice":0}}}