-
Notifications
You must be signed in to change notification settings - Fork 1
/
SampleReplaceGroupRequest_Term.xml
79 lines (78 loc) · 3.79 KB
/
SampleReplaceGroupRequest_Term.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<imsx_syncRequestHeaderInfo xmlns="http://www.imsglobal.org/services/lis/gms2p0/wsdl11/sync/imsgms_v2p0">
<imsx_version>V2.0</imsx_version>
<imsx_messageIdentifier />
</imsx_syncRequestHeaderInfo>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<replaceGroupRequest xmlns:gms="http://www.imsglobal.org/services/lis/gms2p0/wsdl11/sync/imsgms_v2p0">
<sourcedId>UGRD-0590</sourcedId>
<groupRecord xmlns:gms="http://www.imsglobal.org/services/lis/gms2p0/wsdl11/sync/imsgms_v2p0">
<sourcedGUID>
<refAgentInstanceID>ID</refAgentInstanceID>
<sourcedId>test_term</sourcedId> <!-- sourcedid.id (there is no batch_uid for TERMs) -->
</sourcedGUID>
<group>
<groupType>
<scheme>
<language>en_US</language>
<textString>LIS2.0</textString>
</scheme>
<typevalue>
<id>ValueId</id>
<type>
<language>en_US</language>
<textString>TERM</textString> <!-- typevalue explaining this is a TERM, same as legacy XML -->
</type>
<level>
<language>en_US</language>
<textString>1</textString>
</level>
</typevalue>
</groupType>
<email>test@example.com</email>
<url>http://www.example.com</url>
<timeframe>
<begin>2012-01-16</begin> <!-- Term Begin Date -->
<end>2015-05-10</end> <!-- Term End Date -->
<restrict>true</restrict> <!-- true = Use Dates; false = Continuous -->
<adminPeriod>
<language>en_US</language>
<textString>admin_period_babble</textString> <!-- IGNORED by Learn -->
</adminPeriod>
</timeframe>
<relationship>
<relationId>RelationId</relationId>
<relation>Parent</relation>
<sourcedId>sourcedID_Babble2</sourcedId>
<label>
<language>en_US</language>
<textString>Label</textString>
</label>
</relationship>
<enrollControl>
<enrollAccept>true</enrollAccept>
<enrollAllowed>false</enrollAllowed>
</enrollControl>
<description>
<shortDescription>test_term</shortDescription> <!-- Term Name -->
<longDescription>Long Description Babble</longDescription> <!-- IGNORED by Learn (no way to get Description filled out in GUI)-->
</description>
<dataSource>DataSourceBabble</dataSource>
<recordInfo>
<metadataNameVocabulary>Test</metadataNameVocabulary>
<metadataTypeVocabulary>Test</metadataTypeVocabulary>
<metadataField>
<fieldName>infoName</fieldName>
<fieldType>String</fieldType>
<fieldValue>infoValue</fieldValue>
</metadataField>
</recordInfo>
</group>
</groupRecord>
</replaceGroupRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>