Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Web API Request - Create contact and Case in one request

$
0
0

Hi All,

I am trying to create contact and case in one web api request using the following link

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/create-entity-web-api#create-related-table-rows-in-one-operation

Following is my code 

{
"casetypecode":2
title":"Test Case Web aPI",
"customerid_contact"  :{
"firstname""Test Contact with Case with Note"
"lastname""Web APi Call",  
"emailaddress1""abc@abc.com"
"telephone1""231497979"
}
}
However I am getting following error : 
"You should specify a contact or account."
Any help in this regard highly appreciated.
Thanks

Viewing all articles
Browse latest Browse all 79901

Trending Articles