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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans