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": "55e6b81f-2f44-4756-9b05-987398fb0938", "AplicationId": "7d69f48e-631b-4eed-a7d9-11be21740141", "Name": "sample string 3", "Description": "sample string 4", "CountTimeUnits": 5, "TimeUnitType": 6, "Price": 7.0, "Active": true, "Order": 9, "ValidTimes": 10 }, { "LicenseTypeId": "55e6b81f-2f44-4756-9b05-987398fb0938", "AplicationId": "7d69f48e-631b-4eed-a7d9-11be21740141", "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>7d69f48e-631b-4eed-a7d9-11be21740141</_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>55e6b81f-2f44-4756-9b05-987398fb0938</_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>7d69f48e-631b-4eed-a7d9-11be21740141</_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>55e6b81f-2f44-4756-9b05-987398fb0938</_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>