Dynamics 365 Enterprise and Business Training


Microsoft Training


Software Solutions and Consulting



Constructing API Request URLs

DynamicsEdge API request URLs are composed of the following components:

TermDefinition
protocolhttps only
data-typeOnly json is supported as a data-type.
hostnameOur API services are available on our www.dynamicsedge.com domain.
API MethodsSee below for documentation on section and courses methods.
request parametersKey/Value pairs of request data, as defined in the courses documentation.

Put all these pieces together, and you should end up with a URL that looks something like this:

API Methods


Sections

This endpoint allows you to retrieve sections from the DynamicsEdge database.

Return Fields

NameDefinition
valueUse this internal value to select/filter courses.
displayValueThis is for displaying to the end user.
courseCountThe number of courses available under this section.

Courses

This endpoint allows you to retrieve courses from the DynamicsEdge database.

Input Parameters

NameDefinition
sectionUse section value (not displayValue) returned from the section method to filter course selection.
page_sizeAn integer, for example 25, that limits the number of courses retrieved per request.
pageUsed to navigate through the available pages.

Return Fields

NameDefinition
paginationA group of fields used to fetch and navigate pages of courses.
course_countNumber of courses returned in the course query.
pageThe current loaded page.
page_sizeThe number of courses per page.
page_countThe number of total pages.
coursesA group containing the list of courses.
nameThe name of the course.
sectionThe section the current course is grouped under.
routeA unique string identifying the course.
urlThe link to the course.
popularA value of 1 indicates a popular course.
lengthThe course length, measured in days.
priceBase price of the current course.
descriptionA detailed course description, formatted in html.
scheduled_datesLists all dates and locations for the current course. Will have a value of null, if none available.

Code Example

Here's a jQuery ajax call using jsonp to fetch courses from the API.

$.ajax({
   type: "GET",
   url: "https://www.dynamicsedge.com/api/courses",
   data: {section: "office-365", page_size: 10},
   dataType: "jsonp",
   success: function (responseData) {
       console.log(responseData);
       //do something
   }});