HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: dinumero.modernekonomi.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: ExportJobRequest
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ExportJobRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.SupplierInvoice.Integration">
<ExportJob>
<Currencies i:nil="true" />
<Invoices i:nil="true" />
<ProfitCentres i:nil="true" />
<Projects i:nil="true" />
<Suppliers i:nil="true" />
</ExportJob>
<ServerId>String</ServerId>
</ExportJobRequest>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ExportJobResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.SupplierInvoice.Integration">
<Result>
<AllExported>false</AllExported>
<CurrentInvoiceDuringError>
<Attesterad>String</Attesterad>
<BokforingsDatum>0001-01-01T00:00:00</BokforingsDatum>
<EjBetalFil>false</EjBetalFil>
<ExportId>0</ExportId>
<FakturaDatum>0001-01-01T00:00:00</FakturaDatum>
<FakturaNr>String</FakturaNr>
<ForfalloDatum>0001-01-01T00:00:00</ForfalloDatum>
<Id>0</Id>
<Kapital>
<KapitalInkl>0</KapitalInkl>
<Kurs>0</Kurs>
<Moms>0</Moms>
<ValutaKod>String</ValutaKod>
</Kapital>
<KonteringsRader i:nil="true" />
<KostnadsDebitering>0</KostnadsDebitering>
<LevSokId>String</LevSokId>
<LopNr>0</LopNr>
<OcrNr>String</OcrNr>
</CurrentInvoiceDuringError>
<Exception xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL i:nil="true" xmlns="" />
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">-2146233088</HResult>
<Source i:nil="true" xmlns="" />
<WatsonBuckets i:nil="true" xmlns="" />
</Exception>
<ExportedInvoices i:nil="true" />
</Result>
</ExportJobResponse>
</soap:Body>
</soap:Envelope>