Download OpenAPI specification:Download
Documentation et contrat d'interface pour l'api partnersApi, l'api responsable de la gestion d'une personnes morales (gestion d'un partenaire).
création d'un Organisme au tant qu'objet métier.
| X-Correlation-ID | string Identifiant de corrélation |
| id | string Identifiant technique et unique généré automatiquement, qui identifie un organisme. |
| name required | string Nom du partenaire. |
| picture | string lien vers le logo du partenaire. |
required | object (Address) |
| status | string Enum: "MISSING_INFORMATIONS" "COMPLETED" Le statut du partenaire.
|
{- "id": "string",
- "name": "string",
- "picture": "string",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "status": "MISSING_INFORMATIONS"
}{- "id": "string",
- "name": "string",
- "picture": "string",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "status": "MISSING_INFORMATIONS"
}Lister des organismes.
| currentPage | integer >= 0 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",
- "name": "string",
- "picture": "string",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "status": "MISSING_INFORMATIONS"
}
]
}récupération des informations de l'organisme par son id.
| organization-id required | string id technique de l'organisme. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "string",
- "name": "string",
- "picture": "string",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "status": "MISSING_INFORMATIONS"
}modification d'un organisme.
| organization-id required | string id technique de l'organisme. |
| X-Correlation-ID | string Identifiant de corrélation |
| id | string Identifiant technique et unique généré automatiquement, qui identifie un organisme. |
| name required | string Nom du partenaire. |
| picture | string lien vers le logo du partenaire. |
required | object (Address) |
| status | string Enum: "MISSING_INFORMATIONS" "COMPLETED" Le statut du partenaire.
|
{- "id": "string",
- "name": "string",
- "picture": "string",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "status": "MISSING_INFORMATIONS"
}{- "id": "string",
- "name": "string",
- "picture": "string",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "status": "MISSING_INFORMATIONS"
}activation d'un organisme.
| organization-id required | string id technique de l'organisme. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "string",
- "name": "string",
- "picture": "string",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "status": "MISSING_INFORMATIONS"
}désactivation d'un organisme.
| organization-id required | string id technique de l'organisme. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "string",
- "name": "string",
- "picture": "string",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "status": "MISSING_INFORMATIONS"
}création d'un établissement au tant qu'objet métier.
| X-Correlation-ID | string Identifiant de corrélation |
| id | string Identifiant technique et unique généré automatiquement, qui identifie un établissement. |
| parentOrganism required | string Identifiant technique de l'organisime parent. |
| name required | string Nom de l'établissement. |
| legalStatus | string Enum: "EI" "SA" "SARL" "SAS" "SCS" "SCA" "SEP" "SNC" "GIE" Forme juridique de l'établissement:
|
object (Address) | |
| supportingDocumentsID | string Identifiant technique du document justificatif de l'identité de l'établissement. |
| status | string Enum: "MISSING_INFORMATIONS" "ACTIVATED" "DISABLED" Le statut de l'établissement.
|
Array of objects (extensionAttribut) Informations de l'entreprise (identité). | |
| activities | Array of strings Items Enum: "TRAVEL_SERVICE" "ACCOMMODATION_SERVICE" Liste d'activités que l'établissemnt peux exercer :
|
{- "id": "string",
- "parentOrganism": "string",
- "name": "string",
- "legalStatus": "EI",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "supportingDocumentsID": "string",
- "status": "MISSING_INFORMATIONS",
- "companyInformation": [
- {
- "name": "string",
- "value": "string"
}
], - "activities": [
- "TRAVEL_SERVICE"
]
}{- "id": "string",
- "parentOrganism": "string",
- "name": "string",
- "legalStatus": "EI",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "supportingDocumentsID": "string",
- "status": "MISSING_INFORMATIONS",
- "companyInformation": [
- {
- "name": "string",
- "value": "string"
}
], - "activities": [
- "TRAVEL_SERVICE"
]
}Lister des éstablishments.
| organization-id | string id technique de l'organisation. |
| 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",
- "parentOrganism": "string",
- "name": "string",
- "legalStatus": "EI",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "supportingDocumentsID": "string",
- "status": "MISSING_INFORMATIONS",
- "companyInformation": [
- {
- "name": "string",
- "value": "string"
}
], - "activities": [
- "TRAVEL_SERVICE"
]
}
]
}récupération des informations de l'établissement par son id.
| establishment-id required | string id technique de l'établissement. |
| X-Correlation-ID | string Identifiant de corrélation |
{- "id": "string",
- "parentOrganism": "string",
- "name": "string",
- "legalStatus": "EI",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "supportingDocumentsID": "string",
- "status": "MISSING_INFORMATIONS",
- "companyInformation": [
- {
- "name": "string",
- "value": "string"
}
], - "activities": [
- "TRAVEL_SERVICE"
]
}modification d'un établissement.
| establishment-id required | string id technique de l'établissement. |
| X-Correlation-ID | string Identifiant de corrélation |
| id | string Identifiant technique et unique généré automatiquement, qui identifie un établissement. |
| parentOrganism required | string Identifiant technique de l'organisime parent. |
| name required | string Nom de l'établissement. |
| legalStatus | string Enum: "EI" "SA" "SARL" "SAS" "SCS" "SCA" "SEP" "SNC" "GIE" Forme juridique de l'établissement:
|
object (Address) | |
| supportingDocumentsID | string Identifiant technique du document justificatif de l'identité de l'établissement. |
| status | string Enum: "MISSING_INFORMATIONS" "ACTIVATED" "DISABLED" Le statut de l'établissement.
|
Array of objects (extensionAttribut) Informations de l'entreprise (identité). | |
| activities | Array of strings Items Enum: "TRAVEL_SERVICE" "ACCOMMODATION_SERVICE" Liste d'activités que l'établissemnt peux exercer :
|
{- "id": "string",
- "parentOrganism": "string",
- "name": "string",
- "legalStatus": "EI",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "supportingDocumentsID": "string",
- "status": "MISSING_INFORMATIONS",
- "companyInformation": [
- {
- "name": "string",
- "value": "string"
}
], - "activities": [
- "TRAVEL_SERVICE"
]
}{- "id": "string",
- "parentOrganism": "string",
- "name": "string",
- "legalStatus": "EI",
- "address": {
- "number": "string",
- "route": "string",
- "complement": "string",
- "stage": "string",
- "zipPostal": "string",
- "city": "string",
- "country": "st"
}, - "supportingDocumentsID": "string",
- "status": "MISSING_INFORMATIONS",
- "companyInformation": [
- {
- "name": "string",
- "value": "string"
}
], - "activities": [
- "TRAVEL_SERVICE"
]
}