insurance

Check whether a period's insured values kept up with inflation since the previous period, the way Insurance Analytics → Inflation shows it. Each site's value is held to prices in its own country from public statistics: buildings and lease improvements to construction prices (consumer prices where a country has none), every other value to consumer prices. Inflation is measured over as many months as the period is long, up to its inception date (the newest published months for a period that starts later), within one price series; figures more than a year old are still used and marked outOfDate. Changes leave exchange rates out, and a site reporting in another currency than its country's is held to local inflation converted to that currency. Returns the inflation per country with its sources, per-value summaries for the portfolio and per country (never summed across values), and every site's values against inflation. By default it returns the inflation per country and the summaries; add sites, history or sources to include for more, and use value and countryCode to narrow the answer. The figures are an indication from public statistics, not a valuation.

post/api/rpc/queryValuesAgainstInflation

Request

  • Base URL: https://21risk.com
  • URL: https://21risk.com/api/rpc/queryValuesAgainstInflation
  • Auth: OAuth 2 (client credentials, token URL /api/v1/oauth/token)

Request body

tenantunknown required
periodstring required

Name of the Insurance period, for example "2027".

valuestring

Compare only this value: a built-in key such as buildings, machineryAndEquipment, stockAndSupplies or businessInterruption, or the id of one of the period's own value columns (see queryInsurancePeriod's valueColumns). Leave it out for every value the period collects.

countryCodestring

Only the sites in this country, as an ISO 3166 alpha-2 code such as DE.

includestring[]

What to add to the inflation per country and the per-value summaries, which are always returned: sites lists every site and its values against inflation; history each country's annual change in prices per quarter for the last eight years; sources every price index held for each country. Leave it out for the smallest answer.

Response

Successful response

baseCurrency'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KRW' | 'KWD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAU' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL' required

Changes

No recorded changes to this operation across all 1 revision of this API.