Passa al contenuto principale

SmsPricePaginatedListResponse

Successful response with a page of SmsPrice

errorintegerrequired

Always 0 in a successful response

Constant value: 0
messagestring | nullnullablerequired

Always null in a successful response

data object[]required

Items of the page: an empty list beyond the last page

  • Array [
  • country objectrequired
    iso_code_2stringrequired

    ie. IT

    iso_code_3stringrequired

    ie. ITA

    country_namestringrequired

    Name of the country in Italian; the local name when there is no translation

    local_namestringrequired

    Name of the country in its own language, for example Deutschland

    phone_codestringrequired

    International calling code, without +, for example 39

    continentstringrequired

    Continent, in English, for example Europe or North America

    regionstringrequired

    Area of the country: EU (European Union) or EXTRAEU

    standard_price objectrequired

    Amount in euros: the taxable amount and, when computed with a tax regime, the VAT rate, the VAT and the total, which are null otherwise

    amountfloatnullablerequired

    Taxable amount

    currencystringrequired

    Currency code: always EUR

    tax_ratefloatnullablerequired

    VAT rate as a fraction, for example 0.22 for 22%

    taxfloatnullablerequired

    VAT (tax) amount

    totalfloatnullablerequired

    Total amount

    premium_price objectrequired

    Amount in euros: the taxable amount and, when computed with a tax regime, the VAT rate, the VAT and the total, which are null otherwise

    amountfloatnullablerequired

    Taxable amount

    currencystringrequired

    Currency code: always EUR

    tax_ratefloatnullablerequired

    VAT rate as a fraction, for example 0.22 for 22%

    taxfloatnullablerequired

    VAT (tax) amount

    totalfloatnullablerequired

    Total amount

    valid_fromdate-timenullablerequired

    Date and time from which these prices apply

  • ]
  • meta objectrequired

    Pagination of the list

    totalintegerrequired

    Number of items in the whole list

    countintegerrequired

    Number of items in this page: 0 beyond the last page

    pagesintegerrequired

    Number of pages of the list

    pageintegerrequired

    Number of this page, starting from 1

    per_pageintegerrequired

    Maximum number of items in a page

    SmsPricePaginatedListResponse
    {
    "error": 0,
    "message": "string",
    "data": [
    {
    "country": {
    "iso_code_2": "string",
    "iso_code_3": "string",
    "country_name": "string",
    "local_name": "string",
    "phone_code": "string",
    "continent": "string",
    "region": "string"
    },
    "standard_price": {
    "amount": 0,
    "currency": "string",
    "tax_rate": 0,
    "tax": 0,
    "total": 0
    },
    "premium_price": {
    "amount": 0,
    "currency": "string",
    "tax_rate": 0,
    "tax": 0,
    "total": 0
    },
    "valid_from": "2024-07-29T15:51:28.071Z"
    }
    ],
    "meta": {
    "total": 0,
    "count": 0,
    "pages": 0,
    "page": 0,
    "per_page": 0
    }
    }