Gets a single customer record from database using either database Id or customer's Tax Registration Number.
Service response containing the customer record. Empty customer record if not found.
CustomerId or CustomerVatNumber should be given!
Method Parameters
NAME
TYPE
REQUIRED
EXAMPLE
NOTES
SerialFormat
string
yes
json
Form of the serialized data. (json/xml)
ClientVersion
string
yes
5.01.002
AmvrosiaWebService compatibility
DeviceTicket
long
yes
18249903
Ticket for user. Returned from login
CachedVersion
string
no
-
Hash data used in previous call
CustomerId
int
no*
1
Search customer id *(optional. 0 if not used)
CustomerVatNumber
string
no*
-
Search customer Tax Registration Number. *CustomerId or CustomerVatNumber should be given
Gets a customer dataset from database using either StationId and TableId or SearchString.
Use StationId and TableId to get all customers that exist on table's open orders.
Use SearchString to get customers from customer table. Search Order: MemberCode, Telephone, Customer name, Email.
Service response containing the customer dataset. Empty list if no customer found.
If both TableId and SearchString provided, then SearchString is ignored.
Method Parameters
NAME
TYPE
REQUIRED
EXAMPLE
NOTES
SerialFormat
string
yes
json
Form of the serialized data. (json/xml)
ClientVersion
string
yes
5.01.002
AmvrosiaWebService compatibility
DeviceTicket
long
yes
18249903
Ticket for user. Returned from login
CachedVersion
string
no
-
Hash data used in previous call
StationId
int
yes
2
Station id
TableId
int
no*
1
Table id *(optional. 0 if not used)
MinimumId
int
no*
1
Minimum customer id *(optional. 0 if not used)
SearchString
string
yes
2
Search string, first looking at CustMemberCode if no result then looking at Phone numbers if
no result then looking at CustName or CustTitle if no result then looking at Email.
CustomerData: Body raw parameter with json data in string
'{"LastName":"ΚΕΧΑΓΙΑΣ","FirstName":"ΗΛΙΑΣ","Name":"Sunsoft LTD","VatNumber":"123123123","Address":"ΜΑΧΗΣ ΑΝΑΛΑΤΟΥ",
"AddressNo":"103","Floor":"3","Doorbell":"Η.ΚΕΧΑΓΙΑΣ","ZipCode":"11744","POBox":"11744-1234","Area":"ΝΕΟΣ ΚΟΣΜΟΣ","City":"ΑΘΗΝΑ",
"Country":"ΕΛΛΑΔΑ","Phone":"2107777777","Mobile":"6977777777","Email":"ikechagias@sunsoft.gr",
"Birthday":"20/11/90","Notes":"Κάποιες σημειώσεις για τον πελάτη","Profession":"ΕΛ. ΕΠΑΓΓΕΛΜΑΤΙΑΣ", "ShopId":3,
"TaxOffice":{"Code":4541,"Name":"NEOY KOSMOU"}}'
Summary
Creates or updates (if exists) a customer record in the database.
Service response containing the new or updated customer record.
Force Update is used.
Method Parameters
NAME
TYPE
REQUIRED
EXAMPLE
NOTES
SerialFormat
string
yes
json
Form of the serialized data. (json/xml)
ClientVersion
string
yes
4.01.000
Service Version
DeviceTicket
long
yes
18249903
Ticket for user. Returned from login
CustomerData
json
yes
Body raw parameter
'{"LastName":"ΚΕΧΑΓΙΑΣ","FirstName":"ΗΛΙΑΣ","Name":"Sunsoft LTD","VatNumber":"123123123","Address":"ΜΑΧΗΣ ΑΝΑΛΑΤΟΥ",
"AddressNo":"103", "Floor":"3","Doorbell":"Η.ΚΕΧΑΓΙΑΣ", "ZipCode":"11744", "POBox":"11744-1234", "Area":"ΝΕΟΣ ΚΟΣΜΟΣ" ,"City":"ΑΘΗΝΑ",
"Country":"ΕΛΛΑΔΑ", "Phone":"2107777777", "Mobile":"6977777777", "Email":"ikechagias@sunsoft.gr",
"Birthday":"20/11/90" ,"Notes":"Κάποιες σημειώσεις για τον πελάτη", "Profession":"ΕΛ. ΕΠΑΓΓΕΛΜΑΤΙΑΣ", "ShopId":3,
"TaxOffice":{"Code":4541,"Name":"NEOY KOSMOU"}}'
Serialized customer data
Customer Data Attributes
NAME
TYPE
REQUIRED
EXAMPLE
NOTES
LastName
string
yes
KECHAGIAS
Customer last name nvarchar 120 shared with first name
FirstName
string
yes
ILIAS
Customer first name nvarchar 120 shared with last name
Name
string
no
Sunsoft LTD
Company name nvarchar 120
VatNumber
string
no
123456789
Company Vat Number nvarchar 20
Address
string
no*
MACHIS ANALATOY
*Required for delivery orders nvarchar 60
AddressNo
string
no*
103
*Required for delivery orders varchar 10
Floor
string
no
4
Coustomer address floor
Doorbell
string
no
Η.ΚΕΧΑΓΙΑΣ
Coustomer address doorbell
ZipCode
string
no*
11744
*Required for delivery orders varchar 6
POBox
string
no
11744-1234
Pobox info. Applicable to us and european countries varchar 10
Body raw parameter
'{"LastName":"ΚΕΧΑΓΙΑΣ","FirstName":"ΗΛΙΑΣ","Name":"","VatNumber":"","Address":"ΜΑΧΗΣ ΑΝΑΛΑΤΟΥ",
"AddressNo":"103","Floor":"3","Doorbell":"Η.ΚΕΧΑΓΙΑΣ","ZipCode":"11744","POBox":"","Area":"ΝΕΟΣ ΚΟΣΜΟΣ","City":"ΑΘΗΝΑ",
"Country":"ΕΛΛΑΔΑ","Phone":"2107777777","Mobile":"6977777777","Email":"ikechagias@sunsoft.gr",
"Birthday":"20/11/90","Notes":"Κάποιες σημειώσεις για τον πελάτη","Profession":"ΕΛ. ΕΠΑΓΓΕΛΜΑΤΙΑΣ","ShopId":3,
"TaxOffice":null}'