I am new to CRM 2016 Web API.
I am trying to create a new contact record, but got
“The remote server returned an error: (500) Internal Server Error.”
Hard to debug without detailed error.
Following is the Json I am sending out:
{
"contactid":"2ce32e4d-29a0-424a-96c6-3a0359276612",
"parentcustomerid_account@odata.bind":"\/accounts(78D3E1AD-CF14-48D3-8E8D-1178C52B510C)",
"firstname":"TestFirstName",
"lastname":"TestLastName",
"jobtitle":"Software Design Engineer",
"address1_city":"Redmond",
"address1_country":"USA",
"address1_postalcode":"98052",
"address1_stateorprovince":"WA",
"telephone1":"425-123-4567",
"emailaddress1":"test@APITest.com",
"statecode":0
}
Anyone knows what is wrong?
*This post is locked for comments