Neukol API--EN


Delete class supervision pictures in batch

<h5>Interface introduction</h5> <p>-When the picture supervision switch is turned on when booking a class section, and there are supervision pictures in the closed class section, it is allowed to delete the supervision pictures; It is not allowed to delete the class supervision picture before the end of the class section</p> <h5>Interface information</h5> <table> <thead> <tr> <th style="text-align: left;"></th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">URL</td> <td style="text-align: left;"><a href="https://neukol.axzt.net/edu_openapi/monitorPicture/deleteByClassroomIds">https://neukol.axzt.net/edu_openapi/monitorPicture/deleteByClassroomIds</a></td> </tr> <tr> <td style="text-align: left;">HTTP Request Methods</td> <td style="text-align: left;">POST</td> </tr> <tr> <td style="text-align: left;">Coding format</td> <td style="text-align: left;">UTF-8</td> </tr> </tbody> </table> <h5>Request header</h5> <table> <thead> <tr> <th style="text-align: left;">Field name</th> <th style="text-align: left;">Type</th> <th style="text-align: left;">Required</th> <th style="text-align: left;">Description</th> <th style="text-align: left;">Example</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">no</td> <td style="text-align: left;">no</td> <td style="text-align: left;">no</td> <td style="text-align: left;">no</td> <td style="text-align: left;">no</td> </tr> </tbody> </table> <h5>Form parameter</h5> <table> <thead> <tr> <th style="text-align: left;">Field name</th> <th style="text-align: left;">Type</th> <th style="text-align: left;">Required</th> <th style="text-align: center;">Description</th> <th style="text-align: left;">Example</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">sid</td> <td style="text-align: left;">String</td> <td style="text-align: left;">True</td> <td style="text-align: center;">Institution ID</td> <td style="text-align: left;">5f4df4846acce059dc7cc8ba</td> </tr> <tr> <td style="text-align: left;">sign</td> <td style="text-align: left;">String</td> <td style="text-align: left;">True</td> <td style="text-align: center;">Fixed 32-bit all lowercase characters, institution authentication security key,sign=MD5(params+SECRET),Among them, params represents the concatenated string of all parameters in the request body except sign in lexicographic order(like: “key1=value1key2=value2”)</td> <td style="text-align: left;">2d9a9b6f440313667fed5ea8fc79f1a9</td> </tr> <tr> <td style="text-align: left;">timestamp</td> <td style="text-align: left;">Long</td> <td style="text-align: left;">True</td> <td style="text-align: center;">Unix Epoch timestamp within 20 minutes of current calling interface, unit: milliseconds</td> <td style="text-align: left;">1621841064427</td> </tr> <tr> <td style="text-align: left;">classroomIds</td> <td style="text-align: left;">String []</td> <td style="text-align: left;">True</td> <td style="text-align: center;">Class section ID array</td> <td style="text-align: left;">60a1d055e5e9be9f0f9d7fd5,609cf90de5e9be277bc1d37c</td> </tr> </tbody> </table> <h5>Response parameter explanation</h5> <table> <thead> <tr> <th style="text-align: left;">Parameter name</th> <th style="text-align: left;">Type</th> <th>Description</th> <th>Example</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">responseHeader&emsp;</td> <td style="text-align: left;">Object</td> <td>Response header information</td> </tr> <tr> <td style="text-align: left;">&emsp;└status</td> <td style="text-align: left;">int</td> <td>HTTP corresponding status code</td> <td>200</td> </tr> <tr> <td style="text-align: left;">&emsp;└msg</td> <td style="text-align: left;">String</td> <td>Error message</td> <td>OK</td> </tr> <tr> <td style="text-align: left;">response</td> <td style="text-align: left;">Boolean</td> <td>Response body content, true - deleted successfully; False - deletion failed</td> <td>true</td> </tr> </tbody> </table> <h5>Request example</h5> <pre><code>POST /edu_openapi/monitorPicture/deleteByRoomIds HTTP/1.1 Host: neukol.axzt.net Content-Type: application/x-www-form-urlencoded timestamp=1621841064427&amp;sid=5f4df4846acce059dc7cc8ba&amp;sign=2d9a9b6f440313667fed5ea8fc79f1a9&amp;classroomIds=60a1d055e5e9be9f0f9d7fd5,609cf90de5e9be277bc1d37c</code></pre> <h5>Response example</h5> <pre><code>{ "responseHeader": { "status": 200, "msg": "OK" }, "response": true }</code></pre> <h5>Error code</h5> <table> <thead> <tr> <th style="text-align: left;">Error code</th> <th>Explanation</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">9994</td> <td>Parameter format error</td> </tr> <tr> <td style="text-align: left;">2000</td> <td>sign certification failed</td> </tr> <tr> <td style="text-align: left;">2001</td> <td>Request timeout</td> </tr> <tr> <td style="text-align: left;">2002</td> <td>Institution does not open an open interface</td> </tr> <tr> <td style="text-align: left;">2010</td> <td>Institution is inexistent</td> </tr> <tr> <td style="text-align: left;">500</td> <td>unknown exception on the server</td> </tr> <tr> <td style="text-align: left;">710</td> <td>No class section array for deleting class supervision pictures</td> </tr> </tbody> </table>

页面列表

ITEM_HTML