Deswik Test API

The Test API from Deswik — 4 operation(s) for test.

Operations 4

POST /api/Test/user/login Create api test user login #
POST /api/Test/user/logout Create api test user logout #
POST /api/Test/account/clone Create api test account clone #
DELETE /api/Test/account Delete api test account #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/deswik:deswik-test-api"
All apis
curl "https://apis.io/api/v1/apis?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. See our Privacy Policy and Terms.

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

OpenAPI Specification

deswik-test-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Survey Web Test API
  version: v1
tags:
- name: Test
paths:
  /api/Test/user/login:
    post:
      tags:
      - Test
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/LoginRequestDto'
          application/json:
            schema:
              $ref: '#/components/schemas/LoginRequestDto'
          text/json:
            schema:
              $ref: '#/components/schemas/LoginRequestDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/LoginRequestDto'
      responses:
        '200':
          description: Success
      summary: Create api test user login
      x-summary-source: derived
      operationId: postApiTestUserLogin
      x-operation-id-source: derived
  /api/Test/user/logout:
    post:
      tags:
      - Test
      responses:
        '200':
          description: Success
      summary: Create api test user logout
      x-summary-source: derived
      operationId: postApiTestUserLogout
      x-operation-id-source: derived
  /api/Test/account/clone:
    post:
      tags:
      - Test
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/CloneAccountModel'
          application/json:
            schema:
              $ref: '#/components/schemas/CloneAccountModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CloneAccountModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CloneAccountModel'
      responses:
        '200':
          description: Success
      summary: Create api test account clone
      x-summary-source: derived
      operationId: postApiTestAccountClone
      x-operation-id-source: derived
  /api/Test/account:
    delete:
      tags:
      - Test
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/DeleteTenantModel'
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteTenantModel'
          text/json:
            schema:
              $ref: '#/components/schemas/DeleteTenantModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/DeleteTenantModel'
      responses:
        '200':
          description: Success
      summary: Delete api test account
      x-summary-source: derived
      operationId: deleteApiTestAccount
      x-operation-id-source: derived
components:
  schemas:
    CloneAccountModel:
      type: object
      properties:
        sourceTenantId:
          type: string
          format: uuid
        accountCode:
          type:
          - string
          - 'null'
        accountUserName:
          type:
          - string
          - 'null'
        accountPassword:
          type:
          - string
          - 'null'
        expiryDate:
          type: string
          format: date-time
        noLicences:
          type: integer
          format: int32
        cloneDemoData:
          type: boolean
        cloneDeswikDemoData:
          type: boolean
        cloneMapsFiles:
          type: boolean
        cloneSurveyPlanFiles:
          type: boolean
        featureFlags:
          $ref: '#/components/schemas/FeatureFlags'
        opsServerUrl:
          type:
          - string
          - 'null'
        opsServerAPIKey:
          type:
          - string
          - 'null'
        operatorPassword:
          type:
          - string
          - 'null'
        opsOperatorRoles:
          type:
          - array
          - 'null'
          items:
            type: string
        shiftDate:
          type:
          - string
          - 'null'
          format: date-time
        shift:
          type:
          - string
          - 'null'
        appLanguage:
          type:
          - string
          - 'null'
        syncDaysBeforeShift:
          type: integer
          format: int32
        syncDaysAfterShift:
          type: integer
          format: int32
        allowToCreateTask:
          type: boolean
        allowStartAnyTask:
          type: boolean
        oaSupportingActivities:
          type: boolean
        allowActivityDeletion:
          type: boolean
        numShiftsToAllowHistoricActivityDeletion:
          type: integer
          format: int32
        allowTasksActualsDisabled:
          type: boolean
        allowHistoricDisabled:
          type: boolean
        allowActivityWithActualsDeletion:
          type: boolean
        allowHistoricActivityDeletion:
          type: boolean
        numShiftsAllowHistoricDeletionDisabled:
          type: boolean
        mineLevelAttribute:
          type:
          - string
          - 'null'
        mineAreaAttribute:
          type:
          - string
          - 'null'
        mineArea:
          type:
          - string
          - 'null'
      additionalProperties: false
    LoginRequestDto:
      type: object
      properties:
        credentials:
          type:
          - string
          - 'null'
        userName:
          type:
          - string
          - 'null'
        password:
          type:
          - string
          - 'null'
        account:
          type:
          - string
          - 'null'
        deviceId:
          type:
          - string
          - 'null'
        deviceType:
          type: integer
          format: int32
        deviceName:
          type:
          - string
          - 'null'
        accessToken:
          type:
          - string
          - 'null'
        appType:
          $ref: '#/components/schemas/AppType'
      additionalProperties: false
    DeleteTenantModel:
      type: object
      properties:
        tenantId:
          type: string
          format: uuid
        accountId:
          type:
          - string
          - 'null'
          format: uuid
        deleteFiles:
          type: boolean
      additionalProperties: false
    AppType:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      type: integer
      format: int32
    FeatureFlags:
      type: object
      properties:
        hasDepartments:
          type:
          - boolean
          - 'null'
        defaultPickerShowMode:
          type:
          - string
          - 'null'
        defaultDatePickerUseNativePicker:
          type: boolean
        lastSyncDateTimeFormat:
          type:
          - string
          - 'null'
        syncTimeInSeconds:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false