Available attendees

Method : POST

Base URL : https://api.braincert.com

API Endpoint : /v2/availableAttendees?apikey=YOUR_API_KEY_HERE

All requests are POST and sent to https://api.braincert.com/v2/availableAttendees?apikey=YOUR_API_KEY_HERE You will retrieve results assuming you have added your appKey, and require parameter.

Request parameters

ParameterTypeDescriptionExample
class_idrequiredClass id10

Response XML Example

https://api.braincert.com/v2/availableAttendees?apikey=WbMlO5sAx1fmV&format=xml

Success Response

<xml>
   <class_id>21</class_id>
     <method>availableAttendees</method>
     <remaning_attendees>10</remaning_attendees>       
</xml>

Error Response

<rsp status="error">
   <errors> error </errors>
</rsp>

Response JSON Example

https://api.braincert.com/v2/availableAttendees?apikey=WbMlO5sAx1fmV

Success Response

[{ 
  "class_id":"21",   
  "method":"availableAttendees",
  "remaning_attendees":21,   
} ]

Error Response

[{
  "status":"error",
  "error":"Invalid API KEY"
}]