Vendor
The vendor services are to read one specific or filter multiple items by different criteria. It can also update data.
Service Endpoint
The base Endpoint is:
VendorIISWebService/VendorIISWebService
API Methods
Here are the available methods for the Vendor Service:
- Create
- Read
- Read Multiple
- Update
- Update Multiple
Read Sample
Request
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:ven="http://tempuri.org/VendorIISWebService/">
<soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action>http://tempuri.org/VendorIISWebService/VendorIISWebService/Read</wsa:Action>
</soap:Header>
<soap:Body>
<ven:Read>
<ven:No>30000</ven:No>
</ven:Read>
</soap:Body>
</soap:Envelope>
Response
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
<s:Header>
<a:Action s:mustUnderstand="1">http://tempuri.org/VendorIISWebService/VendorIISWebService/ReadResponse</a:Action>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ReadResponse xmlns="http://tempuri.org/VendorIISWebService/">
<ReadResult>
<Key xmlns="urn:microsoft-dynamics-schemas/page/vendor">24;FwAAAAJ7BTMAMAAwADAAMA==6;4299700;</Key>
<No xmlns="urn:microsoft-dynamics-schemas/page/vendor">30000</No>
<Name xmlns="urn:microsoft-dynamics-schemas/page/vendor">Edle Hölzer GmbH</Name>
<Search_Name xmlns="urn:microsoft-dynamics-schemas/page/vendor">EDLE HÖLZER GMBH</Search_Name>
<Address xmlns="urn:microsoft-dynamics-schemas/page/vendor">Lange Str. 23</Address>
<City xmlns="urn:microsoft-dynamics-schemas/page/vendor">Erfurt</City>
<Contact xmlns="urn:microsoft-dynamics-schemas/page/vendor">Herr Sven Buck</Contact>
<Vendor_Posting_Group xmlns="urn:microsoft-dynamics-schemas/page/vendor">INLAND</Vendor_Posting_Group>
<Language_Code xmlns="urn:microsoft-dynamics-schemas/page/vendor">DEU</Language_Code>
<Payment_Terms_Code xmlns="urn:microsoft-dynamics-schemas/page/vendor">LM</Payment_Terms_Code>
<Last_Date_Modified xmlns="urn:microsoft-dynamics-schemas/page/vendor">2015-09-16</Last_Date_Modified>
<Prices_Including_VAT xmlns="urn:microsoft-dynamics-schemas/page/vendor">false</Prices_Including_VAT>
<VAT_Registration_No xmlns="urn:microsoft-dynamics-schemas/page/vendor">697528465</VAT_Registration_No>
<Gen_Bus_Posting_Group xmlns="urn:microsoft-dynamics-schemas/page/vendor">NATIONAL</Gen_Bus_Posting_Group>
<Post_Code xmlns="urn:microsoft-dynamics-schemas/page/vendor">99081</Post_Code>
<E_Mail xmlns="urn:microsoft-dynamics-schemas/page/vendor">edle.holzer.gmbh@cronuscorp.net</E_Mail>
<Tax_Liable xmlns="urn:microsoft-dynamics-schemas/page/vendor">false</Tax_Liable>
<VAT_Bus_Posting_Group xmlns="urn:microsoft-dynamics-schemas/page/vendor">NATIONAL</VAT_Bus_Posting_Group>
</ReadResult>
</ReadResponse>
</s:Body>
</s:Envelope>
Field Information
Vendor Field Information
| Name | Description | Type | max. Length | Occurance |
|---|---|---|---|---|
| 🔑 No | Specifies the number of the vendor. | String | 20 | 1..1 |
| Name | Specifies the vendor's name. | String | 50 | 0..1 |
| Name_2 | Specifies the vendor's add. name information. | String | 50 | 0..1 |
| Search_Name | Search Name. This value is generated in NAV/Business Central indexing purposes. | String | 50 | 0..1 |
| Address | Specifies the vendor's address. i.E. 'Hauptstraße 12b' | String | 50 | 1..1 |
| Address_2 | Specifies the vendor's add. address information. | String | 50 | 1..1 |
| City | Specifies the vendor's city. | String | 50 | 1..1 |
| Post_Code | Specifies a code for the post code of the vendors address. Get a list of codes from the Master Data Service | String | 10 | 0..1 |
| Country_Region_Code | Specifies a code for the country/region of the vendors address. Get a list of codes from the Master Data Service | String | 10 | 0..1 |
| Contact | Name of the contact at the vendor. | String | 50 | 0..1 |
| Phone_No | Specifies the vendor's phone no. | String | 30 | 0..1 |
| Fax_No | Specifies the vendor's fax no. | String | 30 | 0..1 |
| Our_Account_No | Specifies your account number with the vendor, if you have one. | String | 30 | 0..1 |
| Currency_Code | Specifies a default currency code for the vendor. Get a list of codes from the Master Data Service | String | 10 | 0..1 |
| Language_Code | Specifies a default language code for the vendor. Get a list of codes from the Master Data Service | String | 10 | 0..1 |
| Last_Date_Modified | Shows when the vendor card was last modified. | Datetime | 0..1 | |
| Price_Includes_VAT | Indicates vendor's price included VAT. | Boolean | 0..1 | |
| Payment_Terms_Code | Specifies a code that indicates the payment terms that the vendor usually requires. Get a list of codes from the Master Data Service | String | 10 | 0..1 |
| Gen_Bus_Posting_Group | String | 10 | 0..1 | |
| Vendor_Posting_Group | Specifies the VAT product posting group to which this vendor belongs. | String | 10 | 0..1 |
| VAT_Bus_Posting_Group | Specifies a VAT business posting group for customers for whom you want the vendor price including VAT, as shown in the Unit Price field, to apply. | String | 10 | 0..1] |
| Tax_Liable | Boolean | 0..1 | ||
| Responsibility_Center | Specifies the code for the responsibility center that will administer this vendor by default.. Get a list of codes from the Master Data Service | String | 0..1 | |
| Registration_No | Contains the registration number of the vendor. | String | 20 | 0..1 |