Skip to main content

Hi all,

 

I can’t seem to figure out how to use the “ProdStructureSet by key”. I get the following error when I try to fill out the BomType using either 'Manufacturing' or IfsApp.ProductStructureHandling.ShopOrdCode'Manufacturing'

{
"error": {
"code": "ODATA_PROVIDER_ERROR",
"message": "An internal server error occurred. Contact administrator.",
"details": e
{
"code": "INVALID_KEY_PROPERTY",
"message": "The key property 'BomType' is invalid."
}
]
}
}

Here’s an example of what the url looks like

domain/int/ifsapplications/projection/v1/myprojection.svc/ProdStructureSet(AlternativeNo='*',BomType=IfsApp.ProductStructureHandling.ShopOrdCode'Manufacturing',Contract='contract',EngChgLevel='1',PartNo='somepartno',LineItemNo=1).

 

Any help will be appreciated. 🙂

You need to reference the projection you have. I guess it is not called “myprojection” but something else? If you have modeled “myprojection” like in ProductStructureHandling it shall be:

IfsApp.”Myprojection”.ShopOrdCode'Manufacturing'

If not you can check the odata documentation found in the API explorer for that projection.


Ah thank you Thomas.

I got it working with ProductStructureHandling.svc now just for testing.


Reply