POST https://api.legendonlineservices.co.uk/Cap2/FindCourseAttendees

Find course attendees by course reference. Returns a collection of course attendees that match the search criteria.

Request Parameters

From Body Type Description
ContactGuid Guid The contact guid to search for. Pass 00000000-0000-0000-0000-000000000000 to search for all contacts.
CourseRef String The course reference to search for.




{
  "CourseRef": "sample string 1",
  "ContactGuid": "d464b799-2d99-4cd1-a960-b89a22ebd9bc"
}

Response - (Status 200 - OK)

FindCourseAttendeesResponse

Name Type Description
[CourseAttendee] A collection of zero or more course attendees.
Name Type Description
ContactExternalId Guid
CurrentBalance Decimal
ExternalCourseRef String
MembershipStatusDescription String
Status String




{
  "ReturnedAttendees": [
    {
      "ContactExternalId": "33339718-6ab4-4370-a6a1-baf937ac96e3",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "33339718-6ab4-4370-a6a1-baf937ac96e3",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "33339718-6ab4-4370-a6a1-baf937ac96e3",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    }
  ]
}

Remarks

This end point replaces the old FindCourseAttendees SOAP endpoint that is now obsolete.

Bundle(s)
Cap2