Submits a Form containing consumer data using the Client API.
File: client-form-submission.php
REST documentation: SubmitForm
Submits registration data to create a user using the Client API.
File: client-create-user.php
REST documentation: CreateUser
Finds a user using the Client API.
File: client-find-user.php
REST documentation: GetUsers
Gets a Form Submission using a form API key for authentication.
File: client-get-form-submission.php
REST documentation: GetFormSubmissions
Verify the signature of a Custom Notification.
File: client-custom-notification-verification.php
Documentation: https://platformservices.redbull.com/docs/uim-webhook
docker build -t uim-client-php-examples .
docker run -it --rm --entrypoint /bin/bash --name php-<example-name> -v "$PWD":/usr/src/myapp -e "APPLICATION_ID=<your_app_id>" -e "FORM_ALIAS=<your_form_alias>" -e "API_KEY=<your_api_key>" -e "ENVIRONMENT=design" uim-client-php-examples
composer install
php src/<script-name>.php
Possible script-name
values are
client-form-submission
client-create-user
client-find-user
client-custom-notification-verification
client-get-form-submission
The variables you would need to run this example against the design
environment are:
Application ID
orForm Alias
API Key
Please request them from the UIM team. In case you want to move to production
, please request a new set of Application ID
, API Key
and Form alias
for it.