Skip to content

Documntation to map B&L and Edvisor API mappings

Notifications You must be signed in to change notification settings

edvisor-io/bookandlearn-edvisor-api-mapping

Repository files navigation

Book&Learn to Edvisor API mapping

Reference guide to migrate aplications from Book&Learn API to Edvisor GraphQL API

Queries

This table contains most common used endpoints in Book&Learn to theri corresponding query.

Note
Some endpoints or properties may not have a corresponding counterpart.
Query Endpoint (B&L) Description

offeringSearch

GET course

Open search courses with multiple parameters, See more

offeringSearchFilterOptions

GET institute?courseType&CourseCategory

Query to get parameters that can be used to look for courses: schools, places and course categories See more

GET city?courseType&courseCategory&countryCode

GET country?courseType&courseCategory&countryCode

offeringsList

GET /course/{courseId}/accommodation

Find school accommodations using offeringTypeId: 2

GET /course/{courseId}/associatedService

Find school services using offeringTypeId: 2

offering

GET /course/{courseId}

Get detailed course information

generateQuotePrice

POST /course/{courseId}/draft

Get price of multiple services (offerings) See more

currencies

GET /currencyRates/{currencyISO}

Return a list all currencies with the corresponding value to 1 USD See more

offeringCourseCategories

GET /courseCategory?courseType

Return a list of categories using a nested tree structure See more

school

GET /institute/{instituteId}

School refers to campus and SchoolCompany refers to the School See more

GET /institute/{instituteId}/facilities

We leverage Graphql nested models to display school information in a single query. To get facilities, you have to include schoolAmenity field in the query

Common Models

In Edvisor all products are called Offerings and there are 5 types

offering_type_id code_name B&L type

1

COURSE

Course

2

ACCOMMODATION

Accommodation

3

SERVICE

School Services

4

AGENCY_ACCOMMODATION

-

5

AGENCY_SERVICE

School Services

6

PACKAGE

-

About

Documntation to map B&L and Edvisor API mappings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published