member_class_category
GET /member_class_category
To get a specific class category for students.
/member_class_category?token=XXXXX&class_category_code_365=01&is_secondary_code=no
POST /member_class_category
To create a class category for students.
{
"api_credentials": {
"token": "XXXX"
},
"member_class_category":{
"class_category_code":"04",
"class_category_name":"ART",
"colour_html":"#4000FF"
}
}
| field |
type |
description |
| api_credentials
|
| token |
string |
Credentials provided by Powersoft that allow access to the API |
| member_class_category
|
| class_category_code |
string |
The unique code of the class category in your system. |
| class_category_name |
string |
Name of the class category. |
| colour_html |
string |
Colour of the class category as HTML code. |
Returns
The standard api_response object. In the response_id it is returned the id of the category created in our system.
PUT /member_class_category
To modify an existing class category for students.
{
"api_credentials": {
"token": "XXXX"
},
"member_class_category":{
"class_category_code_365":"04",
"class_category_name":"ART",
"colour_html":"#4000FF"
}
}
| field |
type |
description |
| api_credentials
|
| token |
string |
Credentials provided by Powersoft that allow access to the API |
| member_class_category
|
| class_category_code_365 |
string |
The 365 code of the class category. |
| class_category_name |
string |
Name of the class category. |
| colour_html |
string |
Colour of the class category as HTML code. |
Returns
The standard api_response object. In the response_id it is returned the id of the category in our system.