Understanding How The API Works »
Creating an RTTM Log Report using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.
REST Syntax
Click to view all REST Resources |
/REST/RTTMLogReport/ POST — Generates a report with information about changes to an existing Real Time Traffic Management(RTTM) service.
HTTP Action — POST
URIs — https://api.dynect.net/REST/RTTMLogReport/ |
Arguments — Click for More Info
- string
fqdn — Required. Name of node where records will be retrieved.
- integer
end_ts — Required. UNIX timestamp identifying the end of the time period for the log report.
- integer
start_ts — Required. UNIX timestamp identifying the start of the time period for the log report.
- string
zone — Required. Name of zone where records will be retrieved.
|
Response — Click for More Info
- string
serial — The serial at which this change was generated
- string
change_ts — The UNIX timestamp describing when this change was generated
- string
change_type — The type of change.
Valid values:
user – A user made changes to the service
health – Health monitoring made changes to the service
perf – Performance monitoring made changes to the service
- string
region_code — The region in which this change happened.
Valid values: US West, US Central, US East, EU West, EU Central, EU East, Asia, global
- string
region_status — The status of the region at the time of this change
- string
user_name — If change_type is ‘user’, the user that made the change
- string
serve_count — The serve_count at the time of this change
- string
rdata_type — The type of rdata being served at this time
- array
region_rdata — The rdata being served at the time of this change:
- string
weight — The weight of the rdata_a or rdata_aaaa record (if either exist)
- hash
rdata_a — If rdata_type is ‘A’, an A record:
- string
address — An IPv4 address
- hash
rdata_aaaa — If rdata_type is ‘AAAA’, an AAAA record:
- string
address — An IPv6 address
- hash
rdata_cname — If rdata_type is ‘CNAME’, a CNAME record:
- string
cname — A hostname
|
SOAP Syntax
Click to view all SOAP Commands |
GetRTTMLogs — Retrieves information about changes to an existing Real Time Traffic Management (RTTM) service. |
Arguments — Click for More Info
- string
fqdn — Required. Name of node where the service to recover existed.
- string
token — Required. The session identifier.
- string
zone — Required. Name of zone where the service to recover existed.
- string
start_ts — Required. UNIX timestamp indicating the start of the log report.
- string
end_ts — Required. UNIX timestamp indicating the end of the log report.
|
Response: Click for More Info
- array
data
- string
serial — The serial at which this change was generated
- string
change_ts — The UNIX timestamp describing when this change was generated
- string
change_type — The type of change.
Valid values:
user – A user made changes to the service
health – Health monitoring made changes to the service
perf – Performance monitoring made changes to the service
- string
region_code — The region in which this change happened.
Valid values: US West, US Central, US East, EU West, EU Central, EU East, Asia, global
- string
region_status — The status of the region at the time of this change
- string
user_name — If change_type is ‘user’, the user that made the change
- string
serve_count — The serve_count at the time of this change
- string
rdata_type — The type of rdata being served at this time
- array
region_rdata — The rdata being served at the time of this change:
- string
weight — The weight of the rdata_a or rdata_aaaa record (if either exist)
- hash
rdata_a — If rdata_type is ‘A’, an A record:
- string
address — An IPv4 address
- hash
rdata_aaaa — If rdata_type is ‘AAAA’, an AAAA record:
- string
address — An IPv6 address
- hash
rdata_cname — If rdata_type is ‘CNAME’, a CNAME record:
- string
cname — A hostname
|
Example Request — Click for More Info
{
'zone' => 'example.com',
'fqdn' => 'somehost.example.com',
'token' => 'asdlj34ot879834cdzjklfK',
'start_ts' => 1270500000,
'end_ts' => 1270500600
}
|
DNS API Knowledge Base