cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
ptancre
Occasional contributor

Re: How to obtain unique ID's

Jump to solution
thank you for your example(s), seems to create line items now (even though I get a '9999:java.lang.NullPointerException' a failed response, I can see the new line item populated.
Now this only works if I specify an 'id' for the entitlement.
What I would like is, to create a new entitlement and new line items. I use the createSimpleEntitlement, am I correct to assume this webservice should do both or I would need to have a 2 steps process?
0 Kudos
Moderator jberthold Moderator
Moderator

Re: How to obtain unique ID's

Jump to solution

Hi @ptancre ,

You should not have to provide an entitlement id.  If you would like FNO to create a unique entitlement id then set autoGenerate to true:

<urn:entitlementId>
        <urn:autoGenerate>true</urn:autoGenerate>
</urn:entitlementId>

You can create a new entitlement with multiple line items in one pass.  Simply repeat the information between the lineItems tags for each entitlement line.  I have attached an example with an auto-generated entitlement id and two line items.

Best regards,