A license inherits all it's properties from the default license policy attached to it's product. But you may way want to override some properties like
validity, add some
metadataetc. You can check out all the properties in the web API reference page.
You can also override the default license policy by providing the
licensePolicyIdat the time of creating a license.
Following is a sample request which you will usually make to create a license: