Edit Course Groups



HTTP Request Methods

  • POST

Coding Format

  • UTF-8

Request Data


Name Value is required Example Notes
Content-Type application/x-www-form-urlencoded yes


Key Required More Restrictions Instructions Description
SID Yes Null School ID It is available through the eeo.cn application
safeKey Yes Fixed 32-bit all lowercase characters School authentication security key safeKey=MD5(SECRET+timeStamp)
timeStamp Yes Null Timestamp used by safeKey Unix Epoch timeStamp is the number of seconds passed by 00:00 (world standard time) on January 1, 1970
groupList Yes json string Please see the notes part [ [{ "studentUid": 1000152,"isLeader": 1}, {"studentUid": 1000109,"isLeader": 0}],[{"studentUid": 1000101,"isLeader": 1}, {"studentUid": 1000100,"isLeader": 0}]]
groupName Yes 1-20 Characters , the string will be truncated to 20 characters name of the group no
groupId Yes group ID

Response Data

Key Type Sample Value Meaning
error_info object Return message object
└ errno number 1 Error code
└ error string "Program normal execution" Error list


  • HTTP Request
POST /partner/api/course.api.php?action=editCourseGroup HTTP/1.1
Host: www.eeo.cn
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache

SID=1234567&safeKey=3276433ab0216d9aec2621431cc12248&timeStamp=1494407873&courseId=176465&groupId=139&groupName=课程分组&groupList=[[{"studentUid": 1000152, "isLeader": 1 }, { "studentUid": 1000109, "isLeader": 0}],[{"studentUid": 1000101,"isLeader": 1}, {"studentUid": 1000100,"isLeader": 0}]]
  • Shell cURL analog request instruction
curl -H "Content-Type: application/x-www-form-urlencoded" -X "POST" \
       -d "SID=1234567" \
       -d "safeKey=b4bbe6c28f6d6d6536742c2fe0ab41bf" \
       -d "timeStamp=1637132493" \
       -d "courseId=176465" \
       -d "groupId=139" \
       -d "groupName=课程分组" \
       -d 'groupList= [[{"studentUid": 1000152, "isLeader": 1 }, { "studentUid": 1000109, "isLeader": 0}],[{"studentUid": 1000101,"isLeader": 1}, {"studentUid": 1000100,"isLeader": 0}]]'\

Response Sample(The normal return json packet example)

"error_info": {
    "errno": 1,
    "error": "程序正常执行"}


Description of groupList parameter
"studentUid": 1000152,
"isLeader": 1

{"studentUid": 1000109,
"isLeader": 0

"studentUid": 1000101,
"isLeader": 1

{"studentUid": 1000100,
"isLeader": 0

1. Paramter of studentUid and isLeader are required, there should be a leader for each team.   (isLeader indicates the team leader.  1=Yes 0=No)    
2. Team members can not be duplicated

Error Code Description

Error Code Description
1 Successful execution.
100 Incomplete or incorrect parameters.
102 No permission(Security verification failed.).
104 Operation failure(Unknown error).
890 Failed to set the group.
893 Operation failed. The course group does not exist.

results matching ""

    No results matching ""