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 allowedActivations, validity, add some metadata etc. You can check out all the properties in the web API reference page.
You can also override the default license policy by providing the licensePolicyId at the time of creating a license.
Following is a sample request which you will usually make to create a license: