Skip to main content
GET
/
billing
/
org
/
v1
/
reports
/
templates
List report templates
curl --request GET \
  --url https://api.gcore.com/billing/org/v1/reports/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": "<string>",
      "name_en": "<string>",
      "description": "<string>",
      "parameters": "<string>"
    }
  ]
}

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
code__icontains
string
code__in
string[]

Multiple values may be separated by commas.

comment__icontains
string
description__icontains
string
id
integer
id__gt
integer
id__in
integer[]

Multiple values may be separated by commas.

id__lt
integer
limit
integer

Number of results to return per page.

name_en__icontains
string
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
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=400&limit=100"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=200&limit=100"

I