# Queries

# faxInUdrReport

Retrieves inbound fax usage detail records (UDR) for reporting and analytics.
Returns paginated fax reception data, including delivery status, caller information, and billing details.


## Arguments:

  - `customerId` (String!): Customer ID used for account identification.
  - `datePeriod` (DatePeriod!)
  - `filter` (FaxInColumnUdrFilters)
  - `page` (Int): The requested page index. The first page is 0.
  - `size` (Int): Maximum 10,000 rows per page. For larger reports, please use our asynchronous reporting.
  - `sort` (SortDirection)

## Return type:

  Type: FaxInUdrQueryResult
  - `content` ([FaxInUdrReportRecord!]!): List of fax reception records.
  - `pageIndex` (Int): Page number of the response, starting at 0.
  - `pageSize` (Int): Page size of the response.
  - `hasMoreElements` (Boolean): Flag indicating whether there are more pages.


---

# faxOutUdrReport

Retrieves fax outbound usage detail records (UDR) for reporting and analytics.
Returns paginated fax transmission data, including delivery status, recipient information, and billing details.


## Arguments:

  - `customerId` (String!): Customer ID used for account identification.
  - `datePeriod` (DatePeriod!)
  - `filter` (FaxOutColumnUdrFilters)
  - `page` (Int): The requested page index. The first page is 0.
  - `size` (Int): Maximum 10,000 records per page. For larger reports, please refer to our asynchronous reporting.
  - `sort` (SortDirection)

## Return type:

  Type: FaxOutUdrQueryResult
  - `content` ([FaxOutUdrReportRecord!]!): List of fax outbound usage detail records.
  - `pageIndex` (Int): Page index of the response, starting at 0.
  - `pageSize` (Int): Page size of the response.
  - `hasMoreElements` (Boolean): Indicates whether there are more pages.


---

# smsInUdrReport

Query for smsInUdrReport.


## Arguments:

  - `customerId` (String!): Your customer ID.
  - `datePeriod` (DatePeriod!)
  - `filter` (SmsInColumnUdrFilters)
  - `page` (Int): The requested page index. The first page is 0.
  - `size` (Int): Maximum 10,000 rows per page. For larger reports, please refer to our asynchronous reporting.
  - `sort` (SortDirection)

## Return type:

  Type: SmsInUdrQueryResult - Paginated result set for SMS inbound usage detail records.
  - `content` ([SmsInUdrReportRecord!]!): List of SMS inbound usage detail records.
  - `pageIndex` (Int): Page number of the response, starting at 0.
  - `pageSize` (Int): Page size of the response.
  - `hasMoreElements` (Boolean): Flag indicating if more pages are available.


---

# smsOutUdrReport

Query for smsOutUdrReport.


## Arguments:

  - `customerId` (String!): Your customer ID.
  - `datePeriod` (DatePeriod!)
  - `filter` (SmsOutColumnUdrFilters)
  - `page` (Int): The requested page index. The first page is 0.
  - `size` (Int): Maximum 10,000 rows per page. For larger reports, please refer to our asynchronous reporting.
  - `sort` (SortDirection)

## Return type:

  Type: SmsOutUdrQueryResult - Paginated result set for SMS outbound usage detail records.
  - `content` ([SmsOutUdrReportRecord!]!): List of SMS outbound usage detail records.
  - `pageIndex` (Int): Page number of the response, starting at 0.
  - `pageSize` (Int): Page size of the response.
  - `hasMoreElements` (Boolean): Flag indicating if more pages are available.


---

# transactionalEmailUdrReport

Query for transactionalEmailUdrReport


## Arguments:

  - `customerId` (String!)
  - `datePeriod` (DatePeriod!)
  - `filter` (TransactionalEmailColumnUdrFilters)
  - `page` (Int): The requested page index. The first page is 0.
  - `size` (Int): Maximum 10,000 rows per page. For larger reports, please refer to our asynchronous reporting.
  - `sort` (SortDirection)

## Return type:

  Type: TransactionalEmailUdrQueryResult
  - `content` ([TransactionalEmailUdrReportRecord!]!)
  - `pageIndex` (Int): Page number of the response, starting at 0.
  - `pageSize` (Int): Page size of the response.
  - `hasMoreElements` (Boolean): Flag indicating whether there are more pages.


---

# transactionalEmailEventReport

Query for transactionalEmailEventReport


## Arguments:

  - `customerId` (String!): Your customer ID.
  - `datePeriod` (DatePeriod!)
  - `filter` (TransactionalEmailColumnEventFilters)
  - `page` (Int): The requested page index. The first page is 0.
  - `size` (Int): A maximum of 10,000 rows per page. For larger reports, please refer to our asynchronous reporting.
  - `sort` (SortDirection)

## Return type:

  Type: TransactionalEmailEventQueryResult
  - `content` ([TransactionalEmailEventReportRecord!]!)
  - `pageIndex` (Int): Page number of the response, starting at 0.
  - `pageSize` (Int): Page size of the response.
  - `hasMoreElements` (Boolean): Flag indicating whether there are more pages.


---

