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 .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/ApproveAd HTTP/1.1 
Host: api.firstlook.biz 
Content-Type: text/csv
Content-Length: length

OldPrice,NewPrice,Ver,Dealer,Inventory,SpecialPrice,UserName
0,0,String,0,0,0,String

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

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