cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ptancre
Level 5

How to obtain unique ID's

Jump to solution

Hi,

How can you get the following : 

<product>
<uniqueId>???</uniqueId>
</product>

and 

<licenseModel>

<uniqueId>???</uniqueId>

</licenseModel>

From the producer portal or else?

Thanks,

0 Kudos
(1) Solution
jberthold
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @ptancre ,

Can  you be more specific (which web service(s) in the EntitlementOrderService wsdl)?

For example, if you are using createSimpleEntitlement, you can specify either the Product ID or the Product Name/Version:

<urn:product>
   <!--Optional:-->
          <urn:uniqueId>?</urn:uniqueId>
<!--Optional:-->
<urn:primaryKeys>
        <urn:name>?</urn:name>
        <urn:version>?</urn:version>
</urn:primaryKeys>

Same with the License Model, you can reference it by id or name:

<urn:licenseModel>
    <!--Optional:-->
    <urn:uniqueId>?</urn:uniqueId>
<!--Optional:-->
   <urn:primaryKeys>
        <urn:name>?</urn:name>
   </urn:primaryKeys>
</urn:licenseModel>

 

You can obtain the Product ID using the getProductsQuery and the License Model ID using getLicenseModelIdentifiers but first let's see if you can get what you need by using the names instead of having to make additional calls to retrieve the IDs.

Thanks,

View solution in original post

0 Kudos
(11) Replies