Person

Get All Persons

POST
/person/all
sort?unknown
pagination?unknown
searchQuery?string
filters?array<PersonFilterDto>

Response Body

curl -X POST "http://crm-apiprod.b2bleadsmarket.com/person/all" \  -H "Content-Type: application/json" \  -d '{}'
{
  "docs": [
    {
      "id": "string",
      "salutation": "Dr",
      "name": {
        "firstName": "string",
        "lastName": "string"
      },
      "gender": "string",
      "designation": "string",
      "emails": {
        "primaryEmail": "user@example.com",
        "additionalEmails": [
          {}
        ]
      },
      "linkedinLink": {
        "primaryLinkLabel": "string",
        "primaryLinkUrl": "string",
        "secondaryLinks": [
          {
            "label": "string",
            "url": "string"
          }
        ]
      },
      "xLink": {
        "primaryLinkLabel": "string",
        "primaryLinkUrl": "string",
        "secondaryLinks": [
          {
            "label": "string",
            "url": "string"
          }
        ]
      },
      "phones": {
        "primaryPhoneNumber": "string",
        "primaryPhoneCountryCode": "string",
        "primaryPhoneCallingCode": "string",
        "additionalPhones": [
          {}
        ]
      },
      "createdBy": {
        "source": "string",
        "workspaceMemberId": "19b2e9e0-2ca5-440b-89b8-7d3df62cd046",
        "name": "string"
      },
      "whatsapp": {
        "primaryPhoneNumber": "string",
        "primaryPhoneCountryCode": "string",
        "primaryPhoneCallingCode": "string",
        "additionalPhones": {}
      },
      "jobTitle": "string",
      "organization": "string",
      "city": "string",
      "state": "string",
      "country": "string",
      "avatarUrl": "string",
      "position": 0,
      "intro": "string",
      "workPreference": "ON_SITE",
      "performanceRating": "RATING_1",
      "companyId": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "deletedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "total": 0,
  "pagination": {}
}