GET api/AppLicense/GetLicenseTypesByApp
Devuelve los tipos de licencia de la aplicacion actual de la solicitud.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
License
Collection of LicenseTypeName | Description | Type | Additional information |
---|---|---|---|
LicenseTypeId | globally unique identifier |
None. |
|
AplicationId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
CountTimeUnits | integer |
None. |
|
TimeUnitType | integer |
None. |
|
Price | decimal number |
None. |
|
Active | boolean |
None. |
|
Order | integer |
None. |
|
ValidTimes | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "LicenseTypeId": "cd271e25-572e-4496-b79e-4bca222caf36", "AplicationId": "2d4936d8-f476-4bf3-afd1-9b621f9abe19", "Name": "sample string 3", "Description": "sample string 4", "CountTimeUnits": 5, "TimeUnitType": 6, "Price": 7.0, "Active": true, "Order": 9, "ValidTimes": 10 }, { "LicenseTypeId": "cd271e25-572e-4496-b79e-4bca222caf36", "AplicationId": "2d4936d8-f476-4bf3-afd1-9b621f9abe19", "Name": "sample string 3", "Description": "sample string 4", "CountTimeUnits": 5, "TimeUnitType": 6, "Price": 7.0, "Active": true, "Order": 9, "ValidTimes": 10 } ]
application/xml, text/xml
Sample:
<ArrayOfLicenseType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.SDK.Domain"> <LicenseType> <_x003C_Active_x003E_k__BackingField>true</_x003C_Active_x003E_k__BackingField> <_x003C_AplicationId_x003E_k__BackingField>2d4936d8-f476-4bf3-afd1-9b621f9abe19</_x003C_AplicationId_x003E_k__BackingField> <_x003C_CountTimeUnits_x003E_k__BackingField>5</_x003C_CountTimeUnits_x003E_k__BackingField> <_x003C_Description_x003E_k__BackingField>sample string 4</_x003C_Description_x003E_k__BackingField> <_x003C_LicenseTypeId_x003E_k__BackingField>cd271e25-572e-4496-b79e-4bca222caf36</_x003C_LicenseTypeId_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 3</_x003C_Name_x003E_k__BackingField> <_x003C_Order_x003E_k__BackingField>9</_x003C_Order_x003E_k__BackingField> <_x003C_Price_x003E_k__BackingField>7</_x003C_Price_x003E_k__BackingField> <_x003C_TimeUnitType_x003E_k__BackingField>6</_x003C_TimeUnitType_x003E_k__BackingField> <_x003C_ValidTimes_x003E_k__BackingField>10</_x003C_ValidTimes_x003E_k__BackingField> </LicenseType> <LicenseType> <_x003C_Active_x003E_k__BackingField>true</_x003C_Active_x003E_k__BackingField> <_x003C_AplicationId_x003E_k__BackingField>2d4936d8-f476-4bf3-afd1-9b621f9abe19</_x003C_AplicationId_x003E_k__BackingField> <_x003C_CountTimeUnits_x003E_k__BackingField>5</_x003C_CountTimeUnits_x003E_k__BackingField> <_x003C_Description_x003E_k__BackingField>sample string 4</_x003C_Description_x003E_k__BackingField> <_x003C_LicenseTypeId_x003E_k__BackingField>cd271e25-572e-4496-b79e-4bca222caf36</_x003C_LicenseTypeId_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 3</_x003C_Name_x003E_k__BackingField> <_x003C_Order_x003E_k__BackingField>9</_x003C_Order_x003E_k__BackingField> <_x003C_Price_x003E_k__BackingField>7</_x003C_Price_x003E_k__BackingField> <_x003C_TimeUnitType_x003E_k__BackingField>6</_x003C_TimeUnitType_x003E_k__BackingField> <_x003C_ValidTimes_x003E_k__BackingField>10</_x003C_ValidTimes_x003E_k__BackingField> </LicenseType> </ArrayOfLicenseType>