PartnerHub

<back to all web services

UPChange

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/UPChange HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: application/json
Content-Length: length

{"UPInfo":{"Id":"string/00000000-0000-0000-0000-000000000000","UPId":"00000000000000000000000000000000","SerialNumber":"String","ProspectId":"00000000000000000000000000000000","DateCreated":"0001-01-01T00:00:00.0000000Z","Notes":"String","CreatedUserRef":"00000000000000000000000000000000","AssignedUserRef":0,"AssignedEmployeeRef":"00000000000000000000000000000000","AssignedUserName":"String","IntegrationType":0,"IntegrationId":"00000000000000000000000000000000","Source":0,"SourceDesc":"String","Status":0,"StatusDesc":"String","ContactTitle":"String","FirstName":"String","MiddleName":"String","LastName":"String","LanguagePreference":"String","HomePhone":"String","CellPhone":"String","BusinessPhone":"String","Email":"String","Address":"String","City":"String","State":"String","ZIP":"String","LeadId":"String","ThirdPartySourceRef":"00000000000000000000000000000000","ProspectSourceRef":"00000000000000000000000000000000","ProspectSource":"String","AutoReplyDate":"0001-01-01T00:00:00.0000000Z","ManualReplyDate":"0001-01-01T00:00:00.0000000Z","ImportedDate":"0001-01-01T00:00:00.0000000Z","AssignedDate":"0001-01-01T00:00:00.0000000Z","ParentRef":"00000000000000000000000000000000","LeadSource":0,"LeadSourceDesc":"String","Interests":[{"StockNumber":"String","VIN":"String","Year":"String","Make":"String","Model":"String","Odometer":"String","Options":"String","Trim":"String","InterestType":"String","Notes":"String"}],"Trades":[{"StockNumber":"String","VIN":"String","Year":"String","Make":"String","Model":"String","Odometer":"String","Options":"String","Trim":"String","InterestType":"String","Notes":"String"}],"LastUpdate":"0001-01-01T00:00:00.0000000Z","CustomFields":[{"Key":"String","Value":"String","Type":"String"}]},"IsAsynchronous":false,"UserRequest":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"WasSuccessful":false,"Message":"String","ReferenceId":"String","ReferenceNumber":"String"}