Back to endpoints

Get a single private lesson

GET api/V3/{language}/org/{orgIdentifier}/privateLessons/{id}

Returns a private lesson with the id provided.

Request Information

URI Parameters

PARAMETERS
language (string)

Language in which the localizable values should be returned. Part of base url. Value is either 'fr' or 'en'

Required
orgIdentifier (string)

Amilia-specific organization identifier. This identifier can be either the organization number, such as 8008, or the organization URL identifier. You can find that by looking at the URL of your Amilia store. It may look like lower-case words separated by a dash, such as forest-explorers. Note that in v2 and v1 we call that the 'rewrite URL'.

Required
id (integer)

Private lesson id

Required

Body Parameters

None.

Response Information

Resource Description

PARAMETERS
Id (integer)

Resource id

Name (string)

Resource name

Description (string)

Description of the activity that will be visible to your customers in your store

Price (decimal number)

Price of activity

State (string)

For an activity, object containing the values Normal, Skipped, Moved, Cancelled, Archived and Replaced

Duration (integer)

Response Formats

CODE SAMPLE JSON
{
  "Id": 1,
  "Name": "Chess Lesson",
  "Description": "One hour chess lesson with our in-house coach",
  "Price": 50.0,
  "State": "Normal",
  "Duration": 60
}