POST http://www.idoklad.cz/ODataService.svc/$batch HTTP/1.1 SecureToken: HASH Accept: application/atom+xml,application/xml Accept-Charset: UTF-8 Content-Type: multipart/mixed; boundary=Faktura Host: www.idoklad.cz Expect: 100-continue Connection: Keep-Alive Content-Lenght: 2812 --Faktura Content-Type: multipart/mixed; boundary=Polozka --Polozka Content-Type: application/http Content-Transfer-Encoding: binary POST http://www.idoklad.cz/ODataService.svc/FakturaVydanaList HTTP/1.1 Content-ID: 1 Content-Type: application/atom+xml;type=entry <author> <name /> </author> <updated>2011-07-26T06:41:24.3905985Z</updated> <id /> <content type="application/xml"> <m:properties> <d:CisloDokladu>0</d:CisloDokladu> <d:CisloObjednavky m:null="false" /> <d:DatumSplatnosti m:type="Edm.DateTime">2011-07-26T00:00:00+02:00</d:DatumSplatnosti> <d:DatumVystaveni m:type="Edm.DateTime">2011-07-26T00:00:00+02:00</d:DatumVystaveni> <d:DatumUhrady m:type="Edm.DateTime">1753-01-01T00:00:00</d:DatumUhrady> <d:KonstatniSymbol_ID m:type="Edm.Int32">1</d:KonstatniSymbol_ID> <d:Mena_ID m:type="Edm.Int32">1</d:Mena_ID> <d:Odberatel_ID m:type="Edm.Int32">276</d:Odberatel_ID> <d:Popis>ODATA RAW DATA</d:Popis> <d:Poznamka>ODATA RAW DATA</d:Poznamka> <d:TextPredPolozkami m:null="false" /> <d:TextZaPolozkami m:null="false" /> <d:VariabilniSymbol>0</d:VariabilniSymbol> <d:ZpusobUhrady_ID m:type="Edm.Int32">1</d:ZpusobUhrady_ID> </m:properties> </content> </entry> --Polozka Content-Type: application/http Content-Transfer-Encoding: binary POST http://www.idoklad.cz/ODataService.svc/$1/PolozkaList HTTP/1.1 Content-ID: 2 Content-Type: application/atom+xml;type=entry <?xml version="1.0" encoding="utf-8" standalone="yes"?> <entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/<category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="Doklad.DAL.FakturaVydanaPolozka" /> <title /> <author> <name /> </author> <updated>2011-07-26T06:41:24.3905985Z</updated> <id /> <content type="application/xml"> <m:properties> <d:Cena m:type="Edm.Decimal">1000</d:Cena> <d:Jednotka>kus</d:Jednotka> <d:Kod>Kod</d:Kod> <d:Mnozstvi m:type="Edm.Decimal">10</d:Mnozstvi> <d:Nazev>Raw kod</d:Nazev> <d:SazbaDph m:type="Edm.Byte">20</d:SazbaDph> <d:TypCeny m:type="Edm.Byte">0</d:TypCeny> </m:properties> </content> </entry> --Polozka-- --Faktura--