getOfferSet

This request returns a list of resources that were offered a specified work item.

Syntax

com.tibco.wcc.base.Requests.getOfferSet(requestId,
                                        workItemId,
                                        workItemVersion);

Parameters

  • requestId - (String) Uniquely identifies the request. For more information, see Submitting Server Requests.
  • workItemId - (String) The work item whose offer set is returned.
  • workItemVersion - (String) (optional) The number of times the work item has changed state. The version number starts at 0 when the work item is created, and is incremented by 1 each time it changes state.

Returns

Returns an <ap:ResourceGuids> element, which contains an <ap:ResourceGuid> element for each resource in the offer set.

For example:

<ap:Requests>
  <ap:ResourceGuids Id="ApiSample.getOfferSet_0">
    <ap:ResourceGuid>tibco-admin</ap:ResourceGuid>
    <ap:ResourceGuid>5B423370-D161-43F6-AE72-D91023322236</ap:ResourceGuid>
    <ap:ResourceGuid>4945E03D-7EFC-4F8C-831C-497F28CAD0C8</ap:ResourceGuid>
    <ap:ResourceGuid>BF497153-81E3-4214-B7CB-8EB1C8137186</ap:ResourceGuid>
    <ap:ResourceGuid>191724ED-711C-4D0C-8638-E677E55F7616</ap:ResourceGuid>
    <ap:ResourceGuid>E3A3FC77-10FD-4326-9F56-FE230C6FC579</ap:ResourceGuid>
    <ap:ResourceGuid>E2B915CD-476E-4291-990D-7E507982773C</ap:ResourceGuid>
    <ap:ResourceGuid>ADFF6416-C0E6-4FD6-A54F-9BDE3731412C</ap:ResourceGuid>
    <ap:ResourceGuid>4E55BCCF-62C5-4D1D-85CA-2C8C7E743DCE</ap:ResourceGuid>
  </ap:ResourceGuids>
</ap:Requests>