web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

issue creating From and To fields in phone call entity via api

(0) ShareShare
ReportReport
Posted on by

Hi, 

I am trying to create a phone call entity which in itself is working fine but when I am trying to populate a from and to field which is I believe Activity type Its not working. I am using REST API to create record.

Here is my request and response, please help:

 

{

"subject":"testxx",

    "mafs_callactivitytype":449590016,

                    "mafs_calloutcome":449590008,

                    "regardingobjectid_contact_phonecall@odata.bind":"/contacts(CE6B7F14-E3F3-4711-92BF-754597712ED2)",

                    "mafs_Solicitation_PhoneCall@odata.bind": "/mafs_solicitations(885D7B2A-6FE4-E711-8171-E0071B675C91)",

                   

                   

                    "phonecall_activity_parties": [

                                        {                                     

                                                            "partyid_systemuser@odata.bind" : "/teams(D710C504-0CC8-E711-816D-E0071B675C91)",

                                                            "participationtypemask" : 1                        

                                        },

                                        {

                                                            "partyid_contact@odata.bind":"/contacts(CE6B7F14-E3F3-4711-92BF-754597712ED2)",

                                                            "participationtypemask" : 2

                                       

                                        }

                    ],

                    "directioncode":true

}

 

 

And the response I received

 

{

  "errorSource": "Dynamics 365",

  "errorCode": "remote",

  "errorMessage": "A 'PrimitiveValue' node with non-null value was found when trying to read the value of the navigation property 'phonecall_activity_parties'; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected. [HTTP/1.1 400 Bad Request]",

  "errorDetail": "Dynamics 365 processing error"

}

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans