PUT api/modules/{code}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
code | globally unique identifier |
Required |
Body Parameters
ModuleName | Description | Type | Additional information |
---|---|---|---|
Code | globally unique identifier |
None. |
|
CreateDate | date |
None. |
|
LastUpdateDate | date |
None. |
|
Name | string |
Required |
|
TotalLicenses | integer |
None. |
|
RemainingLicenses | integer |
None. |
|
IsInstalled | boolean |
None. |
|
Version | string |
None. |
|
IsLicensed | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Code": "b3a44e6b-5c0f-4112-aeda-192a7f93515f", "CreateDate": "2025-03-13T11:58:35.661494+08:00", "LastUpdateDate": "2025-03-13T11:58:35.661494+08:00", "Name": "sample string 4", "TotalLicenses": 5, "RemainingLicenses": 6, "IsInstalled": true, "Version": "sample string 8", "IsLicensed": true }
application/xml, text/xml
Sample:
<Module xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTS.Cloud.Licensing.Contracts.Models"> <_x003C_Code_x003E_k__BackingField>b3a44e6b-5c0f-4112-aeda-192a7f93515f</_x003C_Code_x003E_k__BackingField> <_x003C_CreateDate_x003E_k__BackingField>2025-03-13T11:58:35.661494+08:00</_x003C_CreateDate_x003E_k__BackingField> <_x003C_IsInstalled_x003E_k__BackingField>true</_x003C_IsInstalled_x003E_k__BackingField> <_x003C_IsLicensed_x003E_k__BackingField>true</_x003C_IsLicensed_x003E_k__BackingField> <_x003C_LastUpdateDate_x003E_k__BackingField>2025-03-13T11:58:35.661494+08:00</_x003C_LastUpdateDate_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 4</_x003C_Name_x003E_k__BackingField> <_x003C_RemainingLicenses_x003E_k__BackingField>6</_x003C_RemainingLicenses_x003E_k__BackingField> <_x003C_TotalLicenses_x003E_k__BackingField>5</_x003C_TotalLicenses_x003E_k__BackingField> <_x003C_Version_x003E_k__BackingField>sample string 8</_x003C_Version_x003E_k__BackingField> </Module>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.