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": "f44c2821-4dc9-4b82-b45c-52006e8f26f0"
}

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": "f45ce857-b9ff-4eab-9ad6-7a224aae1cd1",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "f45ce857-b9ff-4eab-9ad6-7a224aae1cd1",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "f45ce857-b9ff-4eab-9ad6-7a224aae1cd1",
      "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