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
| Parameter | Type | Description | Example | 
| class_id | required | Class id | 10 | 
Response XML Example
https://api.braincert.com/v2/availableAttendees?apikey=WbMlO5sAx1fmV&format=xmlSuccess 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=WbMlO5sAx1fmVSuccess Response
[{ 
  "class_id":"21",   
  "method":"availableAttendees",
  "remaning_attendees":21,   
} ]
  
Error Response
[{
  "status":"error",
  "error":"Invalid API KEY"
}]