on ‎2018 Jun 28 2:26 PM
Hi Experts,
I'm trying to create an OData Service to create registered products in our C4C system. According to the documentation of the BO I first need to create an Individual Product and then an type 2 Installation Point. So I've created the OData Service for BO IndividualProduct. GET works fine, but with POST I always get an error "Please enter a reference product ID."
The OData Service:

The JSON Request (in Postman):

referencedProductId is assigned to ServiceProcessInformation\ReferencedProductKey\ProductID. And the specified ID does exist.
The result:

I've tested with Potsman and the build in C4C test tool. Same results.
Any ideas why C4C thinks it's missing the referenced product?
Best regards
Jan
Request clarification before answering.
Hi,
stupid me, found the problem. The value I used for referencedProductId was actually an Individual Product itself, and not the product that I wanted to reference.
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jan,
I want to create Registered Product via webservices/OData in ByD, but I think C4C and ByD share the same BOs in this case.
Could you please share with me your OData service ?
Thank you in advance.
Elio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.