Introduction
  • 26 Apr 2022
  • 1 Minute zum Lesen
  • Mitwirkende
  • pdf

Introduction

  • pdf

Campos is a multitenant application.

Every organization is a tenant, regardless of whether it is a customer organization or a partner organization. The terms 'organization', 'org' and 'tenant' is the same thing and are used interchangeably.

In every API call the orgId is fix part of the URL.
In the following example all TicketDefinitions of organization 1234 are requested:
https://api.campos.ch/1234/v1/Tickets/TicketDefinitions

There are two scenarios:

  • a single organization operating on itself (main scenario)
  • a partner organization operating on multiple organizations (their customers)

The live API documentation can be found here https://api.campos.ch/swagger/index.html

Partner Organization

Partner organizations want to operate on all their customers. As most APIs act on a single organzation only, multiple individual calls to each organization have to be made. 

https://api.campos.ch/swagger/index.html#/Orgs/Orgs_Get --> gets a list of all customer organizations of that partner organization. 


War dieser Artikel hilfreich


What's Next