frequently asked questions

All your questions in one place.

Adresses

 

 This method returns a list of addresses.

BODY - RAW

{
		"Method": "Addresses",
		"Parameters": [ 
			[<dDateSince>],
			[<nDetailLevel>],
			[<cAdditionalFields>],
			[<cGroupFilter>] 
       ] 
}

PARAMETERS

ParametersDescription
dDateSinceAllows you to obtain the addresses modified since that date.
nDetailLevel

The possible values are:

0 - the Road, Town, Country fields are not returned

1 - the above mentioned fields are also returned.

The value defaults to 0 if leaved empty

cAdditionalFields

Allows to specify a list of fields that can be returned at the end of the returned class.

The available fields are;

- ad_naissan - birthday

- ad_utilis1 -> ad_utili10 - miscellaneaous fieds 1 to 10

- ad_groupe - address group

cGroupFilter

Allows to specify a group to filter the results.

The check is case-insensitive, on the exact name of the group.

 

EXAMPLE

*/ Return the complete list of the addresses

{
        "Method": "Addresses",
        "Parameters": [
  ]
}

*/ Returns the list of addresses modified since March 31,2017

{
        "Method": "Addresses",
        "Parameters": [
                "31.03.2017"
       ]
}

*/ Returns the list of addresses modified since March 31,2017. The class returned contains also the road, town, ZIP code, Country

{
        "Method": "Addresses",
        "Parameters": [
               "31.03.2017",
				1
       ]
}

*/ Returns the list of addresses modified since March 31,2017. The class returned contains also the road, town, ZIP code, Country and the fields ad_utilis1 and ad_utilis2

{
		"Method": "Addresses",
		"Parameters": [
			"31.03.2017",
			1,
			"ad_utilis1, ad_utilis2",
	]
}

RETURNED CLASS

PropertyDescription
IdId (ad_numero)
CodeAddress code
SimpleNameSimplified name of the Address
OperationThe operation since the date passed as parameter
Properties returned only with nDetailLevel = 1
CompanyCompany name
CivilTitleMr. - Mrs.
LastNameLast name of the address
FirstNameFirst name of the address
Street1First line of the address
Street2Second line of the addess
ZipCodeZIP code of the address
CountryCodeCode of the country of the address
TownTown of the address
LanguageLanguage of the address. The values are: en, fr, de, it
Only the fields passed via cAdditionalFields are returned
BirthdayBirthday date of the address
Miscellaneous1Miscellaneous field 1
Miscellaneous2Miscellaneous field 2
Miscellaneous3Miscellaneous field 3
Miscellaneous4Miscellaneous field 4
Miscellaneous5Miscellaneous field 5
Miscellaneous6Miscellaneous field 6
Miscellaneous7Miscellaneous field 7
Miscellaneous8Miscellaneous field 8
Miscellaneous9Miscellaneous field 9
Miscellaneous10Miscellaneous field 10
GroupAddress group
CreditDefaultBookingModeAdresses's Booking mode creditor by default
VatNumberAdresses's Vat Number

 

Did you find this article useful?

0 out of 3 found this helpful