HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/CompanyLookupRequest HTTP/1.1
Host: dinumero.modernekonomi.se
Content-Type: application/xml
Content-Length: length
<CompanyLookupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.Integration.EuVatRegistry">
<OrgNr>String</OrgNr>
<VatNr>String</VatNr>
</CompanyLookupRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CompanyLookupResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.Integration.EuVatRegistry">
<Address1>String</Address1>
<Address2>String</Address2>
<AddressRaw>String</AddressRaw>
<City>String</City>
<IsValid>false</IsValid>
<Name>String</Name>
<VatNr>String</VatNr>
<ZipCode>String</ZipCode>
</CompanyLookupResponse>