Download OpenAPI specification:Download
Documentation et contrat d'interface pour l'api PersonsApi, l'api responsable de la géstion de personnes phisiques (part & pro) pour tout type de profile partenaire ou particulier.
création d'une personne au tant qu'objet métier.
| X-Correlation-ID | string Identifiant de corrélation |
| id required | string Identifiant technique généré par le serveur d'authentification , qui identifie une personne. |
| picture | string lien vers La photo du profil. |
| lastName | string Nom de famille d'une personne. |
| firstName | string Prénom de famille d'une personne. |
| gender | string Enum: "MALE" "FEMALE" Sexe de la personne. |
| dateOfBirth | string <date> Date de naissance de la personne. |
| email required | string L'adresse e-mail de la personne. |
object (Téléphone) Numéro de téléphone. | |
object (Adresse) L'objet qui représente une adresse postale du bien à louer. | |
| type required | string Enum: "PART" "PRO" Type de personne. |
| status | string Enum: "MISSING_INFORMATIONS" "ACTIVATED" "ACTIVATION_IN_PROGRESS" Le statut de la personne physique.
|
| operation | string Enum: "CREATION" "INVITATION" Enum indique si la création de personne est lancé dpuis une invitation par un autre utilisateur (PRO), ou parcours de création de compte normal |
{- "id": "string",
- "picture": "string",
- "lastName": "string",
- "firstName": "string",
- "gender": "MALE",
- "dateOfBirth": "2019-08-24",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}, - "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "type": "PART",
- "status": "MISSING_INFORMATIONS",
- "operation": "CREATION"
}{- "id": "string",
- "picture": "string",
- "lastName": "string",
- "firstName": "string",
- "gender": "MALE",
- "dateOfBirth": "2019-08-24",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}, - "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "type": "PART",
- "status": "MISSING_INFORMATIONS",
- "operation": "CREATION",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Lister les personnes.
| currentPage | integer >= 1 le numéro de la page actuelle, si 1er appel ne pas envoyer cet attribut. |
| sizePage | integer >= 3 Nombre d'éléments par page. |
| attachmentIds | string Example: attachmentIds=id1,id2,id3 Filtre par identifiants d'attachement (séparés par virgule) |
| personIds | string Example: personIds=p1,p2,p3 Filtre par identifiants de personnes (séparés par virgule) |
| X-Correlation-ID | string Identifiant de corrélation |
{- "totalElements": 0,
- "totalPages": 0,
- "currentPage": 0,
- "content": [
- {
- "id": "string",
- "picture": "string",
- "lastName": "string",
- "firstName": "string",
- "gender": "MALE",
- "dateOfBirth": "2019-08-24",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}, - "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "type": "PART",
- "status": "MISSING_INFORMATIONS",
- "operation": "CREATION",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}
]
}récupération d'une personne par son id.
| person-id required | string id technique du personne. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "string",
- "picture": "string",
- "lastName": "string",
- "firstName": "string",
- "gender": "MALE",
- "dateOfBirth": "2019-08-24",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}, - "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "type": "PART",
- "status": "MISSING_INFORMATIONS",
- "operation": "CREATION",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}modification d'une personne.
| person-id required | string id technique du personne. |
| X-Correlation-ID | string Identifiant de corrélation |
| id required | string Identifiant technique généré par le serveur d'authentification , qui identifie une personne. |
| picture | string lien vers La photo du profil. |
| lastName | string Nom de famille d'une personne. |
| firstName | string Prénom de famille d'une personne. |
| gender | string Enum: "MALE" "FEMALE" Sexe de la personne. |
| dateOfBirth | string <date> Date de naissance de la personne. |
| email required | string L'adresse e-mail de la personne. |
object (Téléphone) Numéro de téléphone. | |
object (Adresse) L'objet qui représente une adresse postale du bien à louer. | |
| type required | string Enum: "PART" "PRO" Type de personne. |
| status | string Enum: "MISSING_INFORMATIONS" "ACTIVATED" "ACTIVATION_IN_PROGRESS" Le statut de la personne physique.
|
| operation | string Enum: "CREATION" "INVITATION" Enum indique si la création de personne est lancé dpuis une invitation par un autre utilisateur (PRO), ou parcours de création de compte normal |
{- "id": "string",
- "picture": "string",
- "lastName": "string",
- "firstName": "string",
- "gender": "MALE",
- "dateOfBirth": "2019-08-24",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}, - "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "type": "PART",
- "status": "MISSING_INFORMATIONS",
- "operation": "CREATION"
}{- "id": "string",
- "picture": "string",
- "lastName": "string",
- "firstName": "string",
- "gender": "MALE",
- "dateOfBirth": "2019-08-24",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}, - "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "type": "PART",
- "status": "MISSING_INFORMATIONS",
- "operation": "CREATION",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Activer le compte d'une personne.
| person-id required | string id technique du personne. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "string",
- "picture": "string",
- "lastName": "string",
- "firstName": "string",
- "gender": "MALE",
- "dateOfBirth": "2019-08-24",
- "email": "string",
- "phoneNumber": {
- "indicative": "str",
- "number": "string"
}, - "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "type": "PART",
- "status": "MISSING_INFORMATIONS",
- "operation": "CREATION",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}enregistrer une entité en favoris.
| person-id required | string id technique du personne. |
| X-Correlation-ID | string Identifiant de corrélation |
| id | string Identifiant technique et unique généré automatiquement. |
| entityType required | String (entityTypeFavoris) Enum: "TRIP" "HOTE" Type d'entité. |
| entityId required | string L'id de l'entité en question. |
{- "id": "string",
- "entityType": "TRIP",
- "entityId": "string"
}{- "id": "string",
- "entityType": "TRIP",
- "entityId": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Lister les les favoris.
| person-id required | string id technique du personne. |
| entityType required | String (entityTypeFavoris) Enum: "TRIP" "HOTE" Type d'entité. |
| currentPage | integer >= 1 le numéro de la page actuelle, si 1er appel ne pas envoyer cet attribut. |
| sizePage | integer >= 3 Nombre d'éléments par page. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "totalElements": 0,
- "totalPages": 0,
- "currentPage": 0,
- "content": [
- {
- "id": "string",
- "entityType": "TRIP",
- "entityId": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}
]
}enregistrer une entité en attachment.
| person-id required | string id technique du personne. |
| X-Correlation-ID | string Identifiant de corrélation |
| id | string Identifiant technique et unique généré automatiquement, qui identifie un rattachement entre un utilisateur et une entité. |
| entityType | string Enum: "ORGANIZATION" "ESTABLISHMENT" Type d'entité. |
| entityId | string L'id de l'entité en question. |
{- "id": "string",
- "entityType": "ORGANIZATION",
- "entityId": "string"
}{- "id": "string",
- "entityType": "ORGANIZATION",
- "entityId": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Lister les attachements.
| person-id required | string id technique du personne. |
| currentPage | integer >= 1 le numéro de la page actuelle, si 1er appel ne pas envoyer cet attribut. |
| sizePage | integer >= 3 Nombre d'éléments par page. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "totalElements": 0,
- "totalPages": 0,
- "currentPage": 0,
- "content": [
- {
- "id": "string",
- "entityType": "ORGANIZATION",
- "entityId": "string",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}
]
}suppression d'une attachment
| person-id required | string id technique du personne. |
| entity-id required | string id technique de l'entité d'attachement. |
| X-Correlation-ID | string Identifiant de corrélation |
{ }