{
"name": "Alle bei cobra",
"description": "List of everyone at cobra",
"filter": {
"groups": [
{
"conditions": [
{
"field": "company",
"operator": "eq",
"value": "cobra"
}
]
}
]
},
"filterGraphQL": "where: { lastname: { _nstartsWith: \\\"k\\\" } }"
}curl --location 'https://api.cobra.de/v1/crm/lists/people/filter-static' \
--header 'X-Integration-Name: API Documentation' \
--header 'X-Integration-Provider: cobra GmbH' \
--header 'X-Cobra-TenantId: 12e39e53-ece1-4d8d-8958-e782de1dbef0' \
--header 'X-Integration-Contact: info@cobra.de' \
--header 'Accept-Language: de-DE' \
--header 'Content-Type: application/json' \
--data '{
"name": "Alle bei cobra",
"description": "List of everyone at cobra",
"filter": {
"groups": [
{
"conditions": [
{
"field": "company",
"operator": "eq",
"value": "cobra"
}
]
}
]
},
"filterGraphQL": "where: { lastname: { _nstartsWith: \\\"k\\\" } }"
}'{
"data": {
"id": "e7b8f8c2-3d4b-4f8a-9c2b-8f8c2d4b4f8a",
"name": "VIPs",
"description": "Top customers",
"listType": "Manual",
"created": {
"userId": "e7b8f8c2-3d4b-4f8a-9c2b-8f8c2d4b4f8a",
"firstName": "John",
"lastName": "Doe",
"date": "2024-06-01T12:34:56Z"
},
"modified": {
"userId": "e7b8f8c2-3d4b-4f8a-9c2b-8f8c2d4b4f8a",
"firstName": "John",
"lastName": "Doe",
"date": "2024-06-01T12:34:56Z"
},
"latestUserInteraction": {
"userId": "e7b8f8c2-3d4b-4f8a-9c2b-8f8c2d4b4f8a",
"firstName": "John",
"lastName": "Doe",
"date": "2024-06-01T12:34:56Z"
},
"userInteractions": {
"e7b8f8c2-3d4b-4f8a-9c2b-8f8c2d4b4f8a": {
"UserId": "e7b8f8c2-3d4b-4f8a-9c2b-8f8c2d4b4f8a",
"FirstName": "John",
"LastName": "Doe",
"Date": "2024-06-01T12:34:56Z"
}
},
"versionId": "e7b8f8c2-3d4b-4f8a-9c2b-8f8c2d4b4f8a",
"isTenantPinned": true,
"isPinnedForCurrentUser": true,
"memberCount": 42,
"filter": null,
"filterGraphQL": "string",
"filterType": "Manual",
"activeVersion": 0,
"originListId": "98126793-8262-4d55-b298-5cdfc62aa764",
"originVersion": 0
},
"message": "string",
"metaData": {
"totalResults": 0,
"responseTimeStamp": "2019-08-24T14:15:22.123Z"
},
"statusCode": 0
}