Using Our APIs
Information Requests
Query Group
4 min
purpose returns the group code for the specified sim the group returned is the group code , not the group name available groups and group codes are distributor specific and are provided in a separate document endpoint post https //api m2miportal com content type application/xml accept application/xml request (xml) \<query group version="1" api id="123456"> \<authentication> \<username>username\</username> \<password>password\</password> \</authentication> \<iccid>1234567890123456789\</iccid> \</query group> response (success) \<query group response api id="123456"> \<api outcome>success\</api outcome> \<group>group code\</group> \</query 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