This function may be used to delete a class within Turnitin. When a class is deleted in Turnitin, the assignments and submissions associated with the class are also removed.
This function takes a request containing a class's Turnitin Class ID and deletes the Turnitin class associated with this Turnitin account based on the Class ID in the request. If the Class ID is not associated with this Turnitin account or a class with this Class ID is not found then an error is returned in the SOAP response.
| Code | Text |
|---|---|
| XXX | "description" |
| XXX | "description" |
| XXX | "description" |
Content-type: text/xml;charset="utf-8"
Accept: text/xml
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "http://www.imsglobal.org/soap/lis/cmsv1p0/deleteCourseSection"
Content-length: 601
Source: 12
Authorization: OAuth oauth_nonce="589774c357607f32b71dede5a6c05b66f78285e2",
oauth_timestamp="1337786268",
oauth_consumer_key="49201",
oauth_signature_method="HMAC-SHA1",
oauth_version="1.0",
oauth_body_hash="CZV%2BMLCXhL647qaiz3DOLuWvBoQ%3D",
oauth_signature="jxVOgyRMpbXOtZ%2FxLblAWpqQPvQ%3D"
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.imsglobal.org/services/lis/cmsv1p0/wsdl11/sync/imscms_v1p0">
<SOAP-ENV:Header>
<ns1:imsx_syncRequestHeaderInfo>
<ns1:imsx_version>V1.0</ns1:imsx_version>
<ns1:imsx_messageIdentifier>fe7c4b1b-71ac-4bc3-b244-7df8eff28788</ns1:imsx_messageIdentifier>
</ns1:imsx_syncRequestHeaderInfo>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:deleteCourseSectionRequest>
<ns1:sourcedId>20005488</ns1:sourcedId>
</ns1:deleteCourseSectionRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<tns:imsx_syncResponseHeaderInfo xmlns:tns="http://www.imsglobal.org/services/lis/cmsv1p0/wsdl11/sync/imscms_v1p0">
<tns:imsx_version>V1.0</tns:imsx_version>
<tns:imsx_messageIdentifier>A7E31EC6-A4E9-11E1-BD36-B001F0E76FDE</tns:imsx_messageIdentifier>
<tns:imsx_statusInfo>
<tns:imsx_codeMajor>success</tns:imsx_codeMajor>
<tns:imsx_severity>status</tns:imsx_severity>
<tns:imsx_messageRefIdentifier>fe7c4b1b-71ac-4bc3-b244-7df8eff28788</tns:imsx_messageRefIdentifier>
<tns:imsx_description>Class CourseSection successfully deleted.</tns:imsx_description>
<tns:imsx_codeMinor>
<tns:imsx_codeMinorField>
<tns:imsx_codeMinorFieldName>TargetEndSystem</tns:imsx_codeMinorFieldName>
<tns:imsx_codeMinorFieldValue>fullsuccess</tns:imsx_codeMinorFieldValue>
</tns:imsx_codeMinorField>
</tns:imsx_codeMinor>
</tns:imsx_statusInfo>
</tns:imsx_syncResponseHeaderInfo>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<tns:deleteCourseSectionResponse xmlns:tns="http://www.imsglobal.org/services/lis/cmsv1p0/wsdl11/sync/imscms_v1p0"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>