Skip to content

Fax Outbound UDR Report

This example retrieves outbound fax Usage Detail Records (UDRs) for a given period. Each record covers the full lifecycle from job submission through final transmission, including call metrics, retries, processing timeline, delivery status, and billing fields.

For complete field definitions and advanced options, see the GraphQL API Reference.

Query

query faxOutUdrReport (
  $customerId: String!
  $filterFax: FaxOutColumnUdrFilters
  $datePeriod: DatePeriod!
  $pageIndex: Int
  $pageSize: Int
  $sort: SortDirection
) {
  faxOutUdrReport(
    customerId: $customerId
    datePeriod: $datePeriod
    filter: $filterFax
    page: $pageIndex
    size: $pageSize
    sort: $sort      
  ) {
    content {
      faxId
      jobId
      accountId
      accountName
      accountServerId
      accountService
      attemptPages
      attemptSeqNo
      baudRate
      billedCountry
      callConnectedAt
      callDuration
      calledCountry
      calledCsId
      calledNumber
      calledZone
      callEndedAt
      callingTsId
      callInviteAt
      docPages
      faxCustomerRef
      jobArchivePurgeAt
      jobBillingCode
      jobBillingInfo
      jobCustomerId
      jobCustomerRef
      jobCustomerResolution
      jobCustomerStartFaxAt
      jobCustomerTags
      jobExpress
      jobPersonalized
      jobSubmissionDc
      jobSubmittedAt
      keyTimestamp
      lastAttemptEndedAt
      lastAttemptSeqNo
      maxPageTransmitted
      processingFinalAt
      statusCode
      statusName
      statusReason
      sumCallDurations
      sumPagesTransmitted
      timeToFirstDial
      virtualPagesBilled
    }
    pageIndex
    pageSize
    hasMoreElements
  }
}

Variables

{
	"customerId": "99999",
	"datePeriod": {
		"fromIncluded": "2025-06-04T08:00:00.000Z",
		"toExcluded": "2025-06-04T08:54:00.000Z"
	},
	"pageIndex": 0,
	"pageSize": 3,
	"sort": "ASC"
}

Response

{
	"data": {
		"faxOutUdrReport": {
			"content": [
				{
					"faxId": "MN683FFD052XXXXXXXXXXX",
					"jobId": "MF68XXXXXXXXXXX5AA0000",
					"accountId": "outbound_fax_account_id@example.com",
					"accountName": "outbound_fax_account_name@example.com",
					"accountServerId": "Mail2Fax_00032983219",
					"accountService": "M2F",
					"attemptPages": 1,
					"attemptSeqNo": 1,
					"baudRate": 33600,
					"billedCountry": "DEU",
					"callConnectedAt": "2025-06-04T08:00:10Z",
					"callDuration": 14000,
					"calledCountry": "DEU",
					"calledCsId": "+49611533XXXXXX",
					"calledNumber": "+49611533XXXXXX",
					"calledZone": 1,
					"callEndedAt": "2025-06-04T08:00:24Z",
					"callingTsId": "+49611533XXXXXX",
					"callInviteAt": "2025-06-04T08:00:10Z",
					"docPages": 1,
					"faxCustomerRef": "RoundTrip_04.06.2025 10:00:03",
					"jobArchivePurgeAt": "2025-06-18T08:00:05Z",
					"jobBillingCode": "ITS065",
					"jobBillingInfo": "",
					"jobCustomerId": "99999",
					"jobCustomerRef": "RoundTrip_04.06.2025 10:00:03",
					"jobCustomerResolution": "204x196",
					"jobCustomerStartFaxAt": "2025-06-04T08:00:05Z",
					"jobCustomerTags": null,
					"jobExpress": false,
					"jobPersonalized": false,
					"jobSubmissionDc": "FRAIX1",
					"jobSubmittedAt": "2025-06-04T08:00:02Z",
					"keyTimestamp": "2025-06-04T08:00:24Z",
					"lastAttemptEndedAt": "2025-06-04T08:00:24Z",
					"lastAttemptSeqNo": 1,
					"maxPageTransmitted": 1,
					"processingFinalAt": "2025-06-04T08:00:28.599Z",
					"statusCode": "2.1.0",
					"statusName": "OK",
					"statusReason": "OK",
					"sumCallDurations": 14000,
					"sumPagesTransmitted": 1,
					"timeToFirstDial": 5000,
					"virtualPagesBilled": 0
				}
				...
			],
			"pageIndex": 0,
			"pageSize": 3,
			"hasMoreElements": true
		}
	}
}

Note
Additional records (up to the requested pageSize) are omitted for brevity.

Field reference

FieldDescription
faxIdUnique identifier for this specific fax transmission attempt
jobIdUnique identifier for the overall fax job (may include multiple transmission attempts)
accountIdCustomer account identifier used for job submission
accountNameDisplay name of the customer account
accountServerIdInternal server identifier for the account
accountServiceService type used for transmission
attemptPagesNumber of pages transmitted in this specific attempt
attemptSeqNoSequence number of this transmission attempt (1 for first attempt, 2 for retry, etc.)
baudRateFax transmission speed in bits per second
billedCountryISO 3166-1 alpha-3 country code used for billing
callConnectedAtUTC timestamp when the call was established
callDurationCall duration in milliseconds (connect → disconnect) for this attempt
calledCountryISO 3166-1 alpha-3 country code of the destination number
calledCsIdCalled subscriber identifier from the fax protocol
calledNumberDestination fax number in international format
calledZoneBilling zone classification for the destination number
callEndedAtUTC timestamp when the call was ended
callingTsIdCalling terminal subscriber identifier sent in the fax header
callInviteAtUTC timestamp when the call initiation began
docPagesTotal number of pages in the submitted document
faxCustomerRefCustomer-provided reference for this fax
jobArchivePurgeAtUTC timestamp when job archive data will be automatically deleted
jobBillingCodeCost center or department code for billing
jobBillingInfoAdditional billing information or notes
jobCustomerIdCustomer identifier associated with the job
jobCustomerRefCustomer-provided reference for the job
jobCustomerResolutionRequested fax resolution as horizontal x vertical DPI
jobCustomerStartFaxAtUTC timestamp when the customer requested fax transmission to begin
jobCustomerTagsCustomer-defined tags (null if none)
jobExpressWhether priority/express transmission was requested
jobPersonalizedWhether personalized content was used
jobSubmissionDcData center where the job was submitted
jobSubmittedAtUTC timestamp when the job was submitted to the system
keyTimestampPrimary record timestamp used for chronological sorting
lastAttemptEndedAtUTC timestamp when the final transmission attempt ended
lastAttemptSeqNoSequence number of the last transmission attempt
maxPageTransmittedHighest page number successfully transmitted across all attempts
processingFinalAtUTC timestamp when all job processing was completed
statusCodeDetailed status code indicating the transmission result
statusNameHuman-readable transmission status
statusReasonReason/details for the final status
sumCallDurationsTotal call time in milliseconds across all attempts
sumPagesTransmittedTotal pages successfully transmitted across all attempts
timeToFirstDialTime in milliseconds from job submission to first dial attempt
virtualPagesBilledNumber of pages used for billing