--- http_interactions: - request: method: post uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products body: encoding: UTF-8 string: '{"Name":"Sample Product","Description":"Test Widget","Price":"75.50","Category":{"Name":"Category 0059","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}' headers: User-Agent: - Ruby Accept: - "*/*; q=0.5, application/xml" Content-Type: - application/json Accept-Encoding: - gzip,deflate response: status: code: 201 message: '' headers: Cache-Control: - private Content-Length: - '1447' Content-Type: - application/atom+xml;type=entry;charset=utf-8 Location: - http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1) Server: - Microsoft-IIS/8.0 Set-Cookie: - ASP.NET_SessionId=yi20lwcen2khadra1on4ncpm; path=/; HttpOnly X-Content-Type-Options: - nosniff Dataserviceversion: - 1.0; X-Aspnet-Version: - 4.0.30319 X-Powered-By: - ASP.NET Date: - Sun, 26 Apr 2015 16:29:49 GMT body: encoding: UTF-8 string: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)<updated>2015-04-26T16:29:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Sample Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">75.50</d:Price><d:DiscontinuedDate m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:49.786157Z</d:CreateDate><d:ModifiedDate m:type="Edm.DateTime">2015-04-26T16:29:49.786157Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry> http_version: recorded_at: Sun, 26 Apr 2015 16:29:50 GMT recorded_with: VCR 2.5.0