Last active
January 14, 2019 14:40
-
-
Save activeprospect-support/36d29fe420b3f2685639 to your computer and use it in GitHub Desktop.
Sample duplicate lead.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v -X POST | |
https://app.leadconduit.com/flows/5462c7eb76fefd217d333552/sources/5462c7fb745fb567baf2e093/submit \ | |
-H ‘Accept:application/json` \ | |
-H `Content-Type:application/x-www-form-urlencoded` \ | |
-d `first_name=Jane&last_name=Doe&phone_1=(512)%20789-2222&email=janed%40test.com&mortgage.property.state=TX&mortgage.loan.purpose=purchase&mortgage.loan.amount=200000&mortgage.loan.down_payment=20000&mortgage.property.use=primary&mortgage.property.type=single%20family&mortgage.property.postal_code=78751’ | |
> HTTP/1.1 201 Created | |
> Connection: keep-alive | |
> Content-Length: 87 | |
> Content-Type: application/json | |
> Date: Wed, 12 Nov 2014 02:53:48 GMT | |
> | |
> { "outcome": "failure", "reason": "duplicate", "lead": { "id": "5462cdc5869bdb81148ece11" }, "price": 0 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment