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": "43675c71-b4c4-48ba-a2c6-12751dc5182c"
}

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": "9e601a90-b173-4a36-b3d2-7c577cb77af2",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "9e601a90-b173-4a36-b3d2-7c577cb77af2",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "9e601a90-b173-4a36-b3d2-7c577cb77af2",
      "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