delete single class video

delete single class video, you need offer SID,safekey,timeStamp,Class ID,returns the tag id after the success add Description after execution.notice:Video cannot be recovered after deletion,no storage charges are incurred after deletion

URL

https://api.eeo.cn/partner/api/course.api.php?action=deleteClassVideo

HTTP Request Methods

  • POST

Coding format

  • UTF-8

Request data

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 Imestamp used by safeKey Unix Epoch timeStamp is the number of seconds passed by 00:00 (world standard time) on January 1, 1970
classId Yes Null Class ID Null
fileId No string ID of a video clip file under the class session If this item is empty or no parameter is transferred, it means that all video clip files under the class session will be deleted

Response data

Key Type Sample value meaning
error_info object Return message object
└ errno number 1 error code
└ error string "procedure normal execute" error details

Sample

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

SID=2339736&safeKey=4c375898926f24ad991099df67ebef92&timeStamp=1493729726&classId=1395037
  • Shell cURL analog request instruction
curl -H "Content-Type: application/x-www-form-urlencoded" -X "POST" \
        -d "SID=1234567" \
        -d "safeKey=0f7781b3033527a8cc2b1abbf45a5fd2" \
        -d "timeStamp=1484719085" \
        -d "classId=9876" \
    "https://api.eeo.cn/partner/api/course.api.php?action=deleteClassVideo"

Response sample(The normal return json packet example)

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

Error code instruction

Error code Instruction
1 Expression successful execution.
100 Expression parameter not all or error.
102 Expression dont have permissions(Security verification failed).
104 Indicates that the operation failed.
233 Expression school under not have this class.
254 Expression there is no record in this class, no video information.
269 This operation is not supported for this course / class class type.
384 Expression the class is not over.
630 Indicates that the video clip file does not exist.
631 Expression This section has not finished recording classes failed to generate video file.
632 Expression this section has not finished recording classes failed to generate video files for recording classes video files generated but all have been deleted.
633 Expression delete failed video file protected lock.
634 Indicates that the video clip file has been deleted.

results matching ""

    No results matching ""