GET
/
billing
/
v1
/
org
/
files
/
report
/
templates
Get a list of report templates
curl --request GET \
  --url https://api.gcore.com/billing/v1/org/files/report/templates \
  --header 'Authorization: <api-key>'
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "id": 123,
      "code": "ResellerExpenses",
      "name_en": "Expense report",
      "description": "Report for reseller expenses",
      "parameters": {
        "parameters": [
          {
            "name": "date_from",
            "type": "string",
            "format": "date-time",
            "required": true,
            "description": "Date from"
          }
        ]
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

code
string

Specify a template code.

limit
integer

Number of results to return per page.

offset
integer

The initial index from which to return the results.

ordering
string

Which field to use when ordering the results.

Response

200 - application/json

The response is of type object.