====== CustomerContacts Resource ====== The Customer Contacts Resource allows read/write access to the Sage 100 Customer Contacts table for Customer linked Users, and read access to the other Resource Tables. ^Resource Method List^^^^^ ^Action^HTTP^URI^Admin?^Description^ |[[#get|get]]|GET|/customerContacts||Retrieve Customer Contact data for the currently logged in user| |[[#list|list]]|GET|/customerContacts[?ARDivisionNo=&vendorNo=&contactCode=]|Only|Administrators can retrieve data from one or many Customer Contacts| |[[#update|update]]|POST|/customerContacts[?ARDivisionNo=&customerNo =&contactCode=]|Yes|Update Customer Contact information| |[[#create|create]]|POST|/customerContacts|Only|Create a new Customer Contact| **Resource Table List** \\ Click on the table to view detail. {{page>enhancements:sage100:modules:sde:api:tables:ar_customer_contact&inline&noheader&nofooter}} {{page>enhancements:sage100:modules:sde:api:tables:ar_customer&inline&noheader&nofooter}} {{page>enhancements:sage100:modules:sde:api:tables:ar_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 Customer Contacts Resource. This can include data from any of the tables associated with the resource. ==== List ==== Administrators can retrieve any customer contact data from the Customer Contact Resource by specifying the ARDivisonNo, CustomerNo and ContactCode in the URI. If the Administrator leaves those three fields off the URI, then a list of all Customer Contacts is returned. ==== Update ==== The Customer Contact table can be updated through the Customer Contact Resource. Users can update their contact data, while Administrators can update any Customer Contact data. ==== Create ==== Only an Administrator can create a new Customer Contact.