You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Cannot add Tree Label when add tree node via REST API

Hi all,

I am able to add tree node to COA hierarchy by this API.

But I cannot add tree label in the request body, otherwise there will be error "The request content does not represent an action or it has an invalid structure."

If I did not add TreeLabelId in the request payload, when it's a parent value, the node can be created successfully with label field as blank.

How can I add Tree Label in this call?

{{baseURL}}/fscmRestApi/resources/11.13.18.05/fndTreeNodeOperations/action/addValueTreeNode

Request payload

{"treeStructureCode":"GL_ACCT_FLEX",         

"treeCode":"Bank Account AWX_COA",         

"treeVersionId":"0B31269674B6F09FE0635C601C0A7C2A",         

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!