Title here
Summary here
Get a list of customer that have siLink enabled
Method: GET
URL: https://silink.smart-it.co.za/api/v1/customer 1<customers>
2 <customer>
3 <apikey>7A7F46C1-D4C5-46D3-A428-EB5F9EE0C023</apikey>
4 <name>DANGERDAVE:Danger Dave</name>
5 <companyid>B5E4D71B-DC2E-4B17-A588-783F8AF2E64A</companyid>
6 <customerno>1</customerno>
7 <pricing_type>PL</pricing_type>
8 <id>D33E7AE0-88C1-4DC8-831C-0F7031FDB754</id>
9 <pricelist>0</pricelist>
10 <pricelevel>10</pricelevel>
11 <info>
12 <customercode>DANGERDAVE</customercode>
13 <name>Danger Dave</name>
14 <vatregistration>VAT123</vatregistration>
15 <telephone>7394</telephone>
16 <addresses>
17 <address>
18 <adressno>2</adressno>
19 <type>Bill To</type>
20 <line1>B1</line1>
21 <line2>B2</line2>
22 <line3>B3</line3>
23 <suburb />
24 <city>Mbombela</city>
25 <province>Mpumalanga</province>
26 <country>South Africa</country>
27 <postcode>1201</postcode>
28 </address>
29 <address>
30 <adressno>3</adressno>
31 <type>Delivery</type>
32 <line1>e</line1>
33 <line2 />
34 <line3 />
35 <suburb />
36 <city />
37 <province />
38 <country>South Africa</country>
39 <postcode />
40 </address>
41 </addresses>
42 <contacts>
43 <contact>
44 <contactno>8</contactno>
45 <name>Peter</name>
46 <email>peterrabbit@example.com</email>
47 <phone>082111</phone>
48 </contact>
49 </contacts>
50 </info>
51 </customer>
52 <customer>
53 <apikey>4A3A8CB0-FFBD-4EDE-B7C6-8D24BD65C26E</apikey>
54 <name>SWEETCAROLINE:Sweet Caroline</name>
55 <companyid>B5E4D71B-DC2E-4B17-A588-783F8AF2E64A</companyid>
56 <customerno>2</customerno>
57 <pricing_type>PL</pricing_type>
58 <id>BFEB4B2F-6D3D-47D8-B904-A8B91DDDDC09</id>
59 <pricelist>0</pricelist>
60 <pricelevel>10</pricelevel>
61 <info>
62 <customercode>SWEETCAROLINE</customercode>
63 <name>Sweet Caroline</name>
64 <vatregistration>E4798949845</vatregistration>
65 <telephone>8449851651</telephone>
66 <addresses>
67 <address>
68 <adressno>77</adressno>
69 <type>Bill To</type>
70 <line1>B1</line1>
71 <line2>B2</line2>
72 <line3>B3</line3>
73 <suburb />
74 <city>Bloemfontein</city>
75 <province>Freestate</province>
76 <country>South Africa</country>
77 <postcode>1201</postcode>
78 </address>
79 <address>
80 <adressno>9844</adressno>
81 <type>Delivery</type>
82 <line1>e</line1>
83 <line2 />
84 <line3 />
85 <suburb />
86 <city />
87 <province />
88 <country>South Africa</country>
89 <postcode />
90 </address>
91 </addresses>
92 <contacts>
93 <contact>
94 <contactno>476</contactno>
95 <name>John</name>
96 <email>johnpeters@example.com</email>
97 <phone>0124654984</phone>
98 </contact>
99 </contacts>
100 </info>
101 </customer>
102</customers>
customer
--------
apikey = string, api key that customer kan use to authenticate with silink
name = string, customercode:customer name
companyid = string, internal use (silink database ref)
customerno = long, customerno on SI
pricing_type = string, one of
PL: Price Level
MUMC: MarkupOnMaxCost
BRPL: BranchPriceLevel
COST: CostPrice
id = string, internal use (silink customer ref)
pricelist = int, pricelist customer is linked to (0 = default[1], 1 to 10)
pricelevel = int, customer price level 1 to 10
customer.info
-------------
customercode = string
name = string
vatregistration = string
telephone = string
customer.info.address
---------------------
adressno = long, address id on SI
type = string, usually 'Bill To' or 'Delivery' but can be others
line1 = string, address line 1
line2 = string, address line 1
line3 = string, address line 1
suburb = string
city = string
province = string
country = string
postcode = string
customer.info.contact
---------------------
contactno = long, contact id on SI
name = string
email = string
phone = string