How to update the Business Workspace Reference using Extended ECM Platform REST API

Hi All,

any one know how to establish the workspacereferences for Workspaces using Extended ECM Platform REST API 16.2

I am trying to establish the reference using the below Rest Api, but getting the below error.

/api/v2/businessworkspaces/{node_id}/workspacereferences
form data:
node_id
bo_id

{
"error": "Should use either /extSystemId & boType/ or /boTypeId/ as input arguments"
}

Comments

  • Can some one please post your views please...

  • JAnkur
    JAnkur E
    edited June 12, 2023 #3

    Hi Sunil,

    Tried in POSTMAN as below and it worked: -

    Method type PUT

    URL:-

    http://localhost/otcs/cs.exe/api/v2/businessworkspaces/{node_id}/workspacereferences

    node_id is object ID of the manually created BWS.

    Headers:

    • OTCSTICKET
    • Content-Type: application/json

    and Body: x-www-form-urlencoded

    bo_id: <SAP ID of the object with which needs to be referenced>

    bo_type_id: <Business object type id>

    Hope this helps.

    Thanks and Regards,

    Ankur