Advertisement
avulcan

Previously Successful Call

Dec 13th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.88 KB | None | 0 0
  1. curl -X POST \
  2.   https://api-chdev.inchcape.com:443/sit-lead-v2-api/api/lead-exp-api-v2/v2/lead \
  3.   -H 'Content-Type: application/json' \
  4.   -H 'Postman-Token: 688e07bc-ee8b-4163-9911-9b48de44fc93' \
  5.   -H 'cache-control: no-cache' \
  6.   -H 'x-client-Id: sit-test-cex-2017' \
  7.   -H 'x-client-secret: j)%5ZH.m^' \
  8.   -d '{"lead-request":{"lead":{"ExternalId":"SPX_Lead_2018-12-03T14:20:55Z_2680","BusinessId":"Trivett Australia","SourceSystem":"Website","CustomerType":"Individual","ExternalCustomerId":"1787","FirstName":"Iulia","LastName":"Dardai","EmailAddress":"iulia.dardai@pitechnologies.ro","MobilePhone":"45345345","StandardAddressPostcode":"8234","SMSOptIn":false,"MobilePhoneOptIn":false,"EmailOptIn":false,"LeadType":"Sales","LeadForm":"Build Your Own","DealerDepartment":"New Vehicle Sales","LeadDateTime":"2018-12-03T14:20:55Z","LeadChannel":"e-Commerce","LeadTemperature":"Hot","leadProducts":[{"ExternalId":"SPX_Lead_2018-12-03T14:20:55Z_2680","BusinessId":"Trivett Australia","SourceSystem":"Website","ProductType":"Current Vehicle","ProductCode":"CURRENTVEHICLE","Price":-12875.0,"Quantity":1.0,"VIN":"JF1GGEKJ35G029751","TradeIn":true,"TradeInValue":-12875.0,"VehicleBrand":"Subaru","VehicleModel":"Impreza","ThirdPartyModelCode":"IMPREZA","VehicleModelYear":"2016","VehicleType":"CAR","VehicleOdometerReading":"12345","VehicleTransmissionType":"Manual","VehicleBodyStyle":"Sedan","RegistrationNumber":"S123ABC","EcommerceURL":"http:\/\/inchcape-px-qa.dev.pitechplus.com\/?px-valuation-token=8f9b473886c1fbced27f8fe109178b1f","VehicleCondition":"Average","ImportedVehicle":true,"VehicleServiceHistory":"Yes, partial","TyreCondition":"New","VehicleDamage":"No, normal wear and tear","WarningLights":"No lights on","FinanceOwing":false,"ExternalValuationId":"8f9b473886c1fbced27f8fe109178b1f","ValuationTimestamp":"2018-12-03T14:20:06Z","ValuationExpiry":"2018-12-17T14:20:06Z","ValuationStatus":"Active"}]}}}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement