Download OpenAPI specification:Download
Documentation et contrat d'interface pour l'api communication, l'api responsable de d'envoie de mails.
envoie de mail.
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie un object mail. |
| sendingDate | string <date-time> date d'envoi remplie automatiquement au moment de l'envoi (Timestamp au format ISO 8601) |
| receiversId | Array of strings les id techniques des destinataires. |
| publicationId | string id technique d'une annonce. |
| reservationId | string id technique d'une réservation. |
| productType | string Enum: "TRIP" "HOTE" Type de produit (Trip, hote ...). |
| organizationId | string id technique d'un organisme. |
| establishmentId | string id technique d'une établissement. |
| category | string Enum: "PROFILE_COMPLETION_REQUEST" "ORGANIZATION_CREATION_REQUEST" "ESTABLISHMENT_CREATION_REQUEST" "ORGANIZATION_INFO_COMPLETION_REQUEST" "ESTABLISHMENT_INFO_COMPLETION_REQUEST" "USER_ACCOUNT_ACTIVATION_CONFIRMATION" "ORGANIZATION_ACTIVATION_CONFIRMATION" "ESTABLISHMENT_ACTIVATION_CONFIRMATION" "TRIP_DRAFT_PUBLICATION_REQUEST" "TRIP_PUBLICATION_NOTIFICATION" "TRIP_RESPONSIBLE_DESIGNATION_NOTIFICATION" "PARTNER_TRIP_BOOKING_NOTIFICATION" "CLIENT_TRIP_BOOKING_NOTIFICATION" "PARTNER_BOOKING_CANCELLATION_NOTIFICATION" "CLIENT_BOOKING_CANCELLATION_NOTIFICATION" "PARTNER_PAYMENT_NOTIFICATION" "CLIENT_PAYMENT_NOTIFICATION" "TRIP_REMINDER_NOTIFICATION" Catégorie du mail. |
{- "id": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "receiversId": [
- "string"
], - "publicationId": "string",
- "reservationId": "string",
- "productType": "TRIP",
- "organizationId": "string",
- "establishmentId": "string",
- "category": "PROFILE_COMPLETION_REQUEST"
}{- "id": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "receiversId": [
- "string"
], - "publicationId": "string",
- "reservationId": "string",
- "productType": "TRIP",
- "organizationId": "string",
- "establishmentId": "string",
- "category": "PROFILE_COMPLETION_REQUEST",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}contacter nous.
| X-Correlation-ID | string Identifiant de corrélation |
| id | string id technique et unique généré automatiquement et qui identifie un object contact. |
| conversationId | string id technique attribué au 1er message afin de rattacher d'autres messages en cas de repenser. |
| sendingDate | string <date-time> date d'envoi remplie automatiquement au moment de l'envoi (Timestamp au format ISO 8601) |
| receiverId | string l'id techniqye du destinataire. |
| transmitterId | string L'id technique de l'emetteur di connecté. |
| name | string Nom du client qui veut nous contacter. |
string adresse mail du client. | |
| object | string l'objet du message. |
| message | string message du client. |
| required | any |
{- "id": "string",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "receiverId": "string",
- "transmitterId": "string",
- "name": "string",
- "mail": "string",
- "object": "string",
- "message": "string",
- "required": null
}{- "id": "string",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "receiverId": "string",
- "transmitterId": "string",
- "name": "string",
- "mail": "string",
- "object": "string",
- "message": "string",
- "required": null,
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}contacter nous.
| contact_id required | string id technique du du message du contact. |
| 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",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "receiverId": "string",
- "transmitterId": "string",
- "name": "string",
- "mail": "string",
- "object": "string",
- "message": "string",
- "required": null
}
]
}contacter nous.
| contact_id required | string id technique du du message du contact. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "string",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "receiverId": "string",
- "transmitterId": "string",
- "name": "string",
- "mail": "string",
- "object": "string",
- "message": "string",
- "required": null,
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}créer une conversation.
| X-Correlation-ID | string Identifiant de corrélation |
| id | string <uuid> |
| tripPublicationId required | string |
| tripReference required | string |
| establishmentId required | string |
| customerId required | string |
| assignedAgentId | string or null L'id de l'agent actuellement responsable de la conversation. |
| participants | Array of strings Liste des IDs des utilisateurs impliqués (client + agents). |
object (message) Représente un message échangé dans une conversation. | |
| status | string Enum: "OPEN" "CLOSED" "ARCHIVED" Statut de la conversation (ouverte, fermée, archivée) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tripPublicationId": "string",
- "tripReference": "string",
- "establishmentId": "string",
- "customerId": "string",
- "assignedAgentId": "string",
- "participants": [
- "string"
], - "lastMessage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "transmitterId": "string",
- "receiverId": "string",
- "transmitterType": "CUSTOMER",
- "content": "string",
- "contentType": "TEXT",
- "status": "SENT",
- "receivedDate": "2019-08-24T14:15:22Z"
}, - "status": "OPEN"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tripPublicationId": "string",
- "tripReference": "string",
- "establishmentId": "string",
- "customerId": "string",
- "assignedAgentId": "string",
- "participants": [
- "string"
], - "lastMessage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "transmitterId": "string",
- "receiverId": "string",
- "transmitterType": "CUSTOMER",
- "content": "string",
- "contentType": "TEXT",
- "status": "SENT",
- "receivedDate": "2019-08-24T14:15:22Z"
}, - "status": "OPEN",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}lister les conversations.
| establishmentId | string id technique de l'établissement concerné par la conversation. |
| customerId | string id de l'utilisateur qui créer la conversation. |
| assignedAgentId | string id de l'agent qui gere la conversation. |
| 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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tripPublicationId": "string",
- "tripReference": "string",
- "establishmentId": "string",
- "customerId": "string",
- "assignedAgentId": "string",
- "participants": [
- "string"
], - "lastMessage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "transmitterId": "string",
- "receiverId": "string",
- "transmitterType": "CUSTOMER",
- "content": "string",
- "contentType": "TEXT",
- "status": "SENT",
- "receivedDate": "2019-08-24T14:15:22Z"
}, - "status": "OPEN"
}
]
}recuperer une conversation.
| conversation-id required | string id technique de la conversation. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tripPublicationId": "string",
- "tripReference": "string",
- "establishmentId": "string",
- "customerId": "string",
- "assignedAgentId": "string",
- "participants": [
- "string"
], - "lastMessage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "transmitterId": "string",
- "receiverId": "string",
- "transmitterType": "CUSTOMER",
- "content": "string",
- "contentType": "TEXT",
- "status": "SENT",
- "receivedDate": "2019-08-24T14:15:22Z"
}, - "status": "OPEN",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}modification d'une conversation.
| conversation-id required | string id technique de la conversation. |
| X-Correlation-ID | string Identifiant de corrélation |
| id | string <uuid> |
| tripPublicationId required | string |
| tripReference required | string |
| establishmentId required | string |
| customerId required | string |
| assignedAgentId | string or null L'id de l'agent actuellement responsable de la conversation. |
| participants | Array of strings Liste des IDs des utilisateurs impliqués (client + agents). |
object (message) Représente un message échangé dans une conversation. | |
| status | string Enum: "OPEN" "CLOSED" "ARCHIVED" Statut de la conversation (ouverte, fermée, archivée) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tripPublicationId": "string",
- "tripReference": "string",
- "establishmentId": "string",
- "customerId": "string",
- "assignedAgentId": "string",
- "participants": [
- "string"
], - "lastMessage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "transmitterId": "string",
- "receiverId": "string",
- "transmitterType": "CUSTOMER",
- "content": "string",
- "contentType": "TEXT",
- "status": "SENT",
- "receivedDate": "2019-08-24T14:15:22Z"
}, - "status": "OPEN"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tripPublicationId": "string",
- "tripReference": "string",
- "establishmentId": "string",
- "customerId": "string",
- "assignedAgentId": "string",
- "participants": [
- "string"
], - "lastMessage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "transmitterId": "string",
- "receiverId": "string",
- "transmitterType": "CUSTOMER",
- "content": "string",
- "contentType": "TEXT",
- "status": "SENT",
- "receivedDate": "2019-08-24T14:15:22Z"
}, - "status": "OPEN",
- "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}Mise à jour de l'agent assigné à une conversation.
| conversation-id required | string id technique de la conversation. |
| assignedAgentId required | string Identifiant de l'agent assigné à la conversation. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "name": "string",
- "debug_id": "string",
- "message": "string",
- "information_link": "string",
- "details": [
- {
- "field": "string",
- "value": "string",
- "location": "string",
- "issue": "string"
}
], - "links": [
- {
- "href": "string",
- "rel": "string",
- "title": "string",
- "mediaType": "string",
- "method": "string",
- "encType": "application/json"
}
]
}recuperer les messages d'une conversation.
| conversation-id required | string id technique de la conversation. |
| currentPage | integer >= 0 le numéro de la page actuelle, si 1er appel ne pas envoyer cet attribut. |
| sizePage | integer >= 1 Nombre d'éléments par page. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "totalElements": 0,
- "totalPages": 0,
- "currentPage": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversationId": "string",
- "sendingDate": "2019-08-24T14:15:22Z",
- "transmitterId": "string",
- "receiverId": "string",
- "transmitterType": "CUSTOMER",
- "content": "string",
- "contentType": "TEXT",
- "status": "SENT",
- "receivedDate": "2019-08-24T14:15:22Z"
}
]
}