Created
November 30, 2011 20:30
-
-
Save codekitchen/1410685 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
basically, POST to the lis_outcome_service_url URL with a XML body. | |
The sourcedId is the id passed to your tool, the resultScore is the score from 0.0 to 1.0. You'll need to set the content-type to application/xml, and sign the POST with your OAuth key and secret that you configured for the tool. | |
<?xml version = "1.0" encoding = "UTF-8"?> | |
<imsx_POXEnvelopeRequest xmlns = "http://www.imsglobal.org/lis/oms1p0/pox"> | |
<imsx_POXHeader> | |
<imsx_POXRequestHeaderInfo> | |
<imsx_version>V1.0</imsx_version> | |
<imsx_messageIdentifier>999999123</imsx_messageIdentifier> | |
</imsx_POXRequestHeaderInfo> | |
</imsx_POXHeader> | |
<imsx_POXBody> | |
<replaceResultRequest> | |
<resultRecord> | |
<sourcedGUID> | |
<sourcedId>#{sourceid}</sourcedId> | |
</sourcedGUID> | |
<result> | |
<resultScore> | |
<language>en</language> | |
<textString>0.8</textString> | |
</resultScore> | |
</result> | |
</resultRecord> | |
</replaceResultRequest> | |
</imsx_POXBody> | |
</imsx_POXEnvelopeRequest> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment