All URIs are relative to https://api.twilio.com
Method | HTTP request | Description |
---|---|---|
fetch_call_notification | GET /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json | |
fetch_notification | GET /2010-04-01/Accounts/{AccountSid}/Notifications/{Sid}.json | |
list_call_notification | GET /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications.json | |
list_notification | GET /2010-04-01/Accounts/{AccountSid}/Notifications.json |
crate::models::ApiPeriodV2010PeriodAccountPeriodCallPeriodCallNotificationInstance fetch_call_notification(account_sid, call_sid, sid)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the Call Notification resource to fetch. | [required] | |
call_sid | String | The Call SID of the Call Notification resource to fetch. | [required] | |
sid | String | The Twilio-provided string that uniquely identifies the Call Notification resource to fetch. | [required] |
crate::models::ApiPeriodV2010PeriodAccountPeriodCallPeriodCallNotificationInstance
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ApiPeriodV2010PeriodAccountPeriodNotificationInstance fetch_notification(account_sid, sid)
Fetch a notification belonging to the account used to make the request
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the Notification resource to fetch. | [required] | |
sid | String | The Twilio-provided string that uniquely identifies the Notification resource to fetch. | [required] |
crate::models::ApiPeriodV2010PeriodAccountPeriodNotificationInstance
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ListCallNotificationResponse list_call_notification(account_sid, call_sid, log, message_date, message_date_less_than, message_date_greater_than, page_size, page, page_token)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the Call Notification resources to read. | [required] | |
call_sid | String | The Call SID of the Call Notification resources to read. | [required] | |
log | Option<i32> | Only read notifications of the specified log level. Can be: 0 to read only ERROR notifications or 1 to read only WARNING notifications. By default, all notifications are read. |
||
message_date | Option<String> | Only show notifications for the specified date, formatted as YYYY-MM-DD . You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. |
||
message_date_less_than | Option<String> | Only show notifications for the specified date, formatted as YYYY-MM-DD . You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. |
||
message_date_greater_than | Option<String> | Only show notifications for the specified date, formatted as YYYY-MM-DD . You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. |
||
page_size | Option<i32> | How many resources to return in each list page. The default is 50, and the maximum is 1000. | ||
page | Option<i32> | The page index. This value is simply for client state. | ||
page_token | Option<String> | The page token. This is provided by the API. |
crate::models::ListCallNotificationResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ListNotificationResponse list_notification(account_sid, log, message_date, message_date_less_than, message_date_greater_than, page_size, page, page_token)
Retrieve a list of notifications belonging to the account used to make the request
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account that created the Notification resources to read. | [required] | |
log | Option<i32> | Only read notifications of the specified log level. Can be: 0 to read only ERROR notifications or 1 to read only WARNING notifications. By default, all notifications are read. |
||
message_date | Option<String> | Only show notifications for the specified date, formatted as YYYY-MM-DD . You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. |
||
message_date_less_than | Option<String> | Only show notifications for the specified date, formatted as YYYY-MM-DD . You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. |
||
message_date_greater_than | Option<String> | Only show notifications for the specified date, formatted as YYYY-MM-DD . You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. |
||
page_size | Option<i32> | How many resources to return in each list page. The default is 50, and the maximum is 1000. | ||
page | Option<i32> | The page index. This value is simply for client state. | ||
page_token | Option<String> | The page token. This is provided by the API. |
crate::models::ListNotificationResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]