...
GET {url}/localtrac/store-locator/image/{locationUuid} | |||
---|---|---|---|
Cette route renvoit la liste des images de Store Locator, associées à l'emplacement | |||
Requête | |||
En-têtes | |||
Authorization | <token> jeton obtenu lors de l'authentification | ||
Accept | application/json | ||
Réponse (200) - Succès | |||
En-têtes | |||
Content-Type | application/json | ||
Body | |||
| |||
uuid | Identifiant unique (uuid) de l'image de localisation de magasin pour cet emplacement. | ||
url | URL de l'image originale | ||
thumbnail | URL de l'image redimensionnée (vignette 95x95). | ||
mimeImage | Type d’image (mime type) | ||
description | Description de l’image | ||
createdAt | Timestamp | ||
Réponse (403) - Accès interdit | |||
En-têtes | |||
Content-Type | application/json | ||
Body | |||
|
...
PUT {url}/localtrac/store-locator/image | |||
---|---|---|---|
This route will assign an image to location as store locator imageCette route attribut une image à la succursale. | |||
Requête | |||
En-têtes | |||
Authorization | <token> jeton obtenu lors de l'authentification | ||
Accept | application/json | ||
Body (Exemple) | |||
| |||
image_uuid | Uuid of Identifiant unique (Uuid) de l'image | ||
location_uuidUuid of location | Identifiant unique (Uuid) de la succursale | ||
descriptionImage description | Description de l’image | ||
Réponse (200) - Succès | |||
En-têtes | |||
Content-Type | application/json | ||
Body | |||
| |||
uuidLOCALTRAC | Identifiant unique identifier (uuid) of the store locator image. de l'image de la succursale | ||
urlUrl | to original imageURL de l'image d'origine | ||
thumbnailUrl | to resized image (95x95 thumbnailURL de l'image redimensionnée (vignette 95x95). | ||
Réponse (400) - Erreur de validationThis scenario happens if you sent any content who fails the minimum validation process. For instance, typo in parameter name will lead to the following resultCe scénario se produit si vous avez envoyé un contenu qui échoue au processus de validation minimum. Par exemple, une faute de frappe dans le nom du paramètre conduira au résultat suivant | |||
En-têtes | |||
Content-Type | application/json | ||
Body | |||
| |||
Réponse (403) - Accès interditThis scenario happens if you sent non-existing Ce scénario se produit si vous avez envoyé un image_uuid non existant | |||
Content-Type | application/json | ||
Body | |||
|
...
DELETE {url}/localtrac/store-locator/image/{imageUuid} | |||
---|---|---|---|
This route will delete store locator imageCette route supprimera l'image de localisation de magasin. | |||
Requête | |||
En-têtes | |||
Authorization | <token> jeton obtenu lors de l'authentification | ||
Accept | application/json | ||
Réponse (200) - Succès | |||
En-têtes | |||
Content-Type | application/json | ||
Body | |||
| |||
Réponse (403) - Accès interditThis scenario happens if you sent non-existing imageUuidCe scénario se produit si vous avez envoyé une imageUuid non existante | |||
Content-Type | application/json | ||
Body | |||
|
...
GET {url}/localtrac/store-locator/{locationUuid}/fields | |||
---|---|---|---|
This route will return the list of Cette route renvoit la liste des champs Store Locator fields, associated to location. For the moment, only “externalId” is supported as a custom field, associés à la succursale. Pour le moment, seul «externalId» est pris en charge en tant que champ personnalisé. | |||
Requête | |||
En-têtes | |||
Authorization | <token> jeton obtenu lors de l'authentification | ||
Accept | application/json | ||
Réponse (200) - Succès | |||
En-têtes | |||
Content-Type | application/json | ||
Body | |||
| |||
Réponse (403) - Accès interdit | |||
En-têtes | |||
Content-Type | application/json | ||
Body | |||
|
...