PUT api2/license/{id}.json
License by ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
License ID |
string |
Required |
Body Parameters
License
api_rootName | Description | Type | Additional information |
---|---|---|---|
entry | LicenseModels |
None. |
Request Format
{ "entry": { "created_by_user_id": 1, "assignment": 1, "company_id": 1, "tax_handling": 1, "allow_play": 1, "burn_play": 1, "delete_on_clock_rollback": 1, "disable_on_clock_rollback": 1, "expire_after_first_use": 1, "expire_after_acquisition": 1, "expire_after_first_use_mode": 1, "expire_after_acquisition_mode": 1, "name": "sample string 2", "valid": 1, "drm": 1, "total_downloads": 1, "annual_downloads": 1, "copp_hdcp": 1, "copp_cgms": 1, "copp_aps": 1, "total_concurrent_devices": 1, "annual_concurrent_devices": 1, "total_export": 1, "annual_export": 1, "maximum_downloads": 1, "copy_prot_level_digital": 1, "copy_prot_level_analog": 1, "play_prot_level_analog": 1, "play_prot_level_digital": 1, "physical": 1, "type": 1, "expiration_date": "2024-10-23T04:24:54.7107836+02:00", "export_mp3": 1, "export_epub": 1, "export_pdf_print": 1, "physical_weight": 1.1, "physical_weight_type": 1, "export_package": 1, "content_watermark_enable": true, "content_watermark_style": 64, "content_watermark_position": 64, "content_watermark_width": 64, "content_watermark_color": "sample string 3", "content_watermark_preroll": true, "content_watermark_postroll": true, "locales": [ { "id": 1, "name": "sample string 2", "language_id": 1, "description": "sample string 3" }, { "id": 1, "name": "sample string 2", "language_id": 1, "description": "sample string 3" } ], "restriction_video_norm": { "id": 1, "norm": 2 }, "restriction_dvd_region": [ { "id": 1, "dvd_region": 2 }, { "id": 1, "dvd_region": 2 } ], "restriction_country": [ { "id": 1, "country_id": 2 }, { "id": 1, "country_id": 2 } ] } }
Response Information
Resource Description
Updated license
api_rootName | Description | Type | Additional information |
---|---|---|---|
entry | LicenseModels |
None. |
Response Format
{ "entry": { "id": 1, "created_at": "2024-10-23T04:24:54.7420397+02:00", "created_by_user_id": 1, "assignment": 1, "company_id": 1, "tax_handling": 1, "allow_play": 1, "burn_play": 1, "delete_on_clock_rollback": 1, "disable_on_clock_rollback": 1, "expire_after_first_use": 1, "expire_after_acquisition": 1, "expire_after_first_use_mode": 1, "expire_after_acquisition_mode": 1, "name": "sample string 2", "valid": 1, "drm": 1, "total_downloads": 1, "annual_downloads": 1, "copp_hdcp": 1, "copp_cgms": 1, "copp_aps": 1, "total_concurrent_devices": 1, "annual_concurrent_devices": 1, "total_export": 1, "annual_export": 1, "maximum_downloads": 1, "copy_prot_level_digital": 1, "copy_prot_level_analog": 1, "play_prot_level_analog": 1, "play_prot_level_digital": 1, "physical": 1, "type": 1, "expiration_date": "2024-10-23T04:24:54.7420397+02:00", "export_mp3": 1, "export_epub": 1, "export_pdf_print": 1, "physical_weight": 1.1, "physical_weight_type": 1, "export_package": 1, "content_watermark_enable": true, "content_watermark_style": 64, "content_watermark_position": 64, "content_watermark_width": 64, "content_watermark_color": "sample string 3", "content_watermark_preroll": true, "content_watermark_postroll": true, "locales": [ { "id": 1, "name": "sample string 2", "language_id": 1, "description": "sample string 3" }, { "id": 1, "name": "sample string 2", "language_id": 1, "description": "sample string 3" } ], "restriction_video_norm": { "id": 1, "norm": 2 }, "restriction_dvd_region": [ { "id": 1, "dvd_region": 2 }, { "id": 1, "dvd_region": 2 } ], "restriction_country": [ { "id": 1, "country_id": 2 }, { "id": 1, "country_id": 2 } ] } }