Commit 180d1be Joe Koberg
committed
1 parent fe2fddd commit 180d1be Copy full SHA for 180d1be
File tree 2 files changed +654
-0
lines changed
2 files changed +654
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <TestData >
3
+ <Get path =" rest-1.v1/Data/Story?sel=Name" >
4
+ <Response >
5
+ <![CDATA[
6
+ <Assets total="1" pageSize="2147483647" pageStart="0">
7
+ <Asset href="/VersionOne.Web/rest-1.v1/Data/Story/1042" id="Story:1042">
8
+ <Attribute name="Name">Story</Attribute>
9
+ </Asset>
10
+ </Assets>
11
+ ]]>
12
+ </Response >
13
+ </Get >
14
+ <Post path =" rest-1.v1/Data/Story" >
15
+ <Request >
16
+ <![CDATA[
17
+ <Asset>
18
+ <Attribute name="Name" act="set">New Story</Attribute>
19
+ <Relation name="Scope" act="set">
20
+ <Asset idref="Scope:0" />
21
+ </Relation>
22
+ </Asset>
23
+ ]]>
24
+ </Request >
25
+ <Response >
26
+ <![CDATA[
27
+ <Asset href="/VersionOne/rest-1.v1/Data/Story/1072/214" id="Story:1072:214">
28
+ <Attribute name="Name">New Story</Attribute>
29
+ <Relation name="Scope">
30
+ <Asset href="/VersionOne.Web/rest-1.v1/Data/Scope/0" idref="Scope:0" />
31
+ </Relation>
32
+ </Asset>
33
+ ]]>
34
+ </Response >
35
+ </Post >
36
+ </TestData >
You can’t perform that action at this time.
0 commit comments