Telenor Sverige · Schema

Absence

CompanyFixed NetworkMobileOrderingProduct CatalogSwedenTelecommunications

Properties

Name Type Description
userId integer The agents user id
id integer The ID of the absence Note that the Absence.id is conditionally mandatory for updateAbsence. If Absence.id is not set, absenceId will be used instead. For createAbsence, the Absence.id is not required
start string Start time of the absence
end string End time of the absence (can be NULL for infinite absences) Setting a timestamp earlier than present is not permitted, and will return an error.
absenceReasonId integer The id of the absence reason
action object Holds the redirect action which is to be taken when this absence is active
priority integer The priority of this absence given by the user (0=low, 1=default, 2= high)
source string The device/system/application this absence was created by (Optional)
lastChanged string Shows when this absence was last modified
description string A textual description of this absence (Optional)
location string The location of the absence (Optional)
View JSON Schema on GitHub

JSON Schema

telenor-sverige-absence-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telenor-sverige/json-schema/telenor-sverige-absence-schema.json",
  "title": "Absence",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telenor-sverige-partner-user-api-api-openapi.yml#/components/schemas/Absence",
  "type": "object",
  "required": [
    "absenceReasonId",
    "id",
    "lastChanged",
    "userId"
  ],
  "properties": {
    "userId": {
      "type": "integer",
      "format": "int64",
      "description": "The agents user id "
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "The ID of the absence\n\nNote that the Absence.id is conditionally mandatory for updateAbsence. If Absence.id is not set, absenceId will be used instead. \n\nFor createAbsence, the Absence.id is not required. "
    },
    "start": {
      "type": "string",
      "format": "date-time",
      "description": "Start time of the absence"
    },
    "end": {
      "type": "string",
      "format": "date-time",
      "description": "End time of the absence (can be NULL for infinite absences)\n\nSetting a timestamp earlier than present is not permitted, and will return an error. "
    },
    "absenceReasonId": {
      "type": "integer",
      "format": "int32",
      "description": "The id of the absence reason"
    },
    "action": {
      "description": "Holds the redirect action which is to be taken when this absence is active",
      "$ref": "#/$defs/AbsenceAction"
    },
    "priority": {
      "type": "integer",
      "format": "int32",
      "description": "The priority of this absence given by the user (0=low, 1=default, 2= high)"
    },
    "source": {
      "type": "string",
      "description": "The device/system/application this absence was created by (Optional)"
    },
    "lastChanged": {
      "type": "string",
      "format": "date-time",
      "description": "Shows when this absence was last modified"
    },
    "description": {
      "type": "string",
      "description": "A textual description of this absence (Optional)"
    },
    "location": {
      "type": "string",
      "description": "The location of the absence (Optional)"
    }
  },
  "$defs": {
    "AbsenceAction": {
      "type": "object",
      "required": [
        "callForwardingType"
      ],
      "properties": {
        "callForwardingType": {
          "type": "string",
          "description": "Specifies the forwarding type, when used via the Telenor Sweden Partner API only these are valid: Indicative, Announced and AlertMeFirst.",
          "enum": [
            "Indicative",
            "Number",
            "Announced",
            "Vms",
            "Switchboard",
            "Colleague",
            "AlertMeFirst",
            "Busy"
          ]
        },
        "callForwardingNumber": {
          "type": "string",
          "description": "For Announced and AlertMeFirst abcenses this number is the number that will be used when caller gets option to be connected to operator after hearing absence cause."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/telenor-sverige-absence"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.