URL
The URL format is shown below.
https://<Server where the accounting APIs are running>:<Port number>/accounting/endpoint
The accounting APIs all use GET or POST methods. For the port number, specify the value that was specified when installing - the default value is "8015". To specify parameters, add a question mark ("?") to the end of the URL path, and then enter the parameters using the following format:
<Parameter name>=<Value>&<Parameter name>=<Value>&...
Example
https://<Server where the accounting APIs are running>:<Port number of accounting APIs is running> /accounting/endpoint?Action=GetResourceUsage&startDate=2012-01-01&endDate=2012-01-01
With the POST method, a body can be set in the request for execution.
HTTP header
Specify information for basic authentication in the HTTP header.
Authorization: Basic <String encoding "userId:password" in Base64>
For userId and password, specify the user ID and password of the user who executes the accounting API.
Ensure you specify content-type headers.
Use "application/xml" unless otherwise specified in the description of each API.