This function may be used to update an existing assignment within Turnitin
This function takes an assignment sourceId updates the matching assignment with the options provided.If the assignment ID in the request is found and is associated with this account and API product then the data associated with that assignment is updated with the values supplied in the request.
| 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/updateLineItem"
Content-length: 1721
Source: 12
Authorization: OAuth oauth_nonce="fb6b31df98e7bf67fcf2b713b4a925c8887c3d7f",
oauth_timestamp="1337860016",
oauth_consumer_key="49201",
oauth_signature_method="HMAC-SHA1",
oauth_version="1.0",
oauth_body_hash="xvT5pQBqplZFk5BN%2BragQRPYe%2F8%3D",
oauth_signature="RcY8q8VaJ2lz%2FN1z3UvzEE8RDyA%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>4e26e947-d0b6-4929-9c2f-c0706b425745</ns1:imsx_messageIdentifier>
</ns1:imsx_syncRequestHeaderInfo>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:updateLineItemRequest>
<ns1:sourcedId>20028414</ns1:sourcedId>
<ns1:lineItemRecord>
<ns1:sourcedGUID>
<ns1:sourcedId>20028414</ns1:sourcedId>
</ns1:sourcedGUID>
<ns1:lineItem>
<ns1:context>
<ns1:contextIdentifier>20005116</ns1:contextIdentifier>
<ns1:contextType>courseSection</ns1:contextType>
</ns1:context>
<ns1:label>Demo Assignment 2 1337860013</ns1:label>
<ns1:extension>
<ns1:extensionNameVocabulary>http://www.turnitin.com/static/source/media/turnitinvocabularyv1p0.xml</ns1:extensionNameVocabulary>
<ns1:extensionValueVocabulary>http://www.imsglobal.org/vdex/lis/omsv1p0/extensionvocabularyv1p0.xml</ns1:extensionValueVocabulary>
<ns1:extensionField>
<ns1:fieldName>DateStart</ns1:fieldName>
<ns1:fieldType>DateTime</ns1:fieldType>
<ns1:fieldValue>2012-05-24T11:46:51Z</ns1:fieldValue>
</ns1:extensionField>
<ns1:extensionField>
<ns1:fieldName>DateDue</ns1:fieldName>
<ns1:fieldType>DateTime</ns1:fieldType>
<ns1:fieldValue>2012-06-23T11:46:51Z</ns1:fieldValue>
</ns1:extensionField>
<ns1:extensionField>
<ns1:fieldName>DatePost</ns1:fieldName>
<ns1:fieldType>DateTime</ns1:fieldType>
<ns1:fieldValue>2012-07-13T11:46:51Z</ns1:fieldValue>
</ns1:extensionField>
</ns1:extension>
</ns1:lineItem>
</ns1:lineItemRecord>
</ns1:updateLineItemRequest>
</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>80BF9214-A595-11E1-AFE8-ACB9EFE76FDE</tns:imsx_messageIdentifier>
<tns:imsx_statusInfo>
<tns:imsx_codeMajor>success</tns:imsx_codeMajor>
<tns:imsx_severity>status</tns:imsx_severity>
<tns:imsx_messageRefIdentifier>4e26e947-d0b6-4929-9c2f-c0706b425745</tns:imsx_messageRefIdentifier>
<tns:imsx_description>Assignment LineItem successfully updated.</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:updateLineItemResponse xmlns:tns="http://www.imsglobal.org/services/lis/oms1p0/wsdl11/sync/imsoms_v1p0"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>