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": "46fbbc6a-f060-4595-80b0-a90a9c7464bf"
}

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": "8ad3f1f8-c7a2-4ea5-90f1-bfe48290b93c",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "8ad3f1f8-c7a2-4ea5-90f1-bfe48290b93c",
      "ExternalCourseRef": "sample string 2",
      "Status": "sample string 3",
      "CurrentBalance": 1.0,
      "MembershipStatusDescription": "sample string 4"
    },
    {
      "ContactExternalId": "8ad3f1f8-c7a2-4ea5-90f1-bfe48290b93c",
      "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