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)

POST entity in batch request with alternative key binding

(0) ShareShare
ReportReport
Posted on by

Hi All

Following call fails to create record:

--batch_bb9c263c-723a-40e6-a14c-721ff866443b
Content-Type: application/http
Content-Transfer-Encoding:binary

POST https://[OrganizationName].api.crm11.dynamics.com/api/data/v9.1/crb7c_erpids HTTP/1.1
Content-Type: application/json;type=entry


{"crb7c_givenpostcode": "TestPostCode","crb7c_spenddaterange": "Test Batch 1", "crb7c_name": "test@Name", "crb7c_erpid": "1234599TEST", "crb7c_SupplierAccountId@odata.bind" : "/crb7c_supplieraccountses(crb7c_oxygenuid='966d86d5-3356-4956-8ad7-09ba855900d0')"}

--batch_bb9c263c-723a-40e6-a14c-721ff866443b--


Using Postman I get an error:

{"error":{"code":"0x80040217","message":"crb7c_supplieraccounts With Id = 966d86d5-3356-4956-8ad7-09ba855900d0 Does Not Exist","innererror":{"message":"crb7c_supplieraccounts With Id = 966d86d5-3356-4956-8ad7-09ba855900d0 Does Not Exist...

I have alternative key set up on Supplier entity and I can do GET request using it.

Where could be the problem?

*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