Life ConnectLife Connect
Table of contents
Architecture
Services
Swagger Docs
GitHub
Table of contents
Architecture
Services
Swagger Docs
GitHub

I can create and provision an organisation

As an admin representative of the root organisation, I can request a security token

As an admin representative of the root organisation, I can retrieve my user profile info

As an admin representative of the root organisation, I can create an organisation

sergey.talalaev@life-connect.fr: 667574ae15ff3fd2e52c172a nikita: 667573ca15ff3fd2e52c1729

curl -X POST https://marwan-singer.life-connect.fr/organizations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "organization-id: 5f7325ec5d7c2205ca4688df" \
-d '{
  "type": "Organization",
  "id": "667574ae15ff3fd2e52c172a",
  "alias": "Immo.Sergey.Talalaev",
  "agency": {
    "type": "PersonCompany",
    "id": "667574ae15ff3fd2e52c172a",
    "corporateName": "Immo - Sergey Talalaev",
    "name": "Immo - Sergey Talalaev"
  }
}'

As an admin representative of the root organisation, I can create a user

db.getCollection("persons").insertOne({
    "type": "PersonNatural",
    "organisationId": "5f7325ec5d7c2205ca4688df",
    "name": "Nikita Krivonosov",
    "firstName": "Nikita",
    "lastName": "Krivonosov",
    "civility": "NATURAL_PERSON_CIVILITY.SIR",
    "_class": "fr.lifeconnect.adb.person.model.entity.PersonEntity",
    "emailAddresses": [
        {
            "qualifier": "MAIL.AUTHORIZED",
            "email": "nikita.krivonosov@life-connect.fr",
            "status": "MAIL_STATUS.ACTIVE"
        }
    ],
    "contactCategories": ["CONTACT_CATEGORY.CONTACT"]
})
Edit this page
Last Updated:
Contributors: gregory