1. Consultation / Recherche
WsOne
  • 🏠 Accueil
  • đź‘‹ Introduction
  • ⚙️ Workflows / Use Cases
  • 📚 Dictionnaire de donnĂ©es
  • ❌ Codes erreurs
  • WS Person
    • Clients
      • CrĂ©ation
        • createPersonAndIdentifier
        • createPerson
        • createIdentifier
        • associateNewIdentifier
        • associateIdentifier
        • replaceIdentifier
      • Consultation / Recherche
        • getPerson
          POST
        • searchPerson
          POST
        • getAccounts
          POST
        • getFullPerson
          POST
        • searchPersonLite
          POST
        • getBadge
          POST
        • getGroup
          POST
        • getForm
          POST
      • Update
        • updatePerson
    • Offres
      • getAvailableOffers
      • getEnableOffers
      • editOffer
      • getOffersDetails
    • Formulaires
      • getForm
      • updateForm
    • Magasins
      • getEntities
      • getEntityParents
  • WS Transaction
    • sendTransaction
    • validTransaction
    • sendAndValidTransaction
    • sendAndValidFullTransaction
    • verifyTransaction
    • cancelTransactionsNotValidated
    • sendSimpleTransaction
    • refundTransaction
    • getLastTransaction
    • sendOrPrintReceipt
  • Schemas
    • Response
      • AccountResponse
      • NewIdentifierResponse
      • PersonResponse
      • IdentifierResponse
      • SegmentationResponse
      • SubscriptionResponse
      • EntityResponse
      • EmailResponse
      • CellPhoneResponse
      • ContactsReponse
      • InfoPersonResponse
      • GetPersonReponse
      • AccountResponse
      • classifications
      • OfferReponse
      • AddressResponse
    • Request
      • IdentifierRequest
      • EntityRequest
      • ContactRequest
      • PersonRequest
      • PersonProfilRequest
      • NewIdentifierRequest
      • AdressRequest
      • EmailRequest
      • CellPhoneRequest
      • FullPersonRequest
      • SubscriptionRequest
      • FormAnsweredRequest
      • AssociatedIdentifierRequest
      • AccountAdvantageRequest
      • ReceiptRequest
      • DetailsRequest
      • getGroupRequest
    • OfferDetailsReponse
    • UseParamsResponse
    • EditParamsResponse
    • OfferReceiptResponse
    • OfferEntityResponse
  1. Consultation / Recherche

getGroup

POST
/rest/2.0/personWebService/getGroup
Maintainer:Martin DA COSTA NETO
Récupère tous les membres d'un foyer à partir de son identifiant de groupe (groupeId).
Un foyer se compose :
d'un chef de foyer ;
de membres rattachés

🔎 Fonctionnement du paramètre isChief#

Valeur de isChiefRésultat renvoyé
0 (ou absent)Tous les comptes rattachés au groupeId
1Uniquement le chef du foyer

📦 Format du retour#

Le retour a le même format que searchPerson : la liste GetPersonResponse contient une entrée par membre du foyer.

⚠️ Attention
Le paramètre groupeId est obligatoire.
Si vous envoyez isChief, il doit avoir une valeur (0 ou 1).

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Header Params

Body Params application/json

Example
{
    "groupeId": "49784",
    "isChief": 0
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/rest/2.0/personWebService/getGroup' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
    "groupeId": "49784",
    "isChief": 0
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "responseCode": "100",
    "infos": "3 person(s) found\nserver.instance.name=API-DOG preprod serveur 1 instance 1\n",
    "GetPersonResponse": [
        {
            "PersonResponse": {
                "firstName": "JEAN",
                "lastName": "DUPOND",
                "birthDate": "01/01/2000",
                "title": 1,
                "personId": "A31",
                "groupeId": "49784"
            },
            "IdentifierResponse": [
                {
                    "activationDate": "2025-09-26 15:04:38.382",
                    "identifierValue": "9200008784167",
                    "identifierType": 1
                },
                {
                    "activationDate": "2025-09-26 15:04:38.375",
                    "identifierValue": "email-test@email.fr",
                    "identifierType": 10
                },
                {
                    "activationDate": "2025-09-26 15:17:16.136",
                    "identifierValue": "9876543212345",
                    "identifierType": 30
                }
            ],
            "EntityResponse": {
                "entityIdentifier": "666666"
            },
            "SegmentationResponse": {
                "id": "4",
                "label": "4-Multi-secteurs occasionnels"
            },
            "SubscriptionResponse": [
                {
                    "id": "30",
                    "label": "WALLET",
                    "activate": true,
                    "updatedAt": null
                }
            ],
            "ContactsResponse": {
                "AddressResponse": {
                    "status": 1,
                    "country": "FRANCE",
                    "address3Num": "13",
                    "address3Name": "DE LA LIBERTE",
                    "address3Type": 5,
                    "city": "LILLE",
                    "zipCode": "59000",
                    "address1": "ETAGE 2",
                    "address2": "APPT 17",
                    "address4": "",
                    "allowCompanySolicitation": 1,
                    "allowTrustedSolicitation": 0
                },
                "EmailResponse": {
                    "status": 1,
                    "emailValue": "email-test@email.fr",
                    "allowCompanySolicitation": 1,
                    "allowTrustedSolicitation": 0
                },
                "CellPhoneResponse": {
                    "status": 1,
                    "model": "S24",
                    "brand": "SAMSUNG",
                    "number": "0612345678",
                    "dialingCode": "33",
                    "allowCompanySolicitation": 1,
                    "allowTrustedSolicitation": 0
                }
            },
            "InfoPersonResponse": []
        },
        {
            "PersonResponse": {
                "firstName": "JEAN",
                "lastName": "DUPOND",
                "birthDate": "01/01/2000",
                "title": 1,
                "personId": "A32",
                "groupeId": "49784"
            },
            "IdentifierResponse": [
                {
                    "activationDate": "2025-09-26 15:05:48.673",
                    "identifierValue": "9200008618899",
                    "identifierType": 1
                }
            ],
            "EntityResponse": {
                "entityIdentifier": "666666"
            },
            "SegmentationResponse": {
                "id": "4",
                "label": "4-Multi-secteurs occasionnels"
            },
            "SubscriptionResponse": [],
            "ContactsResponse": {
                "AddressResponse": {
                    "status": 1,
                    "country": "FRANCE",
                    "address3Num": "13",
                    "address3Name": "DE LA LIBERTE",
                    "address3Type": 5,
                    "city": "LILLE",
                    "zipCode": "59000",
                    "address1": "ETAGE 2",
                    "address2": "APPT 17",
                    "address4": "",
                    "allowCompanySolicitation": 1,
                    "allowTrustedSolicitation": 0
                },
                "EmailResponse": {
                    "status": 1,
                    "emailValue": "email-test@email.fr",
                    "allowCompanySolicitation": 1,
                    "allowTrustedSolicitation": 0
                },
                "CellPhoneResponse": {
                    "status": 1,
                    "model": "S24",
                    "brand": "SAMSUNG",
                    "number": "0612345678",
                    "dialingCode": "33",
                    "allowCompanySolicitation": 1,
                    "allowTrustedSolicitation": 0
                }
            },
            "InfoPersonResponse": []
        },
        {
            "PersonResponse": {
                "firstName": "JEAN",
                "lastName": "DUPOND",
                "birthDate": "01/01/2000",
                "title": 1,
                "personId": "A34",
                "groupeId": "49784"
            },
            "IdentifierResponse": [
                {
                    "activationDate": "2025-09-26 15:14:52.429",
                    "desactivationDate": "2025-09-26 15:21:29.146",
                    "identifierValue": "1110987654321",
                    "identifierType": 1
                },
                {
                    "activationDate": "2025-09-26 15:21:29.146",
                    "identifierValue": "1234567891011",
                    "identifierType": 1
                },
                {
                    "activationDate": "2025-09-26 15:19:14.038",
                    "identifierValue": "email-test2@email.fr",
                    "identifierType": 10
                }
            ],
            "EntityResponse": {
                "entityIdentifier": "666666"
            },
            "SegmentationResponse": {
                "id": "4",
                "label": "4-Multi-secteurs occasionnels"
            },
            "SubscriptionResponse": [],
            "ContactsResponse": {
                "AddressResponse": {
                    "status": 1,
                    "country": "FRANCE",
                    "address3Num": "13",
                    "address3Name": "DE LA LIBERTE",
                    "address3Type": 5,
                    "city": "LILLE",
                    "zipCode": "59000",
                    "address1": "ADDR 2",
                    "address2": "ADDR 3",
                    "address4": "ADDR 4",
                    "allowCompanySolicitation": 1,
                    "allowTrustedSolicitation": 0
                },
                "EmailResponse": {
                    "status": 1,
                    "emailValue": "email-test@email.fr",
                    "allowCompanySolicitation": 1,
                    "allowTrustedSolicitation": 0
                },
                "CellPhoneResponse": {
                    "status": 1,
                    "model": "S24",
                    "brand": "SAMSUNG",
                    "number": "0612345678",
                    "dialingCode": "33",
                    "allowCompanySolicitation": 1,
                    "allowTrustedSolicitation": 0
                }
            },
            "InfoPersonResponse": []
        }
    ]
}
Modified at 2026-10-21 08:17:52
Previous
getBadge
Next
getForm
Built with