Find out the Workspace iD in Appworks

Options

Hello guys,

am using the web service below to retrieve users of a position:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<getPositionUsers xmlns="http://schemas.cordys.com/userassignment/CareUserAssignmentReader/1.0" jobID="" async="" workspaceID="">

<WorkspaceID>PARAMETER</WorkspaceID>

<assignmentRoot>PARAMETER</assignmentRoot>

<unitId>PARAMETER</unitId>

<roleDN>PARAMETER</roleDN>

</getPositionUsers>

</SOAP:Body>

</SOAP:Envelope>

i would like to know how to get a WorkspaceID ?

Many thanks in advance,

Comments

  • jpluimers
    Options

    @MAGE , one way is to list all workspaces for an organization with the CWSOverview tool. See the OpenText AppWorks Platform <version> Advanced Development Guide, section 'CWS command-line tool: CWSOverview'.

  • MAGE
    edited June 26, 2023 #3
    Options

    Thanks @jpluimers but from my recent investigation the web service i posted above is deprecated so which one else can we use to retrieve users into a position of a Organization Unit .

    Thanks again,

  • @MAGE 

    From 16.1 we need to use GetAssignments API from Platform service group

  • AppWorks Tips
    edited June 29, 2023 #5
    Options

    From runtime you can also do it with a call like this:
    http://192.168.56.101:8080/home/appworks_tips/app/entityRestService/Items(F8B156E1037111E6E9CB2901D0C11BBF.327681.1)/ToAssignment?totalCount=true&include=All,Usage&%24skip=0&language=en-US

    //Antal

    https://appworks-tips.com/

  • MAGE
    Options

    thanks @Shanti Vardhan @AppWorks Tips for your valuable inputs

    am going to test it

    thanks,