Fetch all previous requests for messaging detail reports. Messaging detail reports are reports for pulling all messaging records.
Successful
Array of objects (MdrDetailReportResponse) | |
object (PaginationMeta) |
{- "data": [
- {
- "connections": [
- 0
], - "created_at": "2020-07-01T00:00:00-06:00",
- "directions": [
- "INBOUND"
], - "end_date": "2020-07-01T00:00:00-06:00",
- "filters": [
- {
- "billing_group": "adfaa016-f921-4b6c-97bb-e4c1dad231c5",
- "cld": "+13129457420",
- "cld_filter": "contains",
- "cli": "+13129457420",
- "cli_filter": "contains",
- "filter_type": "and",
- "tags_list": "tag1"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "profiles": "My profile",
- "record_type": "mdr_report",
- "record_types": [
- "INCOMPLETE"
], - "report_name": "report_name_8hvb45Gu",
- "start_date": "2020-07-01T00:00:00-06:00",
- "status": "PENDING",
- "updated_at": "2020-07-01T00:00:00-06:00"
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}
Submit a request for new messaging detail report. Messaging detail report pulls all raw messaging data according to defined filters.
Mdr detail request data
Successful
{- "connections": [
- 0
], - "directions": [
- "INBOUND"
], - "end_date": "2020-07-01T00:00:00-06:00",
- "filters": [
- {
- "billing_group": "adfaa016-f921-4b6c-97bb-e4c1dad231c5",
- "cld": "+13129457420",
- "cld_filter": "contains",
- "cli": "+13129457420",
- "cli_filter": "contains",
- "filter_type": "and",
- "tags_list": "tag1"
}
], - "include_message_body": true,
- "profiles": "My profile",
- "record_types": [
- "INCOMPLETE"
], - "report_name": "string",
- "start_date": "2020-07-01T00:00:00-06:00"
}
{- "data": {
- "connections": [
- 0
], - "created_at": "2020-07-01T00:00:00-06:00",
- "directions": [
- "INBOUND"
], - "end_date": "2020-07-01T00:00:00-06:00",
- "filters": [
- {
- "billing_group": "adfaa016-f921-4b6c-97bb-e4c1dad231c5",
- "cld": "+13129457420",
- "cld_filter": "contains",
- "cli": "+13129457420",
- "cli_filter": "contains",
- "filter_type": "and",
- "tags_list": "tag1"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "profiles": "My profile",
- "record_type": "mdr_report",
- "record_types": [
- "INCOMPLETE"
], - "report_name": "report_name_8hvb45Gu",
- "start_date": "2020-07-01T00:00:00-06:00",
- "status": "PENDING",
- "updated_at": "2020-07-01T00:00:00-06:00"
}
}
Delete generated messaging detail report by id
Successful
object (MdrDetailReportResponse) | |||||||||||||||||||||||||||||
|
{- "data": {
- "connections": [
- 0
], - "created_at": "2020-07-01T00:00:00-06:00",
- "directions": [
- "INBOUND"
], - "end_date": "2020-07-01T00:00:00-06:00",
- "filters": [
- {
- "billing_group": "adfaa016-f921-4b6c-97bb-e4c1dad231c5",
- "cld": "+13129457420",
- "cld_filter": "contains",
- "cli": "+13129457420",
- "cli_filter": "contains",
- "filter_type": "and",
- "tags_list": "tag1"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "profiles": "My profile",
- "record_type": "mdr_report",
- "record_types": [
- "INCOMPLETE"
], - "report_name": "report_name_8hvb45Gu",
- "start_date": "2020-07-01T00:00:00-06:00",
- "status": "PENDING",
- "updated_at": "2020-07-01T00:00:00-06:00"
}
}
Fetch single messaging detail report by id.
Successful
object (MdrDetailReportResponse) | |||||||||||||||||||||||||||||
|
{- "data": {
- "connections": [
- 0
], - "created_at": "2020-07-01T00:00:00-06:00",
- "directions": [
- "INBOUND"
], - "end_date": "2020-07-01T00:00:00-06:00",
- "filters": [
- {
- "billing_group": "adfaa016-f921-4b6c-97bb-e4c1dad231c5",
- "cld": "+13129457420",
- "cld_filter": "contains",
- "cli": "+13129457420",
- "cli_filter": "contains",
- "filter_type": "and",
- "tags_list": "tag1"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "profiles": "My profile",
- "record_type": "mdr_report",
- "record_types": [
- "INCOMPLETE"
], - "report_name": "report_name_8hvb45Gu",
- "start_date": "2020-07-01T00:00:00-06:00",
- "status": "PENDING",
- "updated_at": "2020-07-01T00:00:00-06:00"
}
}
Fetch all Mdr records
start_date | string Pagination start date |
end_date | string Pagination end date |
id | string Message uuid Example: id=e093fbe0-5bde-11eb-ae93-0242ac130002 |
direction | string Direction (inbound or outbound) Example: direction=INBOUND |
profile | string Name of the profile Example: profile=My profile |
cld | string Destination number Example: cld=+15551237654 |
cli | string Origination number Example: cli=+15551237654 |
status | string Message status Example: status=DELIVERED |
message_type | string Type of message Example: message_type=SMS |
Successful
Array of objects (MdrDetailResponse) | |
object (PaginationMeta) |
{- "data": [
- {
- "cld": "+1555123456",
- "cli": "+1555123456",
- "cost": "0.1",
- "created_at": "2020-07-01T00:00:00-06:00",
- "currency": "USD",
- "direction": "outbound",
- "id": "99b637f3-07fd-45ac-b9ca-b87208c24650",
- "message_type": "SMS",
- "parts": 2,
- "profile_name": "configured-profile-name",
- "rate": "0.05",
- "record_type": "mdr_report",
- "status": "DELIVERED"
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}