XIQS Create Device Plan
From IQsimWiki
(Difference between revisions)
Line 3: | Line 3: | ||
! 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 plan | Create a new device plan | ||
|} | |} | ||
Line 11: | Line 11: | ||
|- | |- | ||
| | | | ||
- | ''string'' ''' | + | ''string'' '''device_plan_name''' |
Must be unique on the partition. | Must be unique on the partition. | ||
- | ''long'' ''' | + | ''long'' '''country_group_restricted''' |
Country Group Id | Country Group Id | ||
- | ''long'' ''' | + | ''long'' '''timing_type''' |
0: Number of days<br> | 0: Number of days<br> | ||
1: Monthly | 1: Monthly | ||
- | ''long'' ''' | + | ''long'' '''timing_day''' |
Number of days or Birthday according to timingtype | Number of days or Birthday according to timingtype | ||
- | ''long'' ''' | + | ''long'' '''end_of_pass''' |
0: Partition Midnight<br> | 0: Partition Midnight<br> | ||
1: Device Local Midnight | 1: Device Local Midnight | ||
- | ''long'' ''' | + | ''long'' '''data_flags''' |
1: Data unlimited<br> | 1: Data unlimited<br> | ||
2: Low Speed Data unlimited | 2: Low Speed Data unlimited | ||
- | ''long'' ''' | + | ''long'' '''high_speed_volume'''''' |
Data (Kilo Bytes) | Data (Kilo Bytes) | ||
- | ''long'' ''' | + | ''long'' '''low_speed_volume''' |
Low Speed Data (Kilo Bytes) | Low Speed Data (Kilo Bytes) | ||
- | ''long'' ''' | + | ''long'' '''low_speed_bandwidth''' |
Low Speed Bandwidth (Kilo Bit per second) | Low Speed Bandwidth (Kilo Bit per second) | ||
- | ''long'' ''' | + | ''long'' '''extra_group_id''' |
Country Group Id | Country Group Id | ||
- | ''long'' ''' | + | ''long'' '''extra_group_volume''' |
Supplementary Data (Kilo Bytes) | Supplementary Data (Kilo Bytes) | ||
- | ''long'' ''' | + | ''long'' '''billing_type''' |
Always 0 (reserved for future use) | Always 0 (reserved for future use) | ||
- | [ ''long'' ''' | + | [ ''long'' '''partition_id''' ] |
Partition id (Mandatory for administrator) | Partition id (Mandatory for administrator) | ||
|} | |} |
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 |