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": "8e991535-0a8b-4b0b-a0a5-db0295511db2"
}

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": "fc5c2f15-718b-4e09-bf43-701a4e7641c6",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "fc5c2f15-718b-4e09-bf43-701a4e7641c6",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "fc5c2f15-718b-4e09-bf43-701a4e7641c6",
      "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