This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Customer API¶
Retrieving data in PHP¶
The following example gives access to the data available for the current user. If the call is the first call after a login, the data from the ERP is fetched automatically if the user has a customer number.
1 2 3 4 5 6 7 8 9 |
|
If the ERP provides further information, you can find it in the SesExtension
attribute:
1 |
|
To access data from the User Content item:
1 2 3 4 |
|
Note that the field in dataMap
is prefixed with ez_
. (The Field in the User Content Type has identifier testfield
).
Request a customer by number from the ERP¶
1 2 |
|