PUT
/sites/{uid}
Modifie un site
Paramètres
| Nom | Description | Type | Requis |
|---|---|---|---|
uid |
L'uid ou code du site à modifier |
String |
Oui |
Body
| Nom | Description | Type | Requis |
|---|---|---|---|
code |
Code |
String |
- |
name |
Nom |
String |
Oui |
description |
Description |
String |
- |
accessFloor |
Accès à l'étage |
Integer |
- |
accessAsc |
Accesible en ascenseur si true, sinon false |
Boolean |
- |
openingDays |
Horaires d'ouvertures |
{[key:String] : Liste de OpeningDay} |
- |
address |
Adresse |
BodyAddress |
Oui |
radius |
Rayon en mètre |
Integer |
- |
notifArrival |
Mode de notification |
NotifArrivalEnum |
- |
customFields |
Champs personalisés |
{[key:String] : String | Integer | String[] | Integer[]} |
- |
agency |
Dépôt |
IdentifierObject |
Oui |
company |
Entreprise |
IdentifierObject |
Oui |
Objet de retour
| Nom | Description | Type |
|---|---|---|
uid |
Identifiant |
String |
code |
Code |
String |
name |
Nom |
String |
description |
Description |
String |
agency |
Identifiant et nom du dépôt |
MiniAgency |
accessFloor |
Etage |
Integer |
accessAsc |
Est accessible par un ascenseur si vrai |
Boolean |
openingDays |
Horaires d'ouvertures |
{[key:String] : Liste de OpeningDay} |
address |
Adresse |
Address |
radius |
Rayon d'activité (en m) |
Integer |
notifArrival |
Notification |
NotifArrival |
company |
Entreprise |
MiniCompany |
customFields |
Champs personalisés |
{[key:String] : String | Integer | String[] | Integer[]} |
Exemple de retour
Pas de données.