I have some code that submits an API request to nutshell. Here's a link to their API: [login to view URL]
My code (see attached) submits a new "Account" and then a new "contact" for that account. I also include some custom tags. However, nutshell's API is returning this when I try to submit the contact via API:
[login to view URL]: The remote server returned an error: (400) Bad Request. at [login to view URL]() at [login to view URL](Order order, Boolean FoundUSB, Boolean FoundWiFi, Boolean FoundCell, Boolean FoundNIST, Boolean FoundZpoint, Boolean FoundCloudPlan, Int32 AccountID) in c:\Program Files (x86)\Telerik\Sitefinity3.7\Websites\Ablecommerce\App_Code\[login to view URL]:line 298 { "id" : "HRNC51589", "method" : "newContact", "params" : { "contact" : { "name": "Tim Weeks", "owner" : { "entityType" : "Users", "id" : 1 }, "phone": [ "647-411-4440" ], "email": [ "" ], "customFields": { "Lifecycle Stage": "Customer" "CustomPurchased ": "True" } } } }
What is formatted incorrectly about this request? I'm sure it's gotta be a misplaced comma, semicolor or quote, but maybe not :)
Hoping for a solution today.