Example of an XML load object

In an XML load object, the value of the domain attribute should be your Global Traffic Management domain's name. The following XML load object example uses the sample value storage.akadns.net as the domain.

The timestamp attribute is in xsd:dateTime syntax. The Z in the example means GMT; other time zones will work but we strongly recommend using GMT. The T in the example is the separator between the date and time mandated by the XML Schema Recommendation.

<load-object domain="storage.akadns.net"
          version="1"
          xmlns="http://www.akamai.com/Traffic Management/load-balancing"                
          timestamp="2021-06-30T19:15:23Z"            
          tag="12345" >
      <datacenter name="EDS-DC">
          <resource name="http_load">
              <current-load>
                  150
              </current-load>
              <target-load>
                  2000
              </target-load>
              <capacity>
                  5000
              </capacity>
          </resource> 
          <resource name="ftp_load">
              <current-load>
                  321 
              </current-load>
              <target-load>
                  2000
              </target-load>
              <capacity>
                  5000
              </capacity>
           </resource>
       </datacenter>
      </load-object>