Aquarelia - Ajout d'un contact
POST
/contact/push?cle=xxxx
Request parameters
cle
string
required
fournie par e-mail
Request body
Object
nom
string
required
Example:
dupond, dupont, ...
prenom
string
Example:
jean, françois, ...
mail
string
Example:
dev@vertuoz.fr
telephone
string
Example:
06 XX XX XX XX
residence
integer
L’id ECOMSOFT, voir table de correspondance ci-dessus
Example:
44
info_referer
string
Champ texte permettant de passer des infos utiles ou complémentaires (max 5000)
url
string
Url source de la page, contenant éventuellement tracker GTM (max 500)
Examples
https://aquarelia-dev.vertuoz.fr/contact/push?cle=xxxx (URL DE PROD) En body (JSON) de la requête, 1 à n contacts possibles.
{
"contacts": [
{
"nom" : "test",
"prenom" : "test",
"mail" : "test",
"telephone" : "test",
"residence" : "44",
"info_referer" : "XXXXXXXXXXXXXX",
"url" : "https;//...."
},
{
"nom" : "test",
"prenom" : "test",
"mail" : "test",
"telephone" : "test",
"residence" : "44",
"info_referer" : "XXXXXXXXXXXXXX",
"url" : "https;//...."
}
]
}
Responses
201
Created
création contact(s) effectuée
403
Forbidden
Token incorrect
400
Bad Request
Format des données incorrect
Example 1
http://aquarelia.com/contact/push?cle=123