XIQS Create Device Plan
From IQsimWiki
(Difference between revisions)
(Created page with "'''XIQS Create Device Plan - Device Plan''' {| class="wikitable collapsible" style="width: 100%;background-color:#EFEEFE;" border="1" ! Description |- | '''createXIQSDevicePlan'...") |
|||
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
'''XIQS Create Device Plan - Device Plan''' | '''XIQS Create Device Plan - Device Plan''' | ||
{| class="wikitable collapsible" style="width: 100%;background-color:#EFEEFE;" border="1" | {| class="wikitable collapsible" style="width: 100%;background-color:#EFEEFE;" border="1" | ||
- | ! Description | + | ! Description |
- | |- | + | |- |
- | | '''createXIQSDevicePlan''' ( ''string'' ''' | + | | '''createXIQSDevicePlan''' ( ''string'' '''device_plan_name''', ''long'' '''country_group_restricted''' , ''long'' '''timing_type''' , ''long'' '''timing_day''',''long'' '''end_of_pass''', ''long'' '''data_flags''', ''long'' '''high_speed_volume''', ''long'' '''low_speed_volume''', ''long'' '''low_speed_bandwidth''',''long'' '''extra_group_id''', ''long'' '''extra_group_volume''', ''long'' '''billing_type''', [ , ''long'' '''partition_id''' ] ) |
- | Create a new device | + | Create a new device plan |
+ | |} | ||
+ | |||
+ | {| class="wikitable collapsible" style="width: 100%;background-color:#EFEEFE;" border="1" | ||
+ | ! Parameters | ||
+ | |- | ||
+ | | | ||
+ | ''string'' '''device_plan_name''' | ||
+ | Must be unique on the partition. | ||
+ | |||
+ | ''long'' '''country_group_restricted''' | ||
+ | Country Group Id | ||
+ | |||
+ | ''long'' '''timing_type''' | ||
+ | 0: Number of days<br> | ||
+ | 1: Monthly | ||
+ | |||
+ | ''long'' '''timing_day''' | ||
+ | Number of days or Birthday according to timingtype | ||
+ | |||
+ | ''long'' '''end_of_pass''' | ||
+ | 0: Partition Midnight<br> | ||
+ | 1: Device Local Midnight | ||
+ | |||
+ | ''long'' '''data_flags''' | ||
+ | 1: Data unlimited<br> | ||
+ | 2: Low Speed Data unlimited | ||
+ | |||
+ | ''long'' '''high_speed_volume'''''' | ||
+ | Data (Kilo Bytes) | ||
+ | |||
+ | ''long'' '''low_speed_volume''' | ||
+ | Low Speed Data (Kilo Bytes) | ||
+ | |||
+ | ''long'' '''low_speed_bandwidth''' | ||
+ | Low Speed Bandwidth (Kilo Bit per second) | ||
+ | |||
+ | ''long'' '''extra_group_id''' | ||
+ | Country Group Id | ||
+ | |||
+ | ''long'' '''extra_group_volume''' | ||
+ | Supplementary Data (Kilo Bytes) | ||
+ | |||
+ | ''long'' '''billing_type''' | ||
+ | Always 0 (reserved for future use) | ||
+ | |||
+ | [ ''long'' '''partition_id''' ] | ||
+ | Partition id (Mandatory for administrator) | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable collapsible" cellpadding="5" cellspacing="5" style="width: 100%;background-color:#EFEEFE;" border="1" | ||
+ | ! Return Values | ||
+ | |- | ||
+ | | ''Long'' '''id''' - Device Plan Id | ||
+ | |||
+ | |||
+ | Error Data structure ( [[Error Codes|Error Management]] ) | ||
+ | Possible failure code returns<br> | ||
+ | *ERR_OBJECT_EXISTS(451) [[XIQS ERROR MESSAGES|ERR_MSG_DVC_FOUND]]<br> | ||
+ | *ERR_SRV_INTERNAL (500) [[XIQS ERROR MESSAGES|ERR_MSG_NO_DB]] or [[XIQS ERROR MESSAGES|ERR_MSG_OBJ_NO_ID]]<br> | ||
|} | |} |
Latest revision as of 07:49, 9 July 2020
XIQS Create Device Plan - Device Plan
Description |
---|
createXIQSDevicePlan ( string device_plan_name, long country_group_restricted , long timing_type , long timing_day,long end_of_pass, long data_flags, long high_speed_volume, long low_speed_volume, long low_speed_bandwidth,long extra_group_id, long extra_group_volume, long billing_type, [ , long partition_id ] )
Create a new device plan |
Parameters |
---|
string device_plan_name Must be unique on the partition. long country_group_restricted Country Group Id long timing_type 0: Number of days long timing_day Number of days or Birthday according to timingtype long end_of_pass 0: Partition Midnight long data_flags 1: Data unlimited long high_speed_volume' Data (Kilo Bytes) long low_speed_volume Low Speed Data (Kilo Bytes) long low_speed_bandwidth Low Speed Bandwidth (Kilo Bit per second) long extra_group_id Country Group Id long extra_group_volume Supplementary Data (Kilo Bytes) long billing_type Always 0 (reserved for future use) [ long partition_id ] Partition id (Mandatory for administrator) |
Return Values |
---|
Long id - Device Plan Id
Possible failure code returns |