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

Search for courses that an attendee is registered for. 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.




{
  "ContactGuid": "a521a65e-a19c-4544-b7a9-6e94229e1ecf"
}

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": "0757685a-2c91-4456-9785-f14d19250139",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "0757685a-2c91-4456-9785-f14d19250139",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "0757685a-2c91-4456-9785-f14d19250139",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    }
  ]
}

Remarks

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

Bundle(s)
Cap2