Using Our APIs
Commands
Set Auto Activation Group
5 min
purpose assigns an auto activation (aa) group to the specified sim the group is specified using the \<group> element and must be the group code , not the group name group codes are distributor specific and are provided in a separate document by assigning an auto activation group, the specified sim will be automatically activated into the defined live group when its test traffic allowance is exhausted important conditions apply the sim must currently be in a group of type pending if the sim is in any other group type, the response will be invalid iccid the auto activation group specified must be of type live if the group type is not live, the response will be invalid group operational impact api commands perform live configuration changes changes take effect immediately commands may affect sim status, service availability, charging, or usage limits requests cannot be undone automatically ensure all parameters are validated before submitting requests to the production environment endpoint post https //api m2miportal com content type application/xml accept application/xml request (xml) \<set aa group version="1" api id="123456"> \<authentication> \<username>username\</username> \<password>password\</password> \</authentication> \<iccid>1234567890123456789\</iccid> \<group>group code\</group> \</set aa group> response (success) \<set aa group response api id="123456"> \<api outcome>success\</api outcome> \</set aa group response> response (failure) if a request cannot be processed, the response will include api outcome indicating failure an error description explaining the reason failure responses may occur due to invalid authentication credentials invalid or unknown identifiers (for example iccid or msisdn) invalid or missing parameters values not permitted for the specified sim type or account configuration insufficient permissions integrating systems should validate input data before submission and implement appropriate error handling and logging