Remove Pricing Scheme
Method : POST
Base URL : https://api.braincert.com
API Endpoint : /v2/removeprice?apikey=YOUR_API_KEY_HERE
All requests are POST
and sent to https://api.braincert.com/v2/removeprice?apikey=YOUR_API_KEY_HERE You will retrieve results assuming you have added your appKey, and require parameter.
Request parameters
Parameter | Type | Description | Example |
id | required | Price id of class | 10 |
format | optional | Response data format | xml for XML response, default JSON response |
Response XML Example
https://api.braincert.com/v2/removeprice?apikey=WbMlO5sAx1fmV&format=xmlSuccess Response
<rsp status="ok">
<method>removeprice</method>
<price_id>12345</price_id>
</rsp>
Error Response
<rsp status="error">
<method>removeprice</method>
<message>error message</message >
</rsp>
Response JSON Example
https://api.braincert.com/v2/removeprice?apikey=WbMlO5sAx1fmVSuccess Response
[{
"status":"ok",
"method":"removeprice",
"price_id":"34"
}]
Error Response
[{
"status":"error",
"error":"Invalid API KEY"
}]