Getting started with COS sandbox
On this page you'll find everything you need to get started with the COS sandbox. Welcome!
Authentication methods in COS
The authentication method that COS supports is OAuth 2.0, with one of the following grant types:
To connect, you also need:
Credentials: Client-id and Client secret
How to obtain API keys and credentials
To obtain the API key and credentials that you need to access the COS sandbox environment, you need to do the following:
When we have activated you subscription:
You will receive an email with your credentials (Client-id and Client secret).
Sign in at the COS portal. You will find your API key in your user profile.
You can now test your application in the COS sandbox.
URL structure for FHIR APIs
The FHIR APIs in COS use the following URL structure:
https://api.openservices.cambio.se/fhiris the COS domain
resourceis the FHIR resource, for example
parametersare the query params, for example
code = 1.2.7184.108.40.206.1|371526002,1.2.7220.127.116.11.1|448826009
URL structure for REST APIs
The REST APIs in COS use the following URL structure:
https://api.openservices.cambio.seis the COS domain
apiis the invoked API, for example
versionis the API version, on the for
startActionDateTimeis the start of the time interval, using date format:
endActionDateTimeis the end of the time interval, using date format:
Need help to get started?
If you need more help to get started, you can follow this guide to getting started with COS sandbox using Postman.
You can get more help and answers to frequently asked questions on the Help page.