====== VendorContacts Resource ====== The Vendor Contacts Resource allows read/write access to the Sage 100 Vendor Contacts table for Vendor linked Users, and read access to the other Resource Tables. ^Resource Method List^^^^^ ^Action^HTTP^URI^Admin?^Description^ |[[#get|get]]|GET|/vendorContacts||Retrieve Vendor data for the currently logged in User| |[[#list|list]]|GET|/vendorContacts[?APDivisionNo=&vendorNo=&contactCode=]|Only|Administrators can retrieve Vendor data from one or many Vendors| |[[#update|update]]|POST|/vendorContacts[?APDivisionNo=&vendorNo=&contactCode=]|Yes|Update Vendor information| |[[#create|create]]|POST|/vendors|Only|Create a new Vendor| **Resource Table List** \\ Click on the table to view detail. {{page>enhancements:sage100:modules:sde:api:tables:ap_vendor_contact&inline&noheader&nofooter}} {{page>enhancements:sage100:modules:sde:api:tables:ap_vendor&inline&noheader&nofooter}} {{page>enhancements:sage100:modules:sde:api:tables:ap_division&inline&noheader&nofooter}} {{page>enhancements:sage100:modules:sde:api:tables:sy_country_code&inline&noheader&nofooter}} {{page>enhancements:sage100:modules:sde:api:tables:sy_zipcode&inline&noheader&nofooter}} \\ ===== Resource Methods ===== ==== Get ==== Users can retrieve their own data from the Vendor Contacts Resource. This can include data from any of the tables associated with the resource. ==== List ==== Administrators can retrieve any vendor contact data from the Vendor Contact Resource by specifying the APDivisonNo, VendorNo and ContactCode in the URI. If the Administrator leaves those three fields off the URI, then a list of all Vendor Contacts is returned. ==== Update ==== Only the Vendor Contact table can be updated through the Vendor Contact Resource. Users can update their contact data, while Administrators can update any Vendor Contact data. ==== Create ==== Only an Administrator can create a new Vendor Contact.