My Oracle Support Banner

23B Release: Add Or Remove Of Child Asset From Parent Asset Via REST API Fails With Error (Doc ID 2950196.1)

Last updated on OCTOBER 12, 2023

Applies to:

Oracle Maintenance Cloud Service - Version to [Release 1.0]
Information in this document applies to any platform.


 In 23B, While trying to add or remove a child asset from parent asset via REST API by passing parent asset id (ParentAssetId) attribute along with the structure action code (StructureActionCode: ORA_ADD / ORA_REMOVE) in payload the request fails with below error

Error :

Attribute ParentAssetId in view object InstalledBaseAssets cannot be set.

Steps To Reproduce

1. Create a parent asset via API

2. Get the parent asset id

3. Create a child asset by passing the parameter ParentAssetId in the payload. 


Service  : fscmRestApi/resources/version/installedBaseAssets

Payload :

"Description": "TEST_CHILD_ASSET_01",
"OperatingOrganizationCode":"MNT ORG",

4. Payload fails with above error


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.