Actions14
- EVN (Usage Data) Actions
- Invoice Actions
- Product Actions
- Profile Actions
- Traffic Actions
- Usage Actions
- Utilization Actions
Traffic → Get
AI-generatedSummary
Retrieve traffic utilization data for a contract from IONOS Cloud billing API.
Inputs
- contractNumber (required) — Contract number used to identify the billing contract. This is a mandatory parameter for the operation.
- additionalOptions — Optional collection of settings to filter results and control output format. Only
ipandoutputare used for the Traffic Get operation; other sub-options (date, dateFormat) are scoped to Product or Invoice resources and will not affect this call.
Output shape
Traffic data from the IONOS Cloud billing API, returned as JSON or CSV based on the output parameter value.
The operation sends a GET request to
/${contractNumber}/trafficwith optional query parametersip(string) andoutput(json | csv, default json). Ifoutputis set to csv, the API response format is accordingly handled.
Examples
Example 1: Get all traffic data for contract 12345678 in JSON format.
contractNumber: 12345678, additionalOptions: { ip: null, output: json }