---
http_interactions:
- request:
method: post
uri: http://win7dev:8989/SampleService/RubyOData.svc/$batch
body:
encoding: ASCII-8BIT
string: ! '--batch_94f9-mlhu-308k
Content-Type: multipart/mixed;boundary=changeset_9pqe-rvka-6tyj
--changeset_9pqe-rvka-6tyj
Content-Type: application/http
Content-Transfer-Encoding: binary
POST http://win7dev:8989/SampleService/RubyOData.svc/Categories HTTP/1.1
Accept-Charset: utf-8
Content-Type: application/json;charset=utf-8
{"Name":"Category 0069","AuditFields":{"CreatedBy":"Machinist"}}
--changeset_9pqe-rvka-6tyj
Content-Type: application/http
Content-Transfer-Encoding: binary
POST http://win7dev:8989/SampleService/RubyOData.svc/Categories HTTP/1.1
Accept-Charset: utf-8
Content-Type: application/json;charset=utf-8
{"Name":"Category 0070","AuditFields":{"CreatedBy":"Machinist"}}
--changeset_9pqe-rvka-6tyj
Content-Type: application/http
Content-Transfer-Encoding: binary
POST http://win7dev:8989/SampleService/RubyOData.svc/Categories HTTP/1.1
Accept-Charset: utf-8
Content-Type: application/json;charset=utf-8
{"Name":"Category 0071","AuditFields":{"CreatedBy":"Machinist"}}
--changeset_9pqe-rvka-6tyj--
--batch_94f9-mlhu-308k--'
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
Content-Type:
- multipart/mixed; boundary=batch_94f9-mlhu-308k
Content-Length:
- '1040'
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Cache-Control:
- no-cache
Content-Length:
- '5140'
Content-Type:
- multipart/mixed; boundary=batchresponse_6b44618b-5c72-48e3-8241-a268e4ad9df3
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=5udlumqwmluujxabt15s1byf; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 19:35:42 GMT
body:
encoding: US-ASCII
string: ! "--batchresponse_6b44618b-5c72-48e3-8241-a268e4ad9df3\r\nContent-Type:
multipart/mixed; boundary=changesetresponse_2858f6fb-523f-4e9b-9876-162697cadd48\r\n\r\n--changesetresponse_2858f6fb-523f-4e9b-9876-162697cadd48\r\nContent-Type:
application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)\r\n\r\nhttp://win7dev:8989/SampleService/RubyOData.svc/Categories(1)2012-08-07T19:35:42Z1Category
00692012-08-07T19:35:42.078125Z2012-08-07T19:35:42.078125ZMachinist\r\n--changesetresponse_2858f6fb-523f-4e9b-9876-162697cadd48\r\nContent-Type:
application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Categories(2)\r\n\r\nhttp://win7dev:8989/SampleService/RubyOData.svc/Categories(2)2012-08-07T19:35:42Z2Category
00702012-08-07T19:35:42.078125Z2012-08-07T19:35:42.078125ZMachinist\r\n--changesetresponse_2858f6fb-523f-4e9b-9876-162697cadd48\r\nContent-Type:
application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Categories(3)\r\n\r\nhttp://win7dev:8989/SampleService/RubyOData.svc/Categories(3)2012-08-07T19:35:42Z3Category
00712012-08-07T19:35:42.078125Z2012-08-07T19:35:42.078125ZMachinist\r\n--changesetresponse_2858f6fb-523f-4e9b-9876-162697cadd48--\r\n--batchresponse_6b44618b-5c72-48e3-8241-a268e4ad9df3--\r\n"
http_version: !!null
recorded_at: Tue, 07 Aug 2012 19:35:43 GMT
- request:
method: get
uri: http://win7dev:8989/SampleService/RubyOData.svc/EntityCategoryWebGet
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache
Content-Length:
- '1495'
Content-Type:
- application/atom+xml;type=feed;charset=utf-8
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=0xwuqacikal44x21fdh3xbaq; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:54 GMT
body:
encoding: US-ASCII
string: http://win7dev:8989/SampleService/RubyOData.svc/EntityCategoryWebGetEntityCategoryWebGet2012-08-07T21:21:54Zhttp://win7dev:8989/SampleService/RubyOData.svc/Categories(1)2012-08-07T21:21:54Z1Category
00742012-08-07T21:21:54.252012-08-07T21:21:54.25Machinist
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:54 GMT
- request:
method: post
uri: http://win7dev:8989/SampleService/RubyOData.svc/Categories
body:
encoding: ASCII-8BIT
string: ! '{"Name":"Category 0075","AuditFields":{"CreatedBy":"Machinist"},"Id":1}'
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '71'
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Cache-Control:
- no-cache
Content-Length:
- '1245'
Content-Type:
- application/atom+xml;type=entry;charset=utf-8
Location:
- http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=rfwve3ugldbmta44b3fgskri; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:54 GMT
body:
encoding: US-ASCII
string: http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)2012-08-07T21:21:54Z1Category
00752012-08-07T21:21:54.75Z2012-08-07T21:21:54.75ZMachinist
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:55 GMT
- request:
method: get
uri: http://win7dev:8989/SampleService/RubyOData.svc/EntitySingleCategoryWebGet?id=1
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache
Content-Length:
- '1243'
Content-Type:
- application/atom+xml;type=entry;charset=utf-8
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=5m1mwedwm4edaav3j43htjfq; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:54 GMT
body:
encoding: US-ASCII
string: http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)2012-08-07T21:21:54Z1Category
00752012-08-07T21:21:54.752012-08-07T21:21:54.75Machinist
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:55 GMT
- request:
method: post
uri: http://win7dev:8989/SampleService/RubyOData.svc/Categories
body:
encoding: ASCII-8BIT
string: ! '{"Name":"Cat1","AuditFields":{"CreatedBy":"Machinist"}}'
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '55'
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Cache-Control:
- no-cache
Content-Length:
- '1236'
Content-Type:
- application/atom+xml;type=entry;charset=utf-8
Location:
- http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=qpe2n5za5bzgul5iumtthvqe; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:55 GMT
body:
encoding: US-ASCII
string: http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)2012-08-07T21:21:55Z1Cat12012-08-07T21:21:55.25Z2012-08-07T21:21:55.25ZMachinist
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:55 GMT
- request:
method: post
uri: http://win7dev:8989/SampleService/RubyOData.svc/Categories
body:
encoding: ASCII-8BIT
string: ! '{"Name":"Cat2","AuditFields":{"CreatedBy":"Machinist"}}'
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '55'
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Cache-Control:
- no-cache
Content-Length:
- '1240'
Content-Type:
- application/atom+xml;type=entry;charset=utf-8
Location:
- http://win7dev:8989/SampleService/RubyOData.svc/Categories(2)
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=3yfzvdpeoqmxkhkn3xufrsyg; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:55 GMT
body:
encoding: US-ASCII
string: http://win7dev:8989/SampleService/RubyOData.svc/Categories(2)2012-08-07T21:21:55Z2Cat22012-08-07T21:21:55.5625Z2012-08-07T21:21:55.5625ZMachinist
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:55 GMT
- request:
method: post
uri: http://win7dev:8989/SampleService/RubyOData.svc/Categories
body:
encoding: ASCII-8BIT
string: ! '{"Name":"Cat3","AuditFields":{"CreatedBy":"Machinist"}}'
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '55'
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Cache-Control:
- no-cache
Content-Length:
- '1244'
Content-Type:
- application/atom+xml;type=entry;charset=utf-8
Location:
- http://win7dev:8989/SampleService/RubyOData.svc/Categories(3)
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=eypmcjpmpre10dc12fw4wxgr; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:55 GMT
body:
encoding: US-ASCII
string: http://win7dev:8989/SampleService/RubyOData.svc/Categories(3)2012-08-07T21:21:55Z3Cat32012-08-07T21:21:55.859375Z2012-08-07T21:21:55.859375ZMachinist
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:56 GMT
- request:
method: get
uri: http://win7dev:8989/SampleService/RubyOData.svc/CategoryNames
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache
Content-Length:
- '200'
Content-Type:
- application/xml;charset=utf-8
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=dyonmsoc43s3amxicoox1ffx; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:55 GMT
body:
encoding: US-ASCII
string: Cat1Cat2Cat3
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:56 GMT
- request:
method: post
uri: http://win7dev:8989/SampleService/RubyOData.svc/Categories
body:
encoding: ASCII-8BIT
string: ! '{"Name":"Category 0079","AuditFields":{"CreatedBy":"Machinist"}}'
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '64'
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Cache-Control:
- no-cache
Content-Length:
- '1253'
Content-Type:
- application/atom+xml;type=entry;charset=utf-8
Location:
- http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=fqkuibkdojob01vo3urlnas1; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:56 GMT
body:
encoding: US-ASCII
string: http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)2012-08-07T21:21:56Z1Category
00792012-08-07T21:21:56.359375Z2012-08-07T21:21:56.359375ZMachinist
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:56 GMT
- request:
method: get
uri: http://win7dev:8989/SampleService/RubyOData.svc/FirstCategoryId
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache
Content-Length:
- '234'
Content-Type:
- application/xml;charset=utf-8
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=4k2jb2uhzbmvg30pbbsreqyb; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:56 GMT
body:
encoding: US-ASCII
string: 1
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:56 GMT
recorded_with: VCR 2.2.4