GET api/payers/getcompanydetailsfromvat/{vatno}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
vatno | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PayerName | Description | Type | Additional information |
---|---|---|---|
PayerId | integer |
None. |
|
PayerAlias | string |
None. |
|
PayerAddress | string |
None. |
|
PayerTown | string |
None. |
|
PayerCountry | string |
None. |
|
PayerAFM | string |
None. |
|
PayerTaxOffice | string |
None. |
|
PayerJob | string |
None. |
|
PayerPhone | string |
None. |
|
PayerFax | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "PayerId": 1, "PayerAlias": "sample string 2", "PayerAddress": "sample string 3", "PayerTown": "sample string 4", "PayerCountry": "sample string 5", "PayerAFM": "sample string 6", "PayerTaxOffice": "sample string 7", "PayerJob": "sample string 8", "PayerPhone": "sample string 9", "PayerFax": "sample string 10" }
application/xml, text/xml
Sample:
<Payer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <PayerAFM>sample string 6</PayerAFM> <PayerAddress>sample string 3</PayerAddress> <PayerAlias>sample string 2</PayerAlias> <PayerCountry>sample string 5</PayerCountry> <PayerFax>sample string 10</PayerFax> <PayerId>1</PayerId> <PayerJob>sample string 8</PayerJob> <PayerPhone>sample string 9</PayerPhone> <PayerTaxOffice>sample string 7</PayerTaxOffice> <PayerTown>sample string 4</PayerTown> </Payer>