SyedObaidGit / external-api-examples

KMD Studica

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KMD Studica Examples

A dotnet client library with examples how to use Studica external API via Logic Gateway.

Getting started

How to configure connection to Studica External API via Logic Gateway

Perhaps the easiest way to configure the connection.

{
  "TokenProvider": {
    "AuthorizationScope": "",
    "ClientId": "",
    "ClientSecret": ""
  },
  "StudicaExternalApiKey": "",
  "SchoolCode": ""
}
  1. Create a subscription in Logic Console.
  2. Request a client credentials. Once issued you can view the ClientId, ClientSecret and AuthorizationScope (Subscriptions/Client Credentials).
  3. Generate two API Keys for KMD Studica (Demo) product (API Marketplace/Products/KMD Studica (Demo)/Create api key). They can be used interchangeably. That gives you StudicaExternalApiKey. API key must be sent as a request header named Logic-Api-Key.
  4. SchoolCode is the required parameter for each request to Studica external API.
  5. OpenAPI specifications can be found in API Marketplace (API Marketplace/APIs/KMD Studica (Demo) - <--Name of endpoint-->/Learn more)
  6. Powershell scripts generate.ps1 are located in the folders of each external API. Parameter --input-file has the direct reference to the OpenAPI spec file located in Logic blob storage.

Currently available APIs in Logic API Marketplace

  • KMD Studica (Demo) - Programmes
  • KMD Studica (Demo) - School Administration
  • KMD Studica (Demo) - Students

Data available through APIs

alt text

About

KMD Studica

License:MIT License


Languages

Language:C# 100.0%Language:PowerShell 0.0%