This function may be used to delete a submission from Turnitin.
This function takes a Turntiin paper ID and deletes it from Turnitin. If the ID is not found or is not associated with this Turnitin account then an error message is returned in the SOAP response.
If the Paper ID is found and does belong to this account the Paper is deleted and a success SOAP response message is returned.
| 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/oms1p0/deleteResult"
Content-length: 586
Source: 12
Authorization: OAuth oauth_nonce="d57a0d73f104ecea750ba4fce126ce1510ffd8fc",
oauth_timestamp="1337943357",
oauth_consumer_key="49201",
oauth_signature_method="HMAC-SHA1",
oauth_version="1.0",
oauth_body_hash="TAN5sCw7Qs226UHCBKgVxATowdA%3D",
oauth_signature="f2hstk5%2BBg0lTiDee%2BMEw6S6cmo%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/oms1p0/wsdl11/sync/imsoms_v1p0">
<SOAP-ENV:Header>
<ns1:imsx_syncRequestHeaderInfo>
<ns1:imsx_version>V1.0</ns1:imsx_version>
<ns1:imsx_messageIdentifier>f70956b8-f612-43ba-a6f6-f5b4342ed992</ns1:imsx_messageIdentifier>
</ns1:imsx_syncRequestHeaderInfo>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:deleteResultRequest>
<ns1:sourcedId>49313814</ns1:sourcedId>
</ns1:deleteResultRequest>
</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/oms1p0/wsdl11/sync/imsoms_v1p0">
<tns:imsx_version>V1.0</tns:imsx_version>
<tns:imsx_messageIdentifier>77B77238-A656-11E1-BBEA-38C7EFE76FDE</tns:imsx_messageIdentifier>
<tns:imsx_statusInfo>
<tns:imsx_codeMajor>success</tns:imsx_codeMajor>
<tns:imsx_severity>status</tns:imsx_severity>
<tns:imsx_messageRefIdentifier>f70956b8-f612-43ba-a6f6-f5b4342ed992</tns:imsx_messageRefIdentifier>
<tns:imsx_description>Submission Result 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:deleteResultResponse xmlns:tns="http://www.imsglobal.org/services/lis/oms1p0/wsdl11/sync/imsoms_v1p0"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>