frodata 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.autotest +2 -0
- data/.gitignore +24 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +75 -0
- data/CHANGELOG.md +150 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +23 -0
- data/README.md +427 -0
- data/Rakefile +7 -0
- data/TODO.md +55 -0
- data/frodata.gemspec +34 -0
- data/lib/frodata.rb +36 -0
- data/lib/frodata/entity.rb +332 -0
- data/lib/frodata/entity_container.rb +75 -0
- data/lib/frodata/entity_set.rb +161 -0
- data/lib/frodata/errors.rb +68 -0
- data/lib/frodata/navigation_property.rb +29 -0
- data/lib/frodata/navigation_property/proxy.rb +80 -0
- data/lib/frodata/properties.rb +32 -0
- data/lib/frodata/properties/binary.rb +50 -0
- data/lib/frodata/properties/boolean.rb +37 -0
- data/lib/frodata/properties/collection.rb +50 -0
- data/lib/frodata/properties/complex.rb +114 -0
- data/lib/frodata/properties/date.rb +27 -0
- data/lib/frodata/properties/date_time.rb +83 -0
- data/lib/frodata/properties/date_time_offset.rb +17 -0
- data/lib/frodata/properties/decimal.rb +50 -0
- data/lib/frodata/properties/enum.rb +62 -0
- data/lib/frodata/properties/float.rb +67 -0
- data/lib/frodata/properties/geography.rb +13 -0
- data/lib/frodata/properties/geography/base.rb +162 -0
- data/lib/frodata/properties/geography/line_string.rb +33 -0
- data/lib/frodata/properties/geography/point.rb +31 -0
- data/lib/frodata/properties/geography/polygon.rb +38 -0
- data/lib/frodata/properties/guid.rb +17 -0
- data/lib/frodata/properties/integer.rb +107 -0
- data/lib/frodata/properties/number.rb +14 -0
- data/lib/frodata/properties/string.rb +72 -0
- data/lib/frodata/properties/time.rb +40 -0
- data/lib/frodata/properties/time_of_day.rb +27 -0
- data/lib/frodata/property.rb +139 -0
- data/lib/frodata/property_registry.rb +41 -0
- data/lib/frodata/query.rb +233 -0
- data/lib/frodata/query/criteria.rb +92 -0
- data/lib/frodata/query/criteria/comparison_operators.rb +49 -0
- data/lib/frodata/query/criteria/date_functions.rb +61 -0
- data/lib/frodata/query/criteria/geography_functions.rb +21 -0
- data/lib/frodata/query/criteria/lambda_operators.rb +27 -0
- data/lib/frodata/query/criteria/string_functions.rb +40 -0
- data/lib/frodata/query/in_batches.rb +58 -0
- data/lib/frodata/railtie.rb +19 -0
- data/lib/frodata/schema.rb +155 -0
- data/lib/frodata/schema/complex_type.rb +79 -0
- data/lib/frodata/schema/enum_type.rb +95 -0
- data/lib/frodata/service.rb +254 -0
- data/lib/frodata/service/request.rb +85 -0
- data/lib/frodata/service/response.rb +162 -0
- data/lib/frodata/service/response/atom.rb +40 -0
- data/lib/frodata/service/response/json.rb +41 -0
- data/lib/frodata/service/response/plain.rb +36 -0
- data/lib/frodata/service/response/xml.rb +40 -0
- data/lib/frodata/service_registry.rb +52 -0
- data/lib/frodata/version.rb +3 -0
- data/spec/fixtures/files/entity_to_xml.xml +17 -0
- data/spec/fixtures/files/error.xml +5 -0
- data/spec/fixtures/files/metadata.xml +150 -0
- data/spec/fixtures/files/product_0.json +10 -0
- data/spec/fixtures/files/product_0.xml +28 -0
- data/spec/fixtures/files/products.json +106 -0
- data/spec/fixtures/files/products.xml +308 -0
- data/spec/fixtures/files/supplier_0.json +26 -0
- data/spec/fixtures/files/supplier_0.xml +32 -0
- data/spec/fixtures/vcr_cassettes/entity_set_specs.yml +1635 -0
- data/spec/fixtures/vcr_cassettes/entity_set_specs/bad_entry.yml +183 -0
- data/spec/fixtures/vcr_cassettes/entity_set_specs/existing_entry.yml +256 -0
- data/spec/fixtures/vcr_cassettes/entity_set_specs/new_entry.yml +185 -0
- data/spec/fixtures/vcr_cassettes/entity_specs.yml +285 -0
- data/spec/fixtures/vcr_cassettes/navigation_property_proxy_specs.yml +346 -0
- data/spec/fixtures/vcr_cassettes/query/result_specs.yml +189 -0
- data/spec/fixtures/vcr_cassettes/query_specs.yml +1060 -0
- data/spec/fixtures/vcr_cassettes/schema/complex_type_specs.yml +127 -0
- data/spec/fixtures/vcr_cassettes/service/request_specs.yml +193 -0
- data/spec/fixtures/vcr_cassettes/service_registry_specs.yml +129 -0
- data/spec/fixtures/vcr_cassettes/service_specs.yml +127 -0
- data/spec/fixtures/vcr_cassettes/usage_example_specs.yml +1330 -0
- data/spec/frodata/entity/shared_examples.rb +82 -0
- data/spec/frodata/entity_container_spec.rb +38 -0
- data/spec/frodata/entity_set_spec.rb +168 -0
- data/spec/frodata/entity_spec.rb +151 -0
- data/spec/frodata/errors_spec.rb +48 -0
- data/spec/frodata/navigation_property/proxy_spec.rb +44 -0
- data/spec/frodata/navigation_property_spec.rb +55 -0
- data/spec/frodata/properties/binary_spec.rb +50 -0
- data/spec/frodata/properties/boolean_spec.rb +72 -0
- data/spec/frodata/properties/collection_spec.rb +44 -0
- data/spec/frodata/properties/date_spec.rb +23 -0
- data/spec/frodata/properties/date_time_offset_spec.rb +30 -0
- data/spec/frodata/properties/date_time_spec.rb +23 -0
- data/spec/frodata/properties/decimal_spec.rb +51 -0
- data/spec/frodata/properties/float_spec.rb +45 -0
- data/spec/frodata/properties/geography/line_string_spec.rb +33 -0
- data/spec/frodata/properties/geography/point_spec.rb +29 -0
- data/spec/frodata/properties/geography/polygon_spec.rb +55 -0
- data/spec/frodata/properties/geography/shared_examples.rb +72 -0
- data/spec/frodata/properties/guid_spec.rb +17 -0
- data/spec/frodata/properties/integer_spec.rb +58 -0
- data/spec/frodata/properties/string_spec.rb +46 -0
- data/spec/frodata/properties/time_of_day_spec.rb +23 -0
- data/spec/frodata/properties/time_spec.rb +15 -0
- data/spec/frodata/property_registry_spec.rb +16 -0
- data/spec/frodata/property_spec.rb +71 -0
- data/spec/frodata/query/criteria_spec.rb +229 -0
- data/spec/frodata/query_spec.rb +199 -0
- data/spec/frodata/schema/complex_type_spec.rb +96 -0
- data/spec/frodata/schema/enum_type_spec.rb +112 -0
- data/spec/frodata/schema_spec.rb +97 -0
- data/spec/frodata/service/request_spec.rb +49 -0
- data/spec/frodata/service/response_spec.rb +85 -0
- data/spec/frodata/service_registry_spec.rb +18 -0
- data/spec/frodata/service_spec.rb +191 -0
- data/spec/frodata/usage_example_spec.rb +188 -0
- data/spec/spec_helper.rb +32 -0
- data/spec/support/coverage.rb +2 -0
- data/spec/support/vcr.rb +9 -0
- metadata +401 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"@odata.context": "http://services.odata.org/V4/OData/OData.svc/$metadata#Suppliers/$entity",
|
3
|
+
"ID": 0,
|
4
|
+
"Name": "Exotic Liquids",
|
5
|
+
"Address": {
|
6
|
+
"Street": "NE 228th",
|
7
|
+
"City": "Sammamish",
|
8
|
+
"State": "WA",
|
9
|
+
"ZipCode": "98074",
|
10
|
+
"Country": "USA"
|
11
|
+
},
|
12
|
+
"Location": {
|
13
|
+
"type": "Point",
|
14
|
+
"coordinates": [
|
15
|
+
-122.03547668457,
|
16
|
+
47.6316604614258
|
17
|
+
],
|
18
|
+
"crs": {
|
19
|
+
"type": "name",
|
20
|
+
"properties": {
|
21
|
+
"name": "EPSG:4326"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
},
|
25
|
+
"Concurrency": 0
|
26
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<entry xml:base="http://services.odata.org/V4/OData/OData.svc/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://docs.oasis-open.org/odata/ns/data" xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml" m:context="http://services.odata.org/V4/OData/OData.svc/$metadata#Suppliers/$entity" m:etag="W/"0"">
|
3
|
+
<id>http://services.odata.org/V4/OData/OData.svc/Suppliers(0)</id>
|
4
|
+
<category term="#ODataDemo.Supplier" scheme="http://docs.oasis-open.org/odata/ns/scheme" />
|
5
|
+
<link rel="edit" title="Supplier" href="Suppliers(0)" />
|
6
|
+
<link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Products" type="application/xml" title="Products" href="Suppliers(0)/Products/$ref" />
|
7
|
+
<link rel="http://docs.oasis-open.org/odata/ns/related/Products" type="application/atom+xml;type=feed" title="Products" href="Suppliers(0)/Products" />
|
8
|
+
<title />
|
9
|
+
<updated>2017-11-28T19:17:33Z</updated>
|
10
|
+
<author>
|
11
|
+
<name />
|
12
|
+
</author>
|
13
|
+
<content type="application/xml">
|
14
|
+
<m:properties>
|
15
|
+
<d:ID m:type="Int32">0</d:ID>
|
16
|
+
<d:Name>Exotic Liquids</d:Name>
|
17
|
+
<d:Address m:type="#ODataDemo.Address">
|
18
|
+
<d:Street>NE 228th</d:Street>
|
19
|
+
<d:City>Sammamish</d:City>
|
20
|
+
<d:State>WA</d:State>
|
21
|
+
<d:ZipCode>98074</d:ZipCode>
|
22
|
+
<d:Country>USA</d:Country>
|
23
|
+
</d:Address>
|
24
|
+
<d:Location m:type="GeographyPoint">
|
25
|
+
<gml:Point gml:srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
|
26
|
+
<gml:pos>47.6316604614258 -122.03547668457</gml:pos>
|
27
|
+
</gml:Point>
|
28
|
+
</d:Location>
|
29
|
+
<d:Concurrency m:type="Int32">0</d:Concurrency>
|
30
|
+
</m:properties>
|
31
|
+
</content>
|
32
|
+
</entry>
|
@@ -0,0 +1,1635 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products?$skip=10&$top=10
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
12
|
+
Accept:
|
13
|
+
- application/atom+xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Cache-Control:
|
20
|
+
- no-cache
|
21
|
+
Content-Length:
|
22
|
+
- '2774'
|
23
|
+
Content-Type:
|
24
|
+
- application/atom+xml;type=feed;charset=utf-8
|
25
|
+
Server:
|
26
|
+
- Microsoft-IIS/8.0
|
27
|
+
X-Content-Type-Options:
|
28
|
+
- nosniff
|
29
|
+
OData-Version:
|
30
|
+
- 4.0;
|
31
|
+
X-AspNet-Version:
|
32
|
+
- 4.0.30319
|
33
|
+
X-Powered-By:
|
34
|
+
- ASP.NET
|
35
|
+
Access-Control-Allow-Origin:
|
36
|
+
- "*"
|
37
|
+
Access-Control-Allow-Methods:
|
38
|
+
- GET
|
39
|
+
Access-Control-Allow-Headers:
|
40
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
41
|
+
Access-Control-Expose-Headers:
|
42
|
+
- DataServiceVersion
|
43
|
+
Date:
|
44
|
+
- Wed, 29 Nov 2017 01:07:54 GMT
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://services.odata.org/V4/OData/OData.svc/"
|
48
|
+
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://docs.oasis-open.org/odata/ns/data"
|
49
|
+
xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:georss="http://www.georss.org/georss"
|
50
|
+
xmlns:gml="http://www.opengis.net/gml" m:context="http://services.odata.org/V4/OData/OData.svc/$metadata#Products"><id>http://services.odata.org/V4/OData/OData.svc/Products</id><title
|
51
|
+
type="text">Products</title><updated>2017-11-29T01:07:57Z</updated><link rel="self"
|
52
|
+
title="Products" href="Products" /><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(10)</id><category
|
53
|
+
term="#ODataDemo.FeaturedProduct" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
54
|
+
/><link rel="edit" title="Product" href="Products(10)/ODataDemo.FeaturedProduct"
|
55
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
56
|
+
type="application/xml" title="Categories" href="Products(10)/ODataDemo.FeaturedProduct/Categories/$ref"
|
57
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
58
|
+
title="Categories" href="Products(10)/ODataDemo.FeaturedProduct/Categories"
|
59
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier" type="application/xml"
|
60
|
+
title="Supplier" href="Products(10)/ODataDemo.FeaturedProduct/Supplier/$ref"
|
61
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
62
|
+
title="Supplier" href="Products(10)/ODataDemo.FeaturedProduct/Supplier" /><link
|
63
|
+
rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail" type="application/xml"
|
64
|
+
title="ProductDetail" href="Products(10)/ODataDemo.FeaturedProduct/ProductDetail/$ref"
|
65
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
66
|
+
title="ProductDetail" href="Products(10)/ODataDemo.FeaturedProduct/ProductDetail"
|
67
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Advertisement"
|
68
|
+
type="application/xml" title="Advertisement" href="Products(10)/ODataDemo.FeaturedProduct/Advertisement/$ref"
|
69
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Advertisement" type="application/atom+xml;type=entry"
|
70
|
+
title="Advertisement" href="Products(10)/ODataDemo.FeaturedProduct/Advertisement"
|
71
|
+
/><title /><updated>2017-11-29T01:07:57Z</updated><author><name /></author><content
|
72
|
+
type="application/xml"><m:properties><d:ID m:type="Int32">10</d:ID><d:Name>Coffee</d:Name><d:Description>Bulk
|
73
|
+
size can of instant coffee</d:Description><d:ReleaseDate m:type="DateTimeOffset">1982-12-31T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
74
|
+
m:null="true" /><d:Rating m:type="Int16">1</d:Rating><d:Price m:type="Double">6.99</d:Price></m:properties></content></entry></feed>
|
75
|
+
http_version: '1.1'
|
76
|
+
adapter_metadata:
|
77
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products?$skip=10&$top=10
|
78
|
+
recorded_at: Wed, 29 Nov 2017 01:07:57 GMT
|
79
|
+
- request:
|
80
|
+
method: get
|
81
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products?$skip=20&$top=10
|
82
|
+
body:
|
83
|
+
encoding: US-ASCII
|
84
|
+
string: ''
|
85
|
+
headers:
|
86
|
+
User-Agent:
|
87
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
88
|
+
Accept:
|
89
|
+
- application/atom+xml
|
90
|
+
response:
|
91
|
+
status:
|
92
|
+
code: 200
|
93
|
+
message: OK
|
94
|
+
headers:
|
95
|
+
Cache-Control:
|
96
|
+
- no-cache
|
97
|
+
Content-Length:
|
98
|
+
- '622'
|
99
|
+
Content-Type:
|
100
|
+
- application/atom+xml;type=feed;charset=utf-8
|
101
|
+
Server:
|
102
|
+
- Microsoft-IIS/8.0
|
103
|
+
X-Content-Type-Options:
|
104
|
+
- nosniff
|
105
|
+
OData-Version:
|
106
|
+
- 4.0;
|
107
|
+
X-AspNet-Version:
|
108
|
+
- 4.0.30319
|
109
|
+
X-Powered-By:
|
110
|
+
- ASP.NET
|
111
|
+
Access-Control-Allow-Origin:
|
112
|
+
- "*"
|
113
|
+
Access-Control-Allow-Methods:
|
114
|
+
- GET
|
115
|
+
Access-Control-Allow-Headers:
|
116
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
117
|
+
Access-Control-Expose-Headers:
|
118
|
+
- DataServiceVersion
|
119
|
+
Date:
|
120
|
+
- Wed, 29 Nov 2017 01:07:54 GMT
|
121
|
+
body:
|
122
|
+
encoding: UTF-8
|
123
|
+
string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://services.odata.org/V4/OData/OData.svc/"
|
124
|
+
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://docs.oasis-open.org/odata/ns/data"
|
125
|
+
xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:georss="http://www.georss.org/georss"
|
126
|
+
xmlns:gml="http://www.opengis.net/gml" m:context="http://services.odata.org/V4/OData/OData.svc/$metadata#Products"><id>http://services.odata.org/V4/OData/OData.svc/Products</id><title
|
127
|
+
type="text">Products</title><updated>2017-11-29T01:07:57Z</updated><link rel="self"
|
128
|
+
title="Products" href="Products" /><author><name /></author></feed>
|
129
|
+
http_version: '1.1'
|
130
|
+
adapter_metadata:
|
131
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products?$skip=20&$top=10
|
132
|
+
recorded_at: Wed, 29 Nov 2017 01:07:57 GMT
|
133
|
+
- request:
|
134
|
+
method: get
|
135
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products/$count
|
136
|
+
body:
|
137
|
+
encoding: US-ASCII
|
138
|
+
string: ''
|
139
|
+
headers:
|
140
|
+
User-Agent:
|
141
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
142
|
+
OData-Version:
|
143
|
+
- '4.0'
|
144
|
+
Accept:
|
145
|
+
- text/plain
|
146
|
+
response:
|
147
|
+
status:
|
148
|
+
code: 200
|
149
|
+
message: OK
|
150
|
+
headers:
|
151
|
+
Cache-Control:
|
152
|
+
- no-cache
|
153
|
+
Content-Length:
|
154
|
+
- '2'
|
155
|
+
Content-Type:
|
156
|
+
- text/plain;charset=utf-8
|
157
|
+
Server:
|
158
|
+
- Microsoft-IIS/8.0
|
159
|
+
X-Content-Type-Options:
|
160
|
+
- nosniff
|
161
|
+
OData-Version:
|
162
|
+
- 4.0;
|
163
|
+
X-AspNet-Version:
|
164
|
+
- 4.0.30319
|
165
|
+
X-Powered-By:
|
166
|
+
- ASP.NET
|
167
|
+
Access-Control-Allow-Origin:
|
168
|
+
- "*"
|
169
|
+
Access-Control-Allow-Methods:
|
170
|
+
- GET
|
171
|
+
Access-Control-Allow-Headers:
|
172
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
173
|
+
Access-Control-Expose-Headers:
|
174
|
+
- DataServiceVersion
|
175
|
+
Date:
|
176
|
+
- Wed, 29 Nov 2017 01:44:56 GMT
|
177
|
+
body:
|
178
|
+
encoding: UTF-8
|
179
|
+
string: '11'
|
180
|
+
http_version: '1.1'
|
181
|
+
adapter_metadata:
|
182
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products/$count
|
183
|
+
recorded_at: Wed, 29 Nov 2017 01:44:57 GMT
|
184
|
+
- request:
|
185
|
+
method: get
|
186
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products?$top=10
|
187
|
+
body:
|
188
|
+
encoding: US-ASCII
|
189
|
+
string: ''
|
190
|
+
headers:
|
191
|
+
User-Agent:
|
192
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
193
|
+
OData-Version:
|
194
|
+
- '4.0'
|
195
|
+
Accept:
|
196
|
+
- application/atom+xml
|
197
|
+
response:
|
198
|
+
status:
|
199
|
+
code: 200
|
200
|
+
message: OK
|
201
|
+
headers:
|
202
|
+
Cache-Control:
|
203
|
+
- no-cache
|
204
|
+
Content-Length:
|
205
|
+
- '17238'
|
206
|
+
Content-Type:
|
207
|
+
- application/atom+xml;type=feed;charset=utf-8
|
208
|
+
Server:
|
209
|
+
- Microsoft-IIS/8.0
|
210
|
+
X-Content-Type-Options:
|
211
|
+
- nosniff
|
212
|
+
OData-Version:
|
213
|
+
- 4.0;
|
214
|
+
X-AspNet-Version:
|
215
|
+
- 4.0.30319
|
216
|
+
X-Powered-By:
|
217
|
+
- ASP.NET
|
218
|
+
Access-Control-Allow-Origin:
|
219
|
+
- "*"
|
220
|
+
Access-Control-Allow-Methods:
|
221
|
+
- GET
|
222
|
+
Access-Control-Allow-Headers:
|
223
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
224
|
+
Access-Control-Expose-Headers:
|
225
|
+
- DataServiceVersion
|
226
|
+
Date:
|
227
|
+
- Wed, 29 Nov 2017 01:44:57 GMT
|
228
|
+
body:
|
229
|
+
encoding: UTF-8
|
230
|
+
string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://services.odata.org/V4/OData/OData.svc/"
|
231
|
+
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://docs.oasis-open.org/odata/ns/data"
|
232
|
+
xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:georss="http://www.georss.org/georss"
|
233
|
+
xmlns:gml="http://www.opengis.net/gml" m:context="http://services.odata.org/V4/OData/OData.svc/$metadata#Products"><id>http://services.odata.org/V4/OData/OData.svc/Products</id><title
|
234
|
+
type="text">Products</title><updated>2017-11-29T01:44:57Z</updated><link rel="self"
|
235
|
+
title="Products" href="Products" /><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(0)</id><category
|
236
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
237
|
+
/><link rel="edit" title="Product" href="Products(0)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
238
|
+
type="application/xml" title="Categories" href="Products(0)/Categories/$ref"
|
239
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
240
|
+
title="Categories" href="Products(0)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
241
|
+
type="application/xml" title="Supplier" href="Products(0)/Supplier/$ref" /><link
|
242
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
243
|
+
title="Supplier" href="Products(0)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
244
|
+
type="application/xml" title="ProductDetail" href="Products(0)/ProductDetail/$ref"
|
245
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
246
|
+
title="ProductDetail" href="Products(0)/ProductDetail" /><title /><updated>2017-11-29T01:44:57Z</updated><author><name
|
247
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">0</d:ID><d:Name>Bread</d:Name><d:Description>Whole
|
248
|
+
grain bread</d:Description><d:ReleaseDate m:type="DateTimeOffset">1992-01-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
249
|
+
m:null="true" /><d:Rating m:type="Int16">4</d:Rating><d:Price m:type="Double">2.5</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(1)</id><category
|
250
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
251
|
+
/><link rel="edit" title="Product" href="Products(1)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
252
|
+
type="application/xml" title="Categories" href="Products(1)/Categories/$ref"
|
253
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
254
|
+
title="Categories" href="Products(1)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
255
|
+
type="application/xml" title="Supplier" href="Products(1)/Supplier/$ref" /><link
|
256
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
257
|
+
title="Supplier" href="Products(1)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
258
|
+
type="application/xml" title="ProductDetail" href="Products(1)/ProductDetail/$ref"
|
259
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
260
|
+
title="ProductDetail" href="Products(1)/ProductDetail" /><title /><updated>2017-11-29T01:44:57Z</updated><author><name
|
261
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">1</d:ID><d:Name>Milk</d:Name><d:Description>Low
|
262
|
+
fat milk</d:Description><d:ReleaseDate m:type="DateTimeOffset">1995-10-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
263
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">3.5</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(2)</id><category
|
264
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
265
|
+
/><link rel="edit" title="Product" href="Products(2)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
266
|
+
type="application/xml" title="Categories" href="Products(2)/Categories/$ref"
|
267
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
268
|
+
title="Categories" href="Products(2)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
269
|
+
type="application/xml" title="Supplier" href="Products(2)/Supplier/$ref" /><link
|
270
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
271
|
+
title="Supplier" href="Products(2)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
272
|
+
type="application/xml" title="ProductDetail" href="Products(2)/ProductDetail/$ref"
|
273
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
274
|
+
title="ProductDetail" href="Products(2)/ProductDetail" /><title /><updated>2017-11-29T01:44:57Z</updated><author><name
|
275
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">2</d:ID><d:Name>Vint
|
276
|
+
soda</d:Name><d:Description>Americana Variety - Mix of 6 flavors</d:Description><d:ReleaseDate
|
277
|
+
m:type="DateTimeOffset">2000-10-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
278
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">20.9</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(3)</id><category
|
279
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
280
|
+
/><link rel="edit" title="Product" href="Products(3)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
281
|
+
type="application/xml" title="Categories" href="Products(3)/Categories/$ref"
|
282
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
283
|
+
title="Categories" href="Products(3)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
284
|
+
type="application/xml" title="Supplier" href="Products(3)/Supplier/$ref" /><link
|
285
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
286
|
+
title="Supplier" href="Products(3)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
287
|
+
type="application/xml" title="ProductDetail" href="Products(3)/ProductDetail/$ref"
|
288
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
289
|
+
title="ProductDetail" href="Products(3)/ProductDetail" /><title /><updated>2017-11-29T01:44:57Z</updated><author><name
|
290
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">3</d:ID><d:Name>Havina
|
291
|
+
Cola</d:Name><d:Description>The Original Key Lime Cola</d:Description><d:ReleaseDate
|
292
|
+
m:type="DateTimeOffset">2005-10-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
293
|
+
m:type="DateTimeOffset">2006-10-01T00:00:00Z</d:DiscontinuedDate><d:Rating
|
294
|
+
m:type="Int16">3</d:Rating><d:Price m:type="Double">19.9</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(4)</id><category
|
295
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
296
|
+
/><link rel="edit" title="Product" href="Products(4)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
297
|
+
type="application/xml" title="Categories" href="Products(4)/Categories/$ref"
|
298
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
299
|
+
title="Categories" href="Products(4)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
300
|
+
type="application/xml" title="Supplier" href="Products(4)/Supplier/$ref" /><link
|
301
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
302
|
+
title="Supplier" href="Products(4)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
303
|
+
type="application/xml" title="ProductDetail" href="Products(4)/ProductDetail/$ref"
|
304
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
305
|
+
title="ProductDetail" href="Products(4)/ProductDetail" /><title /><updated>2017-11-29T01:44:57Z</updated><author><name
|
306
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">4</d:ID><d:Name>Fruit
|
307
|
+
Punch</d:Name><d:Description>Mango flavor, 8.3 Ounce Cans (Pack of 24)</d:Description><d:ReleaseDate
|
308
|
+
m:type="DateTimeOffset">2003-01-05T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
309
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">22.99</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(5)</id><category
|
310
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
311
|
+
/><link rel="edit" title="Product" href="Products(5)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
312
|
+
type="application/xml" title="Categories" href="Products(5)/Categories/$ref"
|
313
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
314
|
+
title="Categories" href="Products(5)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
315
|
+
type="application/xml" title="Supplier" href="Products(5)/Supplier/$ref" /><link
|
316
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
317
|
+
title="Supplier" href="Products(5)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
318
|
+
type="application/xml" title="ProductDetail" href="Products(5)/ProductDetail/$ref"
|
319
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
320
|
+
title="ProductDetail" href="Products(5)/ProductDetail" /><title /><updated>2017-11-29T01:44:57Z</updated><author><name
|
321
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">5</d:ID><d:Name>Cranberry
|
322
|
+
Juice</d:Name><d:Description>16-Ounce Plastic Bottles (Pack of 12)</d:Description><d:ReleaseDate
|
323
|
+
m:type="DateTimeOffset">2006-08-04T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
324
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">22.8</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(6)</id><category
|
325
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
326
|
+
/><link rel="edit" title="Product" href="Products(6)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
327
|
+
type="application/xml" title="Categories" href="Products(6)/Categories/$ref"
|
328
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
329
|
+
title="Categories" href="Products(6)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
330
|
+
type="application/xml" title="Supplier" href="Products(6)/Supplier/$ref" /><link
|
331
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
332
|
+
title="Supplier" href="Products(6)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
333
|
+
type="application/xml" title="ProductDetail" href="Products(6)/ProductDetail/$ref"
|
334
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
335
|
+
title="ProductDetail" href="Products(6)/ProductDetail" /><title /><updated>2017-11-29T01:44:57Z</updated><author><name
|
336
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">6</d:ID><d:Name>Pink
|
337
|
+
Lemonade</d:Name><d:Description>36 Ounce Cans (Pack of 3)</d:Description><d:ReleaseDate
|
338
|
+
m:type="DateTimeOffset">2006-11-05T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
339
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">18.8</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(7)</id><category
|
340
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
341
|
+
/><link rel="edit" title="Product" href="Products(7)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
342
|
+
type="application/xml" title="Categories" href="Products(7)/Categories/$ref"
|
343
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
344
|
+
title="Categories" href="Products(7)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
345
|
+
type="application/xml" title="Supplier" href="Products(7)/Supplier/$ref" /><link
|
346
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
347
|
+
title="Supplier" href="Products(7)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
348
|
+
type="application/xml" title="ProductDetail" href="Products(7)/ProductDetail/$ref"
|
349
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
350
|
+
title="ProductDetail" href="Products(7)/ProductDetail" /><title /><updated>2017-11-29T01:44:57Z</updated><author><name
|
351
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">7</d:ID><d:Name>DVD
|
352
|
+
Player</d:Name><d:Description>1080P Upconversion DVD Player</d:Description><d:ReleaseDate
|
353
|
+
m:type="DateTimeOffset">2006-11-15T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
354
|
+
m:null="true" /><d:Rating m:type="Int16">5</d:Rating><d:Price m:type="Double">35.88</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(8)</id><category
|
355
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
356
|
+
/><link rel="edit" title="Product" href="Products(8)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
357
|
+
type="application/xml" title="Categories" href="Products(8)/Categories/$ref"
|
358
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
359
|
+
title="Categories" href="Products(8)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
360
|
+
type="application/xml" title="Supplier" href="Products(8)/Supplier/$ref" /><link
|
361
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
362
|
+
title="Supplier" href="Products(8)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
363
|
+
type="application/xml" title="ProductDetail" href="Products(8)/ProductDetail/$ref"
|
364
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
365
|
+
title="ProductDetail" href="Products(8)/ProductDetail" /><title /><updated>2017-11-29T01:44:57Z</updated><author><name
|
366
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">8</d:ID><d:Name>LCD
|
367
|
+
HDTV</d:Name><d:Description>42 inch 1080p LCD with Built-in Blu-ray Disc Player</d:Description><d:ReleaseDate
|
368
|
+
m:type="DateTimeOffset">2008-05-08T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
369
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">1088.8</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(9)</id><category
|
370
|
+
term="#ODataDemo.FeaturedProduct" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
371
|
+
/><link rel="edit" title="Product" href="Products(9)/ODataDemo.FeaturedProduct"
|
372
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
373
|
+
type="application/xml" title="Categories" href="Products(9)/ODataDemo.FeaturedProduct/Categories/$ref"
|
374
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
375
|
+
title="Categories" href="Products(9)/ODataDemo.FeaturedProduct/Categories"
|
376
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier" type="application/xml"
|
377
|
+
title="Supplier" href="Products(9)/ODataDemo.FeaturedProduct/Supplier/$ref"
|
378
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
379
|
+
title="Supplier" href="Products(9)/ODataDemo.FeaturedProduct/Supplier" /><link
|
380
|
+
rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail" type="application/xml"
|
381
|
+
title="ProductDetail" href="Products(9)/ODataDemo.FeaturedProduct/ProductDetail/$ref"
|
382
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
383
|
+
title="ProductDetail" href="Products(9)/ODataDemo.FeaturedProduct/ProductDetail"
|
384
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Advertisement"
|
385
|
+
type="application/xml" title="Advertisement" href="Products(9)/ODataDemo.FeaturedProduct/Advertisement/$ref"
|
386
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Advertisement" type="application/atom+xml;type=entry"
|
387
|
+
title="Advertisement" href="Products(9)/ODataDemo.FeaturedProduct/Advertisement"
|
388
|
+
/><title /><updated>2017-11-29T01:44:57Z</updated><author><name /></author><content
|
389
|
+
type="application/xml"><m:properties><d:ID m:type="Int32">9</d:ID><d:Name>Lemonade</d:Name><d:Description>Classic,
|
390
|
+
refreshing lemonade (Single bottle)</d:Description><d:ReleaseDate m:type="DateTimeOffset">1970-01-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
391
|
+
m:null="true" /><d:Rating m:type="Int16">7</d:Rating><d:Price m:type="Double">1.01</d:Price></m:properties></content></entry></feed>
|
392
|
+
http_version: '1.1'
|
393
|
+
adapter_metadata:
|
394
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products?$top=10
|
395
|
+
recorded_at: Wed, 29 Nov 2017 01:44:58 GMT
|
396
|
+
- request:
|
397
|
+
method: get
|
398
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products(0)
|
399
|
+
body:
|
400
|
+
encoding: US-ASCII
|
401
|
+
string: ''
|
402
|
+
headers:
|
403
|
+
User-Agent:
|
404
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
405
|
+
OData-Version:
|
406
|
+
- '4.0'
|
407
|
+
Accept:
|
408
|
+
- application/atom+xml
|
409
|
+
response:
|
410
|
+
status:
|
411
|
+
code: 200
|
412
|
+
message: OK
|
413
|
+
headers:
|
414
|
+
Cache-Control:
|
415
|
+
- no-cache
|
416
|
+
Content-Length:
|
417
|
+
- '1986'
|
418
|
+
Content-Type:
|
419
|
+
- application/atom+xml;type=entry;charset=utf-8
|
420
|
+
Server:
|
421
|
+
- Microsoft-IIS/8.0
|
422
|
+
X-Content-Type-Options:
|
423
|
+
- nosniff
|
424
|
+
OData-Version:
|
425
|
+
- 4.0;
|
426
|
+
X-AspNet-Version:
|
427
|
+
- 4.0.30319
|
428
|
+
X-Powered-By:
|
429
|
+
- ASP.NET
|
430
|
+
Access-Control-Allow-Origin:
|
431
|
+
- "*"
|
432
|
+
Access-Control-Allow-Methods:
|
433
|
+
- GET
|
434
|
+
Access-Control-Allow-Headers:
|
435
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
436
|
+
Access-Control-Expose-Headers:
|
437
|
+
- DataServiceVersion
|
438
|
+
Date:
|
439
|
+
- Wed, 29 Nov 2017 01:44:57 GMT
|
440
|
+
body:
|
441
|
+
encoding: UTF-8
|
442
|
+
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://services.odata.org/V4/OData/OData.svc/"
|
443
|
+
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://docs.oasis-open.org/odata/ns/data"
|
444
|
+
xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:georss="http://www.georss.org/georss"
|
445
|
+
xmlns:gml="http://www.opengis.net/gml" m:context="http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity"><id>http://services.odata.org/V4/OData/OData.svc/Products(0)</id><category
|
446
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
447
|
+
/><link rel="edit" title="Product" href="Products(0)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
448
|
+
type="application/xml" title="Categories" href="Products(0)/Categories/$ref"
|
449
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
450
|
+
title="Categories" href="Products(0)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
451
|
+
type="application/xml" title="Supplier" href="Products(0)/Supplier/$ref" /><link
|
452
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
453
|
+
title="Supplier" href="Products(0)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
454
|
+
type="application/xml" title="ProductDetail" href="Products(0)/ProductDetail/$ref"
|
455
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
456
|
+
title="ProductDetail" href="Products(0)/ProductDetail" /><title /><updated>2017-11-29T01:44:57Z</updated><author><name
|
457
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">0</d:ID><d:Name>Bread</d:Name><d:Description>Whole
|
458
|
+
grain bread</d:Description><d:ReleaseDate m:type="DateTimeOffset">1992-01-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
459
|
+
m:null="true" /><d:Rating m:type="Int16">4</d:Rating><d:Price m:type="Double">2.5</d:Price></m:properties></content></entry>
|
460
|
+
http_version: '1.1'
|
461
|
+
adapter_metadata:
|
462
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products(0)
|
463
|
+
recorded_at: Wed, 29 Nov 2017 01:44:58 GMT
|
464
|
+
- request:
|
465
|
+
method: get
|
466
|
+
uri: http://services.odata.org/V4/OData/OData.svc/$metadata
|
467
|
+
body:
|
468
|
+
encoding: US-ASCII
|
469
|
+
string: ''
|
470
|
+
headers:
|
471
|
+
User-Agent:
|
472
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
473
|
+
OData-Version:
|
474
|
+
- '4.0'
|
475
|
+
response:
|
476
|
+
status:
|
477
|
+
code: 200
|
478
|
+
message: OK
|
479
|
+
headers:
|
480
|
+
Cache-Control:
|
481
|
+
- no-cache
|
482
|
+
Content-Length:
|
483
|
+
- '6742'
|
484
|
+
Content-Type:
|
485
|
+
- application/xml;charset=utf-8
|
486
|
+
Server:
|
487
|
+
- Microsoft-IIS/8.0
|
488
|
+
X-Content-Type-Options:
|
489
|
+
- nosniff
|
490
|
+
OData-Version:
|
491
|
+
- 4.0;
|
492
|
+
X-AspNet-Version:
|
493
|
+
- 4.0.30319
|
494
|
+
X-Powered-By:
|
495
|
+
- ASP.NET
|
496
|
+
Access-Control-Allow-Origin:
|
497
|
+
- "*"
|
498
|
+
Access-Control-Allow-Methods:
|
499
|
+
- GET
|
500
|
+
Access-Control-Allow-Headers:
|
501
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
502
|
+
Access-Control-Expose-Headers:
|
503
|
+
- DataServiceVersion
|
504
|
+
Date:
|
505
|
+
- Wed, 29 Nov 2017 01:44:57 GMT
|
506
|
+
body:
|
507
|
+
encoding: UTF-8
|
508
|
+
string: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"><edmx:DataServices><Schema
|
509
|
+
Namespace="ODataDemo" xmlns="http://docs.oasis-open.org/odata/ns/edm"><EntityType
|
510
|
+
Name="Product"><Key><PropertyRef Name="ID" /></Key><Property Name="ID" Type="Edm.Int32"
|
511
|
+
Nullable="false" /><Property Name="Name" Type="Edm.String" /><Property Name="Description"
|
512
|
+
Type="Edm.String" /><Property Name="ReleaseDate" Type="Edm.DateTimeOffset"
|
513
|
+
Nullable="false" /><Property Name="DiscontinuedDate" Type="Edm.DateTimeOffset"
|
514
|
+
/><Property Name="Rating" Type="Edm.Int16" Nullable="false" /><Property Name="Price"
|
515
|
+
Type="Edm.Double" Nullable="false" /><NavigationProperty Name="Categories"
|
516
|
+
Type="Collection(ODataDemo.Category)" Partner="Products" /><NavigationProperty
|
517
|
+
Name="Supplier" Type="ODataDemo.Supplier" Partner="Products" /><NavigationProperty
|
518
|
+
Name="ProductDetail" Type="ODataDemo.ProductDetail" Partner="Product" /></EntityType><EntityType
|
519
|
+
Name="FeaturedProduct" BaseType="ODataDemo.Product"><NavigationProperty Name="Advertisement"
|
520
|
+
Type="ODataDemo.Advertisement" Partner="FeaturedProduct" /></EntityType><EntityType
|
521
|
+
Name="ProductDetail"><Key><PropertyRef Name="ProductID" /></Key><Property
|
522
|
+
Name="ProductID" Type="Edm.Int32" Nullable="false" /><Property Name="Details"
|
523
|
+
Type="Edm.String" /><NavigationProperty Name="Product" Type="ODataDemo.Product"
|
524
|
+
Partner="ProductDetail" /></EntityType><EntityType Name="Category" OpenType="true"><Key><PropertyRef
|
525
|
+
Name="ID" /></Key><Property Name="ID" Type="Edm.Int32" Nullable="false" /><Property
|
526
|
+
Name="Name" Type="Edm.String" /><NavigationProperty Name="Products" Type="Collection(ODataDemo.Product)"
|
527
|
+
Partner="Categories" /></EntityType><EntityType Name="Supplier"><Key><PropertyRef
|
528
|
+
Name="ID" /></Key><Property Name="ID" Type="Edm.Int32" Nullable="false" /><Property
|
529
|
+
Name="Name" Type="Edm.String" /><Property Name="Address" Type="ODataDemo.Address"
|
530
|
+
/><Property Name="Location" Type="Edm.GeographyPoint" SRID="Variable" /><Property
|
531
|
+
Name="Concurrency" Type="Edm.Int32" ConcurrencyMode="Fixed" Nullable="false"
|
532
|
+
/><NavigationProperty Name="Products" Type="Collection(ODataDemo.Product)"
|
533
|
+
Partner="Supplier" /></EntityType><ComplexType Name="Address"><Property Name="Street"
|
534
|
+
Type="Edm.String" /><Property Name="City" Type="Edm.String" /><Property Name="State"
|
535
|
+
Type="Edm.String" /><Property Name="ZipCode" Type="Edm.String" /><Property
|
536
|
+
Name="Country" Type="Edm.String" /></ComplexType><EntityType Name="Person"><Key><PropertyRef
|
537
|
+
Name="ID" /></Key><Property Name="ID" Type="Edm.Int32" Nullable="false" /><Property
|
538
|
+
Name="Name" Type="Edm.String" /><NavigationProperty Name="PersonDetail" Type="ODataDemo.PersonDetail"
|
539
|
+
Partner="Person" /></EntityType><EntityType Name="Customer" BaseType="ODataDemo.Person"><Property
|
540
|
+
Name="TotalExpense" Type="Edm.Decimal" Nullable="false" /></EntityType><EntityType
|
541
|
+
Name="Employee" BaseType="ODataDemo.Person"><Property Name="EmployeeID" Type="Edm.Int64"
|
542
|
+
Nullable="false" /><Property Name="HireDate" Type="Edm.DateTimeOffset" Nullable="false"
|
543
|
+
/><Property Name="Salary" Type="Edm.Single" Nullable="false" /></EntityType><EntityType
|
544
|
+
Name="PersonDetail"><Key><PropertyRef Name="PersonID" /></Key><Property Name="PersonID"
|
545
|
+
Type="Edm.Int32" Nullable="false" /><Property Name="Age" Type="Edm.Byte" Nullable="false"
|
546
|
+
/><Property Name="Gender" Type="Edm.Boolean" Nullable="false" /><Property
|
547
|
+
Name="Phone" Type="Edm.String" /><Property Name="Address" Type="ODataDemo.Address"
|
548
|
+
/><Property Name="Photo" Type="Edm.Stream" Nullable="false" /><NavigationProperty
|
549
|
+
Name="Person" Type="ODataDemo.Person" Partner="PersonDetail" /></EntityType><EntityType
|
550
|
+
Name="Advertisement" HasStream="true"><Key><PropertyRef Name="ID" /></Key><Property
|
551
|
+
Name="ID" Type="Edm.Guid" Nullable="false" /><Property Name="Name" Type="Edm.String"
|
552
|
+
/><Property Name="AirDate" Type="Edm.DateTimeOffset" Nullable="false" /><NavigationProperty
|
553
|
+
Name="FeaturedProduct" Type="ODataDemo.FeaturedProduct" Partner="Advertisement"
|
554
|
+
/></EntityType><EntityContainer Name="DemoService"><EntitySet Name="Products"
|
555
|
+
EntityType="ODataDemo.Product"><NavigationPropertyBinding Path="ODataDemo.FeaturedProduct/Advertisement"
|
556
|
+
Target="Advertisements" /><NavigationPropertyBinding Path="Categories" Target="Categories"
|
557
|
+
/><NavigationPropertyBinding Path="Supplier" Target="Suppliers" /><NavigationPropertyBinding
|
558
|
+
Path="ProductDetail" Target="ProductDetails" /></EntitySet><EntitySet Name="ProductDetails"
|
559
|
+
EntityType="ODataDemo.ProductDetail"><NavigationPropertyBinding Path="Product"
|
560
|
+
Target="Products" /></EntitySet><EntitySet Name="Categories" EntityType="ODataDemo.Category"><NavigationPropertyBinding
|
561
|
+
Path="Products" Target="Products" /></EntitySet><EntitySet Name="Suppliers"
|
562
|
+
EntityType="ODataDemo.Supplier"><NavigationPropertyBinding Path="Products"
|
563
|
+
Target="Products" /></EntitySet><EntitySet Name="Persons" EntityType="ODataDemo.Person"><NavigationPropertyBinding
|
564
|
+
Path="PersonDetail" Target="PersonDetails" /></EntitySet><EntitySet Name="PersonDetails"
|
565
|
+
EntityType="ODataDemo.PersonDetail"><NavigationPropertyBinding Path="Person"
|
566
|
+
Target="Persons" /></EntitySet><EntitySet Name="Advertisements" EntityType="ODataDemo.Advertisement"><NavigationPropertyBinding
|
567
|
+
Path="FeaturedProduct" Target="Products" /></EntitySet></EntityContainer><Annotations
|
568
|
+
Target="ODataDemo.DemoService"><Annotation Term="Org.OData.Display.V1.Description"
|
569
|
+
String="This is a sample OData service with vocabularies" /></Annotations><Annotations
|
570
|
+
Target="ODataDemo.Product"><Annotation Term="Org.OData.Display.V1.Description"
|
571
|
+
String="All Products available in the online store" /></Annotations><Annotations
|
572
|
+
Target="ODataDemo.Product/Name"><Annotation Term="Org.OData.Display.V1.DisplayName"
|
573
|
+
String="Product Name" /></Annotations><Annotations Target="ODataDemo.DemoService/Suppliers"><Annotation
|
574
|
+
Term="Org.OData.Publication.V1.PublisherName" String="Microsoft Corp." /><Annotation
|
575
|
+
Term="Org.OData.Publication.V1.PublisherId" String="MSFT" /><Annotation Term="Org.OData.Publication.V1.Keywords"
|
576
|
+
String="Inventory, Supplier, Advertisers, Sales, Finance" /><Annotation Term="Org.OData.Publication.V1.AttributionUrl"
|
577
|
+
String="http://www.odata.org/" /><Annotation Term="Org.OData.Publication.V1.AttributionDescription"
|
578
|
+
String="All rights reserved" /><Annotation Term="Org.OData.Publication.V1.DocumentationUrl
|
579
|
+
" String="http://www.odata.org/" /><Annotation Term="Org.OData.Publication.V1.TermsOfUseUrl"
|
580
|
+
String="All rights reserved" /><Annotation Term="Org.OData.Publication.V1.PrivacyPolicyUrl"
|
581
|
+
String="http://www.odata.org/" /><Annotation Term="Org.OData.Publication.V1.LastModified"
|
582
|
+
String="4/2/2013" /><Annotation Term="Org.OData.Publication.V1.ImageUrl "
|
583
|
+
String="http://www.odata.org/" /></Annotations></Schema></edmx:DataServices></edmx:Edmx>
|
584
|
+
http_version: '1.1'
|
585
|
+
adapter_metadata:
|
586
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/$metadata
|
587
|
+
recorded_at: Wed, 29 Nov 2017 01:44:58 GMT
|
588
|
+
- request:
|
589
|
+
method: get
|
590
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products(99)
|
591
|
+
body:
|
592
|
+
encoding: US-ASCII
|
593
|
+
string: ''
|
594
|
+
headers:
|
595
|
+
User-Agent:
|
596
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
597
|
+
OData-Version:
|
598
|
+
- '4.0'
|
599
|
+
Accept:
|
600
|
+
- application/atom+xml
|
601
|
+
response:
|
602
|
+
status:
|
603
|
+
code: 404
|
604
|
+
message: Not Found
|
605
|
+
headers:
|
606
|
+
Cache-Control:
|
607
|
+
- no-cache
|
608
|
+
Content-Length:
|
609
|
+
- '191'
|
610
|
+
Content-Type:
|
611
|
+
- application/xml;charset=utf-8
|
612
|
+
Server:
|
613
|
+
- Microsoft-IIS/8.0
|
614
|
+
X-Content-Type-Options:
|
615
|
+
- nosniff
|
616
|
+
OData-Version:
|
617
|
+
- '4.0'
|
618
|
+
X-AspNet-Version:
|
619
|
+
- 4.0.30319
|
620
|
+
X-Powered-By:
|
621
|
+
- ASP.NET
|
622
|
+
Access-Control-Allow-Origin:
|
623
|
+
- "*"
|
624
|
+
Access-Control-Allow-Methods:
|
625
|
+
- GET
|
626
|
+
Access-Control-Allow-Headers:
|
627
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
628
|
+
Access-Control-Expose-Headers:
|
629
|
+
- DataServiceVersion
|
630
|
+
Date:
|
631
|
+
- Wed, 29 Nov 2017 01:44:57 GMT
|
632
|
+
body:
|
633
|
+
encoding: UTF-8
|
634
|
+
string: <?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://docs.oasis-open.org/odata/ns/metadata"><m:code
|
635
|
+
/><m:message>Resource not found for the segment 'Products'.</m:message></m:error>
|
636
|
+
http_version: '1.1'
|
637
|
+
adapter_metadata:
|
638
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products(99)
|
639
|
+
recorded_at: Wed, 29 Nov 2017 01:44:58 GMT
|
640
|
+
- request:
|
641
|
+
method: get
|
642
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products?$top=1
|
643
|
+
body:
|
644
|
+
encoding: US-ASCII
|
645
|
+
string: ''
|
646
|
+
headers:
|
647
|
+
User-Agent:
|
648
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
649
|
+
OData-Version:
|
650
|
+
- '4.0'
|
651
|
+
Accept:
|
652
|
+
- application/atom+xml
|
653
|
+
response:
|
654
|
+
status:
|
655
|
+
code: 200
|
656
|
+
message: OK
|
657
|
+
headers:
|
658
|
+
Cache-Control:
|
659
|
+
- no-cache
|
660
|
+
Content-Length:
|
661
|
+
- '2179'
|
662
|
+
Content-Type:
|
663
|
+
- application/atom+xml;type=feed;charset=utf-8
|
664
|
+
Server:
|
665
|
+
- Microsoft-IIS/8.0
|
666
|
+
X-Content-Type-Options:
|
667
|
+
- nosniff
|
668
|
+
OData-Version:
|
669
|
+
- 4.0;
|
670
|
+
X-AspNet-Version:
|
671
|
+
- 4.0.30319
|
672
|
+
X-Powered-By:
|
673
|
+
- ASP.NET
|
674
|
+
Access-Control-Allow-Origin:
|
675
|
+
- "*"
|
676
|
+
Access-Control-Allow-Methods:
|
677
|
+
- GET
|
678
|
+
Access-Control-Allow-Headers:
|
679
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
680
|
+
Access-Control-Expose-Headers:
|
681
|
+
- DataServiceVersion
|
682
|
+
Date:
|
683
|
+
- Thu, 07 Dec 2017 21:23:22 GMT
|
684
|
+
body:
|
685
|
+
encoding: UTF-8
|
686
|
+
string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://services.odata.org/V4/OData/OData.svc/"
|
687
|
+
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://docs.oasis-open.org/odata/ns/data"
|
688
|
+
xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:georss="http://www.georss.org/georss"
|
689
|
+
xmlns:gml="http://www.opengis.net/gml" m:context="http://services.odata.org/V4/OData/OData.svc/$metadata#Products"><id>http://services.odata.org/V4/OData/OData.svc/Products</id><title
|
690
|
+
type="text">Products</title><updated>2017-12-07T21:23:22Z</updated><link rel="self"
|
691
|
+
title="Products" href="Products" /><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(0)</id><category
|
692
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
693
|
+
/><link rel="edit" title="Product" href="Products(0)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
694
|
+
type="application/xml" title="Categories" href="Products(0)/Categories/$ref"
|
695
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
696
|
+
title="Categories" href="Products(0)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
697
|
+
type="application/xml" title="Supplier" href="Products(0)/Supplier/$ref" /><link
|
698
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
699
|
+
title="Supplier" href="Products(0)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
700
|
+
type="application/xml" title="ProductDetail" href="Products(0)/ProductDetail/$ref"
|
701
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
702
|
+
title="ProductDetail" href="Products(0)/ProductDetail" /><title /><updated>2017-12-07T21:23:22Z</updated><author><name
|
703
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">0</d:ID><d:Name>Bread</d:Name><d:Description>Whole
|
704
|
+
grain bread</d:Description><d:ReleaseDate m:type="DateTimeOffset">1992-01-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
705
|
+
m:null="true" /><d:Rating m:type="Int16">4</d:Rating><d:Price m:type="Double">2.5</d:Price></m:properties></content></entry></feed>
|
706
|
+
http_version: '1.1'
|
707
|
+
adapter_metadata:
|
708
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products?$top=1
|
709
|
+
recorded_at: Thu, 07 Dec 2017 21:23:23 GMT
|
710
|
+
- request:
|
711
|
+
method: get
|
712
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products?$top=5
|
713
|
+
body:
|
714
|
+
encoding: US-ASCII
|
715
|
+
string: ''
|
716
|
+
headers:
|
717
|
+
User-Agent:
|
718
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
719
|
+
OData-Version:
|
720
|
+
- '4.0'
|
721
|
+
Accept:
|
722
|
+
- application/atom+xml
|
723
|
+
response:
|
724
|
+
status:
|
725
|
+
code: 200
|
726
|
+
message: OK
|
727
|
+
headers:
|
728
|
+
Cache-Control:
|
729
|
+
- no-cache
|
730
|
+
Content-Length:
|
731
|
+
- '8622'
|
732
|
+
Content-Type:
|
733
|
+
- application/atom+xml;type=feed;charset=utf-8
|
734
|
+
Server:
|
735
|
+
- Microsoft-IIS/8.0
|
736
|
+
X-Content-Type-Options:
|
737
|
+
- nosniff
|
738
|
+
OData-Version:
|
739
|
+
- 4.0;
|
740
|
+
X-AspNet-Version:
|
741
|
+
- 4.0.30319
|
742
|
+
X-Powered-By:
|
743
|
+
- ASP.NET
|
744
|
+
Access-Control-Allow-Origin:
|
745
|
+
- "*"
|
746
|
+
Access-Control-Allow-Methods:
|
747
|
+
- GET
|
748
|
+
Access-Control-Allow-Headers:
|
749
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
750
|
+
Access-Control-Expose-Headers:
|
751
|
+
- DataServiceVersion
|
752
|
+
Date:
|
753
|
+
- Thu, 07 Dec 2017 21:28:35 GMT
|
754
|
+
body:
|
755
|
+
encoding: UTF-8
|
756
|
+
string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://services.odata.org/V4/OData/OData.svc/"
|
757
|
+
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://docs.oasis-open.org/odata/ns/data"
|
758
|
+
xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:georss="http://www.georss.org/georss"
|
759
|
+
xmlns:gml="http://www.opengis.net/gml" m:context="http://services.odata.org/V4/OData/OData.svc/$metadata#Products"><id>http://services.odata.org/V4/OData/OData.svc/Products</id><title
|
760
|
+
type="text">Products</title><updated>2017-12-07T21:28:34Z</updated><link rel="self"
|
761
|
+
title="Products" href="Products" /><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(0)</id><category
|
762
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
763
|
+
/><link rel="edit" title="Product" href="Products(0)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
764
|
+
type="application/xml" title="Categories" href="Products(0)/Categories/$ref"
|
765
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
766
|
+
title="Categories" href="Products(0)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
767
|
+
type="application/xml" title="Supplier" href="Products(0)/Supplier/$ref" /><link
|
768
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
769
|
+
title="Supplier" href="Products(0)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
770
|
+
type="application/xml" title="ProductDetail" href="Products(0)/ProductDetail/$ref"
|
771
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
772
|
+
title="ProductDetail" href="Products(0)/ProductDetail" /><title /><updated>2017-12-07T21:28:34Z</updated><author><name
|
773
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">0</d:ID><d:Name>Bread</d:Name><d:Description>Whole
|
774
|
+
grain bread</d:Description><d:ReleaseDate m:type="DateTimeOffset">1992-01-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
775
|
+
m:null="true" /><d:Rating m:type="Int16">4</d:Rating><d:Price m:type="Double">2.5</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(1)</id><category
|
776
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
777
|
+
/><link rel="edit" title="Product" href="Products(1)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
778
|
+
type="application/xml" title="Categories" href="Products(1)/Categories/$ref"
|
779
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
780
|
+
title="Categories" href="Products(1)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
781
|
+
type="application/xml" title="Supplier" href="Products(1)/Supplier/$ref" /><link
|
782
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
783
|
+
title="Supplier" href="Products(1)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
784
|
+
type="application/xml" title="ProductDetail" href="Products(1)/ProductDetail/$ref"
|
785
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
786
|
+
title="ProductDetail" href="Products(1)/ProductDetail" /><title /><updated>2017-12-07T21:28:34Z</updated><author><name
|
787
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">1</d:ID><d:Name>Milk</d:Name><d:Description>Low
|
788
|
+
fat milk</d:Description><d:ReleaseDate m:type="DateTimeOffset">1995-10-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
789
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">3.5</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(2)</id><category
|
790
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
791
|
+
/><link rel="edit" title="Product" href="Products(2)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
792
|
+
type="application/xml" title="Categories" href="Products(2)/Categories/$ref"
|
793
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
794
|
+
title="Categories" href="Products(2)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
795
|
+
type="application/xml" title="Supplier" href="Products(2)/Supplier/$ref" /><link
|
796
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
797
|
+
title="Supplier" href="Products(2)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
798
|
+
type="application/xml" title="ProductDetail" href="Products(2)/ProductDetail/$ref"
|
799
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
800
|
+
title="ProductDetail" href="Products(2)/ProductDetail" /><title /><updated>2017-12-07T21:28:34Z</updated><author><name
|
801
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">2</d:ID><d:Name>Vint
|
802
|
+
soda</d:Name><d:Description>Americana Variety - Mix of 6 flavors</d:Description><d:ReleaseDate
|
803
|
+
m:type="DateTimeOffset">2000-10-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
804
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">20.9</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(3)</id><category
|
805
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
806
|
+
/><link rel="edit" title="Product" href="Products(3)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
807
|
+
type="application/xml" title="Categories" href="Products(3)/Categories/$ref"
|
808
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
809
|
+
title="Categories" href="Products(3)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
810
|
+
type="application/xml" title="Supplier" href="Products(3)/Supplier/$ref" /><link
|
811
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
812
|
+
title="Supplier" href="Products(3)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
813
|
+
type="application/xml" title="ProductDetail" href="Products(3)/ProductDetail/$ref"
|
814
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
815
|
+
title="ProductDetail" href="Products(3)/ProductDetail" /><title /><updated>2017-12-07T21:28:34Z</updated><author><name
|
816
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">3</d:ID><d:Name>Havina
|
817
|
+
Cola</d:Name><d:Description>The Original Key Lime Cola</d:Description><d:ReleaseDate
|
818
|
+
m:type="DateTimeOffset">2005-10-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
819
|
+
m:type="DateTimeOffset">2006-10-01T00:00:00Z</d:DiscontinuedDate><d:Rating
|
820
|
+
m:type="Int16">3</d:Rating><d:Price m:type="Double">19.9</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(4)</id><category
|
821
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
822
|
+
/><link rel="edit" title="Product" href="Products(4)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
823
|
+
type="application/xml" title="Categories" href="Products(4)/Categories/$ref"
|
824
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
825
|
+
title="Categories" href="Products(4)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
826
|
+
type="application/xml" title="Supplier" href="Products(4)/Supplier/$ref" /><link
|
827
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
828
|
+
title="Supplier" href="Products(4)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
829
|
+
type="application/xml" title="ProductDetail" href="Products(4)/ProductDetail/$ref"
|
830
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
831
|
+
title="ProductDetail" href="Products(4)/ProductDetail" /><title /><updated>2017-12-07T21:28:34Z</updated><author><name
|
832
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">4</d:ID><d:Name>Fruit
|
833
|
+
Punch</d:Name><d:Description>Mango flavor, 8.3 Ounce Cans (Pack of 24)</d:Description><d:ReleaseDate
|
834
|
+
m:type="DateTimeOffset">2003-01-05T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
835
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">22.99</d:Price></m:properties></content></entry></feed>
|
836
|
+
http_version: '1.1'
|
837
|
+
adapter_metadata:
|
838
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products?$top=5
|
839
|
+
recorded_at: Thu, 07 Dec 2017 21:28:34 GMT
|
840
|
+
- request:
|
841
|
+
method: get
|
842
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products
|
843
|
+
body:
|
844
|
+
encoding: US-ASCII
|
845
|
+
string: ''
|
846
|
+
headers:
|
847
|
+
User-Agent:
|
848
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
849
|
+
OData-Version:
|
850
|
+
- '4.0'
|
851
|
+
Accept:
|
852
|
+
- application/atom+xml
|
853
|
+
response:
|
854
|
+
status:
|
855
|
+
code: 200
|
856
|
+
message: OK
|
857
|
+
headers:
|
858
|
+
Cache-Control:
|
859
|
+
- no-cache
|
860
|
+
Content-Length:
|
861
|
+
- '19415'
|
862
|
+
Content-Type:
|
863
|
+
- application/atom+xml;type=feed;charset=utf-8
|
864
|
+
Server:
|
865
|
+
- Microsoft-IIS/8.0
|
866
|
+
X-Content-Type-Options:
|
867
|
+
- nosniff
|
868
|
+
OData-Version:
|
869
|
+
- 4.0;
|
870
|
+
X-AspNet-Version:
|
871
|
+
- 4.0.30319
|
872
|
+
X-Powered-By:
|
873
|
+
- ASP.NET
|
874
|
+
Access-Control-Allow-Origin:
|
875
|
+
- "*"
|
876
|
+
Access-Control-Allow-Methods:
|
877
|
+
- GET
|
878
|
+
Access-Control-Allow-Headers:
|
879
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
880
|
+
Access-Control-Expose-Headers:
|
881
|
+
- DataServiceVersion
|
882
|
+
Date:
|
883
|
+
- Thu, 07 Dec 2017 21:54:53 GMT
|
884
|
+
body:
|
885
|
+
encoding: UTF-8
|
886
|
+
string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://services.odata.org/V4/OData/OData.svc/"
|
887
|
+
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://docs.oasis-open.org/odata/ns/data"
|
888
|
+
xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:georss="http://www.georss.org/georss"
|
889
|
+
xmlns:gml="http://www.opengis.net/gml" m:context="http://services.odata.org/V4/OData/OData.svc/$metadata#Products"><id>http://services.odata.org/V4/OData/OData.svc/Products</id><title
|
890
|
+
type="text">Products</title><updated>2017-12-07T21:54:51Z</updated><link rel="self"
|
891
|
+
title="Products" href="Products" /><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(0)</id><category
|
892
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
893
|
+
/><link rel="edit" title="Product" href="Products(0)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
894
|
+
type="application/xml" title="Categories" href="Products(0)/Categories/$ref"
|
895
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
896
|
+
title="Categories" href="Products(0)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
897
|
+
type="application/xml" title="Supplier" href="Products(0)/Supplier/$ref" /><link
|
898
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
899
|
+
title="Supplier" href="Products(0)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
900
|
+
type="application/xml" title="ProductDetail" href="Products(0)/ProductDetail/$ref"
|
901
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
902
|
+
title="ProductDetail" href="Products(0)/ProductDetail" /><title /><updated>2017-12-07T21:54:51Z</updated><author><name
|
903
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">0</d:ID><d:Name>Bread</d:Name><d:Description>Whole
|
904
|
+
grain bread</d:Description><d:ReleaseDate m:type="DateTimeOffset">1992-01-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
905
|
+
m:null="true" /><d:Rating m:type="Int16">4</d:Rating><d:Price m:type="Double">2.5</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(1)</id><category
|
906
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
907
|
+
/><link rel="edit" title="Product" href="Products(1)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
908
|
+
type="application/xml" title="Categories" href="Products(1)/Categories/$ref"
|
909
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
910
|
+
title="Categories" href="Products(1)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
911
|
+
type="application/xml" title="Supplier" href="Products(1)/Supplier/$ref" /><link
|
912
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
913
|
+
title="Supplier" href="Products(1)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
914
|
+
type="application/xml" title="ProductDetail" href="Products(1)/ProductDetail/$ref"
|
915
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
916
|
+
title="ProductDetail" href="Products(1)/ProductDetail" /><title /><updated>2017-12-07T21:54:51Z</updated><author><name
|
917
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">1</d:ID><d:Name>Milk</d:Name><d:Description>Low
|
918
|
+
fat milk</d:Description><d:ReleaseDate m:type="DateTimeOffset">1995-10-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
919
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">3.5</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(2)</id><category
|
920
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
921
|
+
/><link rel="edit" title="Product" href="Products(2)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
922
|
+
type="application/xml" title="Categories" href="Products(2)/Categories/$ref"
|
923
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
924
|
+
title="Categories" href="Products(2)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
925
|
+
type="application/xml" title="Supplier" href="Products(2)/Supplier/$ref" /><link
|
926
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
927
|
+
title="Supplier" href="Products(2)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
928
|
+
type="application/xml" title="ProductDetail" href="Products(2)/ProductDetail/$ref"
|
929
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
930
|
+
title="ProductDetail" href="Products(2)/ProductDetail" /><title /><updated>2017-12-07T21:54:51Z</updated><author><name
|
931
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">2</d:ID><d:Name>Vint
|
932
|
+
soda</d:Name><d:Description>Americana Variety - Mix of 6 flavors</d:Description><d:ReleaseDate
|
933
|
+
m:type="DateTimeOffset">2000-10-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
934
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">20.9</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(3)</id><category
|
935
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
936
|
+
/><link rel="edit" title="Product" href="Products(3)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
937
|
+
type="application/xml" title="Categories" href="Products(3)/Categories/$ref"
|
938
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
939
|
+
title="Categories" href="Products(3)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
940
|
+
type="application/xml" title="Supplier" href="Products(3)/Supplier/$ref" /><link
|
941
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
942
|
+
title="Supplier" href="Products(3)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
943
|
+
type="application/xml" title="ProductDetail" href="Products(3)/ProductDetail/$ref"
|
944
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
945
|
+
title="ProductDetail" href="Products(3)/ProductDetail" /><title /><updated>2017-12-07T21:54:51Z</updated><author><name
|
946
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">3</d:ID><d:Name>Havina
|
947
|
+
Cola</d:Name><d:Description>The Original Key Lime Cola</d:Description><d:ReleaseDate
|
948
|
+
m:type="DateTimeOffset">2005-10-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
949
|
+
m:type="DateTimeOffset">2006-10-01T00:00:00Z</d:DiscontinuedDate><d:Rating
|
950
|
+
m:type="Int16">3</d:Rating><d:Price m:type="Double">19.9</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(4)</id><category
|
951
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
952
|
+
/><link rel="edit" title="Product" href="Products(4)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
953
|
+
type="application/xml" title="Categories" href="Products(4)/Categories/$ref"
|
954
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
955
|
+
title="Categories" href="Products(4)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
956
|
+
type="application/xml" title="Supplier" href="Products(4)/Supplier/$ref" /><link
|
957
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
958
|
+
title="Supplier" href="Products(4)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
959
|
+
type="application/xml" title="ProductDetail" href="Products(4)/ProductDetail/$ref"
|
960
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
961
|
+
title="ProductDetail" href="Products(4)/ProductDetail" /><title /><updated>2017-12-07T21:54:51Z</updated><author><name
|
962
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">4</d:ID><d:Name>Fruit
|
963
|
+
Punch</d:Name><d:Description>Mango flavor, 8.3 Ounce Cans (Pack of 24)</d:Description><d:ReleaseDate
|
964
|
+
m:type="DateTimeOffset">2003-01-05T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
965
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">22.99</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(5)</id><category
|
966
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
967
|
+
/><link rel="edit" title="Product" href="Products(5)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
968
|
+
type="application/xml" title="Categories" href="Products(5)/Categories/$ref"
|
969
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
970
|
+
title="Categories" href="Products(5)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
971
|
+
type="application/xml" title="Supplier" href="Products(5)/Supplier/$ref" /><link
|
972
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
973
|
+
title="Supplier" href="Products(5)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
974
|
+
type="application/xml" title="ProductDetail" href="Products(5)/ProductDetail/$ref"
|
975
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
976
|
+
title="ProductDetail" href="Products(5)/ProductDetail" /><title /><updated>2017-12-07T21:54:51Z</updated><author><name
|
977
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">5</d:ID><d:Name>Cranberry
|
978
|
+
Juice</d:Name><d:Description>16-Ounce Plastic Bottles (Pack of 12)</d:Description><d:ReleaseDate
|
979
|
+
m:type="DateTimeOffset">2006-08-04T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
980
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">22.8</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(6)</id><category
|
981
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
982
|
+
/><link rel="edit" title="Product" href="Products(6)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
983
|
+
type="application/xml" title="Categories" href="Products(6)/Categories/$ref"
|
984
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
985
|
+
title="Categories" href="Products(6)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
986
|
+
type="application/xml" title="Supplier" href="Products(6)/Supplier/$ref" /><link
|
987
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
988
|
+
title="Supplier" href="Products(6)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
989
|
+
type="application/xml" title="ProductDetail" href="Products(6)/ProductDetail/$ref"
|
990
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
991
|
+
title="ProductDetail" href="Products(6)/ProductDetail" /><title /><updated>2017-12-07T21:54:51Z</updated><author><name
|
992
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">6</d:ID><d:Name>Pink
|
993
|
+
Lemonade</d:Name><d:Description>36 Ounce Cans (Pack of 3)</d:Description><d:ReleaseDate
|
994
|
+
m:type="DateTimeOffset">2006-11-05T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
995
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">18.8</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(7)</id><category
|
996
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
997
|
+
/><link rel="edit" title="Product" href="Products(7)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
998
|
+
type="application/xml" title="Categories" href="Products(7)/Categories/$ref"
|
999
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
1000
|
+
title="Categories" href="Products(7)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
1001
|
+
type="application/xml" title="Supplier" href="Products(7)/Supplier/$ref" /><link
|
1002
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
1003
|
+
title="Supplier" href="Products(7)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
1004
|
+
type="application/xml" title="ProductDetail" href="Products(7)/ProductDetail/$ref"
|
1005
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
1006
|
+
title="ProductDetail" href="Products(7)/ProductDetail" /><title /><updated>2017-12-07T21:54:51Z</updated><author><name
|
1007
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">7</d:ID><d:Name>DVD
|
1008
|
+
Player</d:Name><d:Description>1080P Upconversion DVD Player</d:Description><d:ReleaseDate
|
1009
|
+
m:type="DateTimeOffset">2006-11-15T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
1010
|
+
m:null="true" /><d:Rating m:type="Int16">5</d:Rating><d:Price m:type="Double">35.88</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(8)</id><category
|
1011
|
+
term="#ODataDemo.Product" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
1012
|
+
/><link rel="edit" title="Product" href="Products(8)" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
1013
|
+
type="application/xml" title="Categories" href="Products(8)/Categories/$ref"
|
1014
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
1015
|
+
title="Categories" href="Products(8)/Categories" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier"
|
1016
|
+
type="application/xml" title="Supplier" href="Products(8)/Supplier/$ref" /><link
|
1017
|
+
rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
1018
|
+
title="Supplier" href="Products(8)/Supplier" /><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail"
|
1019
|
+
type="application/xml" title="ProductDetail" href="Products(8)/ProductDetail/$ref"
|
1020
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
1021
|
+
title="ProductDetail" href="Products(8)/ProductDetail" /><title /><updated>2017-12-07T21:54:51Z</updated><author><name
|
1022
|
+
/></author><content type="application/xml"><m:properties><d:ID m:type="Int32">8</d:ID><d:Name>LCD
|
1023
|
+
HDTV</d:Name><d:Description>42 inch 1080p LCD with Built-in Blu-ray Disc Player</d:Description><d:ReleaseDate
|
1024
|
+
m:type="DateTimeOffset">2008-05-08T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
1025
|
+
m:null="true" /><d:Rating m:type="Int16">3</d:Rating><d:Price m:type="Double">1088.8</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(9)</id><category
|
1026
|
+
term="#ODataDemo.FeaturedProduct" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
1027
|
+
/><link rel="edit" title="Product" href="Products(9)/ODataDemo.FeaturedProduct"
|
1028
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
1029
|
+
type="application/xml" title="Categories" href="Products(9)/ODataDemo.FeaturedProduct/Categories/$ref"
|
1030
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
1031
|
+
title="Categories" href="Products(9)/ODataDemo.FeaturedProduct/Categories"
|
1032
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier" type="application/xml"
|
1033
|
+
title="Supplier" href="Products(9)/ODataDemo.FeaturedProduct/Supplier/$ref"
|
1034
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
1035
|
+
title="Supplier" href="Products(9)/ODataDemo.FeaturedProduct/Supplier" /><link
|
1036
|
+
rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail" type="application/xml"
|
1037
|
+
title="ProductDetail" href="Products(9)/ODataDemo.FeaturedProduct/ProductDetail/$ref"
|
1038
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
1039
|
+
title="ProductDetail" href="Products(9)/ODataDemo.FeaturedProduct/ProductDetail"
|
1040
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Advertisement"
|
1041
|
+
type="application/xml" title="Advertisement" href="Products(9)/ODataDemo.FeaturedProduct/Advertisement/$ref"
|
1042
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Advertisement" type="application/atom+xml;type=entry"
|
1043
|
+
title="Advertisement" href="Products(9)/ODataDemo.FeaturedProduct/Advertisement"
|
1044
|
+
/><title /><updated>2017-12-07T21:54:51Z</updated><author><name /></author><content
|
1045
|
+
type="application/xml"><m:properties><d:ID m:type="Int32">9</d:ID><d:Name>Lemonade</d:Name><d:Description>Classic,
|
1046
|
+
refreshing lemonade (Single bottle)</d:Description><d:ReleaseDate m:type="DateTimeOffset">1970-01-01T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
1047
|
+
m:null="true" /><d:Rating m:type="Int16">7</d:Rating><d:Price m:type="Double">1.01</d:Price></m:properties></content></entry><entry><id>http://services.odata.org/V4/OData/OData.svc/Products(10)</id><category
|
1048
|
+
term="#ODataDemo.FeaturedProduct" scheme="http://docs.oasis-open.org/odata/ns/scheme"
|
1049
|
+
/><link rel="edit" title="Product" href="Products(10)/ODataDemo.FeaturedProduct"
|
1050
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Categories"
|
1051
|
+
type="application/xml" title="Categories" href="Products(10)/ODataDemo.FeaturedProduct/Categories/$ref"
|
1052
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Categories" type="application/atom+xml;type=feed"
|
1053
|
+
title="Categories" href="Products(10)/ODataDemo.FeaturedProduct/Categories"
|
1054
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Supplier" type="application/xml"
|
1055
|
+
title="Supplier" href="Products(10)/ODataDemo.FeaturedProduct/Supplier/$ref"
|
1056
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Supplier" type="application/atom+xml;type=entry"
|
1057
|
+
title="Supplier" href="Products(10)/ODataDemo.FeaturedProduct/Supplier" /><link
|
1058
|
+
rel="http://docs.oasis-open.org/odata/ns/relatedlinks/ProductDetail" type="application/xml"
|
1059
|
+
title="ProductDetail" href="Products(10)/ODataDemo.FeaturedProduct/ProductDetail/$ref"
|
1060
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/ProductDetail" type="application/atom+xml;type=entry"
|
1061
|
+
title="ProductDetail" href="Products(10)/ODataDemo.FeaturedProduct/ProductDetail"
|
1062
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/relatedlinks/Advertisement"
|
1063
|
+
type="application/xml" title="Advertisement" href="Products(10)/ODataDemo.FeaturedProduct/Advertisement/$ref"
|
1064
|
+
/><link rel="http://docs.oasis-open.org/odata/ns/related/Advertisement" type="application/atom+xml;type=entry"
|
1065
|
+
title="Advertisement" href="Products(10)/ODataDemo.FeaturedProduct/Advertisement"
|
1066
|
+
/><title /><updated>2017-12-07T21:54:51Z</updated><author><name /></author><content
|
1067
|
+
type="application/xml"><m:properties><d:ID m:type="Int32">10</d:ID><d:Name>Coffee</d:Name><d:Description>Bulk
|
1068
|
+
size can of instant coffee</d:Description><d:ReleaseDate m:type="DateTimeOffset">1982-12-31T00:00:00Z</d:ReleaseDate><d:DiscontinuedDate
|
1069
|
+
m:null="true" /><d:Rating m:type="Int16">1</d:Rating><d:Price m:type="Double">6.99</d:Price></m:properties></content></entry></feed>
|
1070
|
+
http_version: '1.1'
|
1071
|
+
adapter_metadata:
|
1072
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products
|
1073
|
+
recorded_at: Thu, 07 Dec 2017 21:54:53 GMT
|
1074
|
+
- request:
|
1075
|
+
method: get
|
1076
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products(0)?$expand=Categories
|
1077
|
+
body:
|
1078
|
+
encoding: US-ASCII
|
1079
|
+
string: ''
|
1080
|
+
headers:
|
1081
|
+
User-Agent:
|
1082
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
1083
|
+
OData-Version:
|
1084
|
+
- '4.0'
|
1085
|
+
Accept:
|
1086
|
+
- application/atom+xml,application/json,text/plain
|
1087
|
+
Expect:
|
1088
|
+
- ''
|
1089
|
+
response:
|
1090
|
+
status:
|
1091
|
+
code: 200
|
1092
|
+
message: OK
|
1093
|
+
headers:
|
1094
|
+
Cache-Control:
|
1095
|
+
- no-cache
|
1096
|
+
Content-Length:
|
1097
|
+
- '270'
|
1098
|
+
Content-Type:
|
1099
|
+
- application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
|
1100
|
+
Server:
|
1101
|
+
- Microsoft-IIS/10.0
|
1102
|
+
X-Content-Type-Options:
|
1103
|
+
- nosniff
|
1104
|
+
OData-Version:
|
1105
|
+
- 4.0;
|
1106
|
+
X-AspNet-Version:
|
1107
|
+
- 4.0.30319
|
1108
|
+
X-Powered-By:
|
1109
|
+
- ASP.NET
|
1110
|
+
Access-Control-Allow-Origin:
|
1111
|
+
- "*"
|
1112
|
+
Access-Control-Allow-Methods:
|
1113
|
+
- GET
|
1114
|
+
Access-Control-Allow-Headers:
|
1115
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
1116
|
+
Access-Control-Expose-Headers:
|
1117
|
+
- DataServiceVersion
|
1118
|
+
Date:
|
1119
|
+
- Fri, 26 Jan 2018 23:52:04 GMT
|
1120
|
+
body:
|
1121
|
+
encoding: UTF-8
|
1122
|
+
string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":0,"Name":"Bread","Description":"Whole
|
1123
|
+
grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5,"Categories":[{"ID":0,"Name":"Food"}]}'
|
1124
|
+
http_version: '1.1'
|
1125
|
+
adapter_metadata:
|
1126
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products(0)?$expand=Categories
|
1127
|
+
recorded_at: Fri, 26 Jan 2018 23:52:03 GMT
|
1128
|
+
- request:
|
1129
|
+
method: get
|
1130
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products(0)?$expand=Categories,Supplier
|
1131
|
+
body:
|
1132
|
+
encoding: US-ASCII
|
1133
|
+
string: ''
|
1134
|
+
headers:
|
1135
|
+
User-Agent:
|
1136
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
1137
|
+
OData-Version:
|
1138
|
+
- '4.0'
|
1139
|
+
Accept:
|
1140
|
+
- application/atom+xml,application/json,text/plain
|
1141
|
+
Expect:
|
1142
|
+
- ''
|
1143
|
+
response:
|
1144
|
+
status:
|
1145
|
+
code: 200
|
1146
|
+
message: OK
|
1147
|
+
headers:
|
1148
|
+
Cache-Control:
|
1149
|
+
- no-cache
|
1150
|
+
Content-Length:
|
1151
|
+
- '559'
|
1152
|
+
Content-Type:
|
1153
|
+
- application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
|
1154
|
+
Server:
|
1155
|
+
- Microsoft-IIS/10.0
|
1156
|
+
X-Content-Type-Options:
|
1157
|
+
- nosniff
|
1158
|
+
OData-Version:
|
1159
|
+
- 4.0;
|
1160
|
+
X-AspNet-Version:
|
1161
|
+
- 4.0.30319
|
1162
|
+
X-Powered-By:
|
1163
|
+
- ASP.NET
|
1164
|
+
Access-Control-Allow-Origin:
|
1165
|
+
- "*"
|
1166
|
+
Access-Control-Allow-Methods:
|
1167
|
+
- GET
|
1168
|
+
Access-Control-Allow-Headers:
|
1169
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
1170
|
+
Access-Control-Expose-Headers:
|
1171
|
+
- DataServiceVersion
|
1172
|
+
Date:
|
1173
|
+
- Sat, 27 Jan 2018 00:03:43 GMT
|
1174
|
+
body:
|
1175
|
+
encoding: UTF-8
|
1176
|
+
string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":0,"Name":"Bread","Description":"Whole
|
1177
|
+
grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5,"Categories":[{"ID":0,"Name":"Food"}],"Supplier":{"ID":1,"Name":"Tokyo
|
1178
|
+
Traders","Address":{"Street":"NE 40th","City":"Redmond","State":"WA","ZipCode":"98052","Country":"USA"},"Location":{"type":"Point","coordinates":[-122.107711791992,47.6472206115723],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"Concurrency":0}}'
|
1179
|
+
http_version: '1.1'
|
1180
|
+
adapter_metadata:
|
1181
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products(0)?$expand=Categories,Supplier
|
1182
|
+
recorded_at: Sat, 27 Jan 2018 00:03:42 GMT
|
1183
|
+
- request:
|
1184
|
+
method: get
|
1185
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products(1)?$expand=Categories,Supplier
|
1186
|
+
body:
|
1187
|
+
encoding: US-ASCII
|
1188
|
+
string: ''
|
1189
|
+
headers:
|
1190
|
+
User-Agent:
|
1191
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
1192
|
+
OData-Version:
|
1193
|
+
- '4.0'
|
1194
|
+
Accept:
|
1195
|
+
- application/atom+xml,application/json,text/plain
|
1196
|
+
Expect:
|
1197
|
+
- ''
|
1198
|
+
response:
|
1199
|
+
status:
|
1200
|
+
code: 200
|
1201
|
+
message: OK
|
1202
|
+
headers:
|
1203
|
+
Cache-Control:
|
1204
|
+
- no-cache
|
1205
|
+
Content-Length:
|
1206
|
+
- '584'
|
1207
|
+
Content-Type:
|
1208
|
+
- application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
|
1209
|
+
Server:
|
1210
|
+
- Microsoft-IIS/10.0
|
1211
|
+
X-Content-Type-Options:
|
1212
|
+
- nosniff
|
1213
|
+
OData-Version:
|
1214
|
+
- 4.0;
|
1215
|
+
X-AspNet-Version:
|
1216
|
+
- 4.0.30319
|
1217
|
+
X-Powered-By:
|
1218
|
+
- ASP.NET
|
1219
|
+
Access-Control-Allow-Origin:
|
1220
|
+
- "*"
|
1221
|
+
Access-Control-Allow-Methods:
|
1222
|
+
- GET
|
1223
|
+
Access-Control-Allow-Headers:
|
1224
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
1225
|
+
Access-Control-Expose-Headers:
|
1226
|
+
- DataServiceVersion
|
1227
|
+
Date:
|
1228
|
+
- Sat, 27 Jan 2018 00:23:54 GMT
|
1229
|
+
body:
|
1230
|
+
encoding: UTF-8
|
1231
|
+
string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":1,"Name":"Milk","Description":"Low
|
1232
|
+
fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5,"Categories":[{"ID":0,"Name":"Food"},{"ID":1,"Name":"Beverages"}],"Supplier":{"ID":0,"Name":"Exotic
|
1233
|
+
Liquids","Address":{"Street":"NE 228th","City":"Sammamish","State":"WA","ZipCode":"98074","Country":"USA"},"Location":{"type":"Point","coordinates":[-122.03547668457,47.6316604614258],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"Concurrency":0}}'
|
1234
|
+
http_version: '1.1'
|
1235
|
+
adapter_metadata:
|
1236
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products(1)?$expand=Categories,Supplier
|
1237
|
+
recorded_at: Sat, 27 Jan 2018 00:23:53 GMT
|
1238
|
+
- request:
|
1239
|
+
method: get
|
1240
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products(1)?$expand=Categories,Supplier,ProductDetail
|
1241
|
+
body:
|
1242
|
+
encoding: US-ASCII
|
1243
|
+
string: ''
|
1244
|
+
headers:
|
1245
|
+
User-Agent:
|
1246
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
1247
|
+
OData-Version:
|
1248
|
+
- '4.0'
|
1249
|
+
Accept:
|
1250
|
+
- application/atom+xml,application/json,text/plain
|
1251
|
+
Expect:
|
1252
|
+
- ''
|
1253
|
+
response:
|
1254
|
+
status:
|
1255
|
+
code: 200
|
1256
|
+
message: OK
|
1257
|
+
headers:
|
1258
|
+
Cache-Control:
|
1259
|
+
- no-cache
|
1260
|
+
Content-Length:
|
1261
|
+
- '649'
|
1262
|
+
Content-Type:
|
1263
|
+
- application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
|
1264
|
+
Server:
|
1265
|
+
- Microsoft-IIS/10.0
|
1266
|
+
X-Content-Type-Options:
|
1267
|
+
- nosniff
|
1268
|
+
OData-Version:
|
1269
|
+
- 4.0;
|
1270
|
+
X-AspNet-Version:
|
1271
|
+
- 4.0.30319
|
1272
|
+
X-Powered-By:
|
1273
|
+
- ASP.NET
|
1274
|
+
Access-Control-Allow-Origin:
|
1275
|
+
- "*"
|
1276
|
+
Access-Control-Allow-Methods:
|
1277
|
+
- GET
|
1278
|
+
Access-Control-Allow-Headers:
|
1279
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
1280
|
+
Access-Control-Expose-Headers:
|
1281
|
+
- DataServiceVersion
|
1282
|
+
Date:
|
1283
|
+
- Sat, 27 Jan 2018 00:23:54 GMT
|
1284
|
+
body:
|
1285
|
+
encoding: UTF-8
|
1286
|
+
string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":1,"Name":"Milk","Description":"Low
|
1287
|
+
fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5,"Categories":[{"ID":0,"Name":"Food"},{"ID":1,"Name":"Beverages"}],"Supplier":{"ID":0,"Name":"Exotic
|
1288
|
+
Liquids","Address":{"Street":"NE 228th","City":"Sammamish","State":"WA","ZipCode":"98074","Country":"USA"},"Location":{"type":"Point","coordinates":[-122.03547668457,47.6316604614258],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"Concurrency":0},"ProductDetail":{"ProductID":1,"Details":"Details
|
1289
|
+
of product 1"}}'
|
1290
|
+
http_version: '1.1'
|
1291
|
+
adapter_metadata:
|
1292
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products(1)?$expand=Categories,Supplier,ProductDetail
|
1293
|
+
recorded_at: Sat, 27 Jan 2018 00:23:53 GMT
|
1294
|
+
- request:
|
1295
|
+
method: get
|
1296
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products(1)?$expand=Categories
|
1297
|
+
body:
|
1298
|
+
encoding: US-ASCII
|
1299
|
+
string: ''
|
1300
|
+
headers:
|
1301
|
+
User-Agent:
|
1302
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
1303
|
+
OData-Version:
|
1304
|
+
- '4.0'
|
1305
|
+
Accept:
|
1306
|
+
- application/atom+xml,application/json,text/plain
|
1307
|
+
Expect:
|
1308
|
+
- ''
|
1309
|
+
response:
|
1310
|
+
status:
|
1311
|
+
code: 200
|
1312
|
+
message: OK
|
1313
|
+
headers:
|
1314
|
+
Cache-Control:
|
1315
|
+
- no-cache
|
1316
|
+
Content-Length:
|
1317
|
+
- '292'
|
1318
|
+
Content-Type:
|
1319
|
+
- application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
|
1320
|
+
Server:
|
1321
|
+
- Microsoft-IIS/10.0
|
1322
|
+
X-Content-Type-Options:
|
1323
|
+
- nosniff
|
1324
|
+
OData-Version:
|
1325
|
+
- 4.0;
|
1326
|
+
X-AspNet-Version:
|
1327
|
+
- 4.0.30319
|
1328
|
+
X-Powered-By:
|
1329
|
+
- ASP.NET
|
1330
|
+
Access-Control-Allow-Origin:
|
1331
|
+
- "*"
|
1332
|
+
Access-Control-Allow-Methods:
|
1333
|
+
- GET
|
1334
|
+
Access-Control-Allow-Headers:
|
1335
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
1336
|
+
Access-Control-Expose-Headers:
|
1337
|
+
- DataServiceVersion
|
1338
|
+
Date:
|
1339
|
+
- Sat, 27 Jan 2018 00:23:54 GMT
|
1340
|
+
body:
|
1341
|
+
encoding: UTF-8
|
1342
|
+
string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":1,"Name":"Milk","Description":"Low
|
1343
|
+
fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5,"Categories":[{"ID":0,"Name":"Food"},{"ID":1,"Name":"Beverages"}]}'
|
1344
|
+
http_version: '1.1'
|
1345
|
+
adapter_metadata:
|
1346
|
+
effective_url: http://services.odata.org/V4/OData/OData.svc/Products(1)?$expand=Categories
|
1347
|
+
recorded_at: Sat, 27 Jan 2018 00:23:53 GMT
|
1348
|
+
- request:
|
1349
|
+
method: get
|
1350
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products(1)?%24expand=Categories%2CSupplier
|
1351
|
+
body:
|
1352
|
+
encoding: US-ASCII
|
1353
|
+
string: ''
|
1354
|
+
headers:
|
1355
|
+
User-Agent:
|
1356
|
+
- Faraday v0.15.0
|
1357
|
+
Accept:
|
1358
|
+
- application/atom+xml,application/json,application/xml,text/plain
|
1359
|
+
Content-Type:
|
1360
|
+
- application/atom+xml,application/json,application/xml,text/plain
|
1361
|
+
OData-Version:
|
1362
|
+
- '4.0'
|
1363
|
+
response:
|
1364
|
+
status:
|
1365
|
+
code: 200
|
1366
|
+
message: OK
|
1367
|
+
headers:
|
1368
|
+
cache-control:
|
1369
|
+
- no-cache
|
1370
|
+
content-length:
|
1371
|
+
- '559'
|
1372
|
+
content-type:
|
1373
|
+
- application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
|
1374
|
+
vary:
|
1375
|
+
- Accept-Encoding
|
1376
|
+
server:
|
1377
|
+
- Microsoft-IIS/10.0
|
1378
|
+
x-content-type-options:
|
1379
|
+
- nosniff
|
1380
|
+
odata-version:
|
1381
|
+
- 4.0;
|
1382
|
+
x-aspnet-version:
|
1383
|
+
- 4.0.30319
|
1384
|
+
x-powered-by:
|
1385
|
+
- ASP.NET
|
1386
|
+
access-control-allow-origin:
|
1387
|
+
- "*"
|
1388
|
+
access-control-allow-methods:
|
1389
|
+
- GET
|
1390
|
+
access-control-allow-headers:
|
1391
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
1392
|
+
access-control-expose-headers:
|
1393
|
+
- DataServiceVersion
|
1394
|
+
date:
|
1395
|
+
- Tue, 24 Apr 2018 01:58:48 GMT
|
1396
|
+
connection:
|
1397
|
+
- close
|
1398
|
+
body:
|
1399
|
+
encoding: ASCII-8BIT
|
1400
|
+
string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":1,"Name":"Milk","Description":"Low
|
1401
|
+
fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5,"Categories":[{"ID":0,"Name":"Food"},{"ID":1,"Name":"Beverages"}],"Supplier":{"ID":0,"Name":"Exotic
|
1402
|
+
Liquids","Address":{"Street":"NE 228th","City":"Sammamish","State":"WA","ZipCode":"98074","Country":"USA"},"Location":{"type":"Point","coordinates":[-122.03547668457,47.6316604614258],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"Concurrency":0}}'
|
1403
|
+
http_version:
|
1404
|
+
recorded_at: Tue, 24 Apr 2018 01:58:49 GMT
|
1405
|
+
- request:
|
1406
|
+
method: get
|
1407
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products(1)?%24expand=Categories%2CSupplier%2CProductDetail
|
1408
|
+
body:
|
1409
|
+
encoding: US-ASCII
|
1410
|
+
string: ''
|
1411
|
+
headers:
|
1412
|
+
User-Agent:
|
1413
|
+
- Faraday v0.15.0
|
1414
|
+
Accept:
|
1415
|
+
- application/atom+xml,application/json,application/xml,text/plain
|
1416
|
+
Content-Type:
|
1417
|
+
- application/atom+xml,application/json,application/xml,text/plain
|
1418
|
+
OData-Version:
|
1419
|
+
- '4.0'
|
1420
|
+
response:
|
1421
|
+
status:
|
1422
|
+
code: 200
|
1423
|
+
message: OK
|
1424
|
+
headers:
|
1425
|
+
cache-control:
|
1426
|
+
- no-cache
|
1427
|
+
content-length:
|
1428
|
+
- '589'
|
1429
|
+
content-type:
|
1430
|
+
- application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
|
1431
|
+
vary:
|
1432
|
+
- Accept-Encoding
|
1433
|
+
server:
|
1434
|
+
- Microsoft-IIS/10.0
|
1435
|
+
x-content-type-options:
|
1436
|
+
- nosniff
|
1437
|
+
odata-version:
|
1438
|
+
- 4.0;
|
1439
|
+
x-aspnet-version:
|
1440
|
+
- 4.0.30319
|
1441
|
+
x-powered-by:
|
1442
|
+
- ASP.NET
|
1443
|
+
access-control-allow-origin:
|
1444
|
+
- "*"
|
1445
|
+
access-control-allow-methods:
|
1446
|
+
- GET
|
1447
|
+
access-control-allow-headers:
|
1448
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
1449
|
+
access-control-expose-headers:
|
1450
|
+
- DataServiceVersion
|
1451
|
+
date:
|
1452
|
+
- Tue, 24 Apr 2018 01:58:49 GMT
|
1453
|
+
connection:
|
1454
|
+
- close
|
1455
|
+
body:
|
1456
|
+
encoding: ASCII-8BIT
|
1457
|
+
string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":1,"Name":"Milk","Description":"Low
|
1458
|
+
fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5,"Categories":[{"ID":0,"Name":"Food"},{"ID":1,"Name":"Beverages"}],"Supplier":{"ID":0,"Name":"Exotic
|
1459
|
+
Liquids","Address":{"Street":"NE 228th","City":"Sammamish","State":"WA","ZipCode":"98074","Country":"USA"},"Location":{"type":"Point","coordinates":[-122.03547668457,47.6316604614258],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"Concurrency":0},"ProductDetail":{"ProductID":1,"Details":"Details
|
1460
|
+
of product 1"}}'
|
1461
|
+
http_version:
|
1462
|
+
recorded_at: Tue, 24 Apr 2018 01:58:49 GMT
|
1463
|
+
- request:
|
1464
|
+
method: get
|
1465
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products(1)?%24expand=Categories
|
1466
|
+
body:
|
1467
|
+
encoding: US-ASCII
|
1468
|
+
string: ''
|
1469
|
+
headers:
|
1470
|
+
User-Agent:
|
1471
|
+
- Faraday v0.15.0
|
1472
|
+
Accept:
|
1473
|
+
- application/atom+xml,application/json,application/xml,text/plain
|
1474
|
+
Content-Type:
|
1475
|
+
- application/atom+xml,application/json,application/xml,text/plain
|
1476
|
+
OData-Version:
|
1477
|
+
- '4.0'
|
1478
|
+
response:
|
1479
|
+
status:
|
1480
|
+
code: 200
|
1481
|
+
message: OK
|
1482
|
+
headers:
|
1483
|
+
cache-control:
|
1484
|
+
- no-cache
|
1485
|
+
content-length:
|
1486
|
+
- '339'
|
1487
|
+
content-type:
|
1488
|
+
- application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
|
1489
|
+
vary:
|
1490
|
+
- Accept-Encoding
|
1491
|
+
server:
|
1492
|
+
- Microsoft-IIS/10.0
|
1493
|
+
x-content-type-options:
|
1494
|
+
- nosniff
|
1495
|
+
odata-version:
|
1496
|
+
- 4.0;
|
1497
|
+
x-aspnet-version:
|
1498
|
+
- 4.0.30319
|
1499
|
+
x-powered-by:
|
1500
|
+
- ASP.NET
|
1501
|
+
access-control-allow-origin:
|
1502
|
+
- "*"
|
1503
|
+
access-control-allow-methods:
|
1504
|
+
- GET
|
1505
|
+
access-control-allow-headers:
|
1506
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
1507
|
+
access-control-expose-headers:
|
1508
|
+
- DataServiceVersion
|
1509
|
+
date:
|
1510
|
+
- Tue, 24 Apr 2018 01:58:49 GMT
|
1511
|
+
connection:
|
1512
|
+
- close
|
1513
|
+
body:
|
1514
|
+
encoding: ASCII-8BIT
|
1515
|
+
string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":1,"Name":"Milk","Description":"Low
|
1516
|
+
fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5,"Categories":[{"ID":0,"Name":"Food"},{"ID":1,"Name":"Beverages"}]}'
|
1517
|
+
http_version:
|
1518
|
+
recorded_at: Tue, 24 Apr 2018 01:58:49 GMT
|
1519
|
+
- request:
|
1520
|
+
method: get
|
1521
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products?%24top=1
|
1522
|
+
body:
|
1523
|
+
encoding: US-ASCII
|
1524
|
+
string: ''
|
1525
|
+
headers:
|
1526
|
+
User-Agent:
|
1527
|
+
- Faraday v0.15.0
|
1528
|
+
Accept:
|
1529
|
+
- application/atom+xml,application/json,application/xml,text/plain
|
1530
|
+
Content-Type:
|
1531
|
+
- application/atom+xml,application/json,application/xml,text/plain
|
1532
|
+
OData-Version:
|
1533
|
+
- '4.0'
|
1534
|
+
response:
|
1535
|
+
status:
|
1536
|
+
code: 200
|
1537
|
+
message: OK
|
1538
|
+
headers:
|
1539
|
+
cache-control:
|
1540
|
+
- no-cache
|
1541
|
+
content-length:
|
1542
|
+
- '308'
|
1543
|
+
content-type:
|
1544
|
+
- application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
|
1545
|
+
vary:
|
1546
|
+
- Accept-Encoding
|
1547
|
+
server:
|
1548
|
+
- Microsoft-IIS/10.0
|
1549
|
+
x-content-type-options:
|
1550
|
+
- nosniff
|
1551
|
+
odata-version:
|
1552
|
+
- 4.0;
|
1553
|
+
x-aspnet-version:
|
1554
|
+
- 4.0.30319
|
1555
|
+
x-powered-by:
|
1556
|
+
- ASP.NET
|
1557
|
+
access-control-allow-origin:
|
1558
|
+
- "*"
|
1559
|
+
access-control-allow-methods:
|
1560
|
+
- GET
|
1561
|
+
access-control-allow-headers:
|
1562
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
1563
|
+
access-control-expose-headers:
|
1564
|
+
- DataServiceVersion
|
1565
|
+
date:
|
1566
|
+
- Tue, 24 Apr 2018 01:58:49 GMT
|
1567
|
+
connection:
|
1568
|
+
- close
|
1569
|
+
body:
|
1570
|
+
encoding: ASCII-8BIT
|
1571
|
+
string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[{"ID":0,"Name":"Bread","Description":"Whole
|
1572
|
+
grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5}]}'
|
1573
|
+
http_version:
|
1574
|
+
recorded_at: Tue, 24 Apr 2018 01:58:50 GMT
|
1575
|
+
- request:
|
1576
|
+
method: get
|
1577
|
+
uri: http://services.odata.org/V4/OData/OData.svc/Products?%24top=5
|
1578
|
+
body:
|
1579
|
+
encoding: US-ASCII
|
1580
|
+
string: ''
|
1581
|
+
headers:
|
1582
|
+
User-Agent:
|
1583
|
+
- Faraday v0.15.0
|
1584
|
+
Accept:
|
1585
|
+
- application/atom+xml,application/json,application/xml,text/plain
|
1586
|
+
Content-Type:
|
1587
|
+
- application/atom+xml,application/json,application/xml,text/plain
|
1588
|
+
OData-Version:
|
1589
|
+
- '4.0'
|
1590
|
+
response:
|
1591
|
+
status:
|
1592
|
+
code: 200
|
1593
|
+
message: OK
|
1594
|
+
headers:
|
1595
|
+
cache-control:
|
1596
|
+
- no-cache
|
1597
|
+
content-length:
|
1598
|
+
- '523'
|
1599
|
+
content-type:
|
1600
|
+
- application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
|
1601
|
+
vary:
|
1602
|
+
- Accept-Encoding
|
1603
|
+
server:
|
1604
|
+
- Microsoft-IIS/10.0
|
1605
|
+
x-content-type-options:
|
1606
|
+
- nosniff
|
1607
|
+
odata-version:
|
1608
|
+
- 4.0;
|
1609
|
+
x-aspnet-version:
|
1610
|
+
- 4.0.30319
|
1611
|
+
x-powered-by:
|
1612
|
+
- ASP.NET
|
1613
|
+
access-control-allow-origin:
|
1614
|
+
- "*"
|
1615
|
+
access-control-allow-methods:
|
1616
|
+
- GET
|
1617
|
+
access-control-allow-headers:
|
1618
|
+
- Accept, Origin, Content-Type, MaxDataServiceVersion
|
1619
|
+
access-control-expose-headers:
|
1620
|
+
- DataServiceVersion
|
1621
|
+
date:
|
1622
|
+
- Tue, 24 Apr 2018 01:58:50 GMT
|
1623
|
+
connection:
|
1624
|
+
- close
|
1625
|
+
body:
|
1626
|
+
encoding: ASCII-8BIT
|
1627
|
+
string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[{"ID":0,"Name":"Bread","Description":"Whole
|
1628
|
+
grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5},{"ID":1,"Name":"Milk","Description":"Low
|
1629
|
+
fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5},{"ID":2,"Name":"Vint
|
1630
|
+
soda","Description":"Americana Variety - Mix of 6 flavors","ReleaseDate":"2000-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":20.9},{"ID":3,"Name":"Havina
|
1631
|
+
Cola","Description":"The Original Key Lime Cola","ReleaseDate":"2005-10-01T00:00:00Z","DiscontinuedDate":"2006-10-01T00:00:00Z","Rating":3,"Price":19.9},{"ID":4,"Name":"Fruit
|
1632
|
+
Punch","Description":"Mango flavor, 8.3 Ounce Cans (Pack of 24)","ReleaseDate":"2003-01-05T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":22.99}]}'
|
1633
|
+
http_version:
|
1634
|
+
recorded_at: Tue, 24 Apr 2018 01:58:50 GMT
|
1635
|
+
recorded_with: VCR 4.0.0
|