This API allows listing a paginated collection a SIM card group actions. It allows to explore a collection of existing asynchronous operation using specific filters.
import telnyx telnyx.api_key = "YOUR_API_KEY" telnyx.SimCardGroupAction.list(page={"number":1,"size":20})
{- "data": [
- {
- "created_at": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "sim_card_group_action",
- "settings": {
- "private_wireless_gateway_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58"
}, - "sim_card_group_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "status": "in-progress",
- "type": "set_private_wireless_gateway",
- "updated_at": "2018-02-02T22:25:27.521Z"
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}
This API allows fetching detailed information about a SIM card group action resource to make follow-ups in an existing asynchronous operation.
Successful Response
import telnyx telnyx.api_key = "YOUR_API_KEY" telnyx.SimCardGroupAction.retrieve("id")
{- "data": {
- "created_at": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "sim_card_group_action",
- "settings": {
- "private_wireless_gateway_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58"
}, - "sim_card_group_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "status": "in-progress",
- "type": "set_private_wireless_gateway",
- "updated_at": "2018-02-02T22:25:27.521Z"
}
}