docs
0
# API Integration
1
2
REST endpoints, AJAX interfaces, and integration patterns for connecting external systems.
3
4
## Capabilities
5
6
### REST API Endpoints
7
8
```python { .api }
9
# Entity CRUD operations via HTTP
10
GET /creme_core/entity/ # List entities
11
POST /creme_core/entity/ # Create entity
12
GET /creme_core/entity/{id}/ # Get entity details
13
PUT /creme_core/entity/{id}/ # Update entity
14
DELETE /creme_core/entity/{id}/ # Delete entity
15
```
16
17
### AJAX Views
18
19
```python { .api }
20
# AJAX endpoints for dynamic UI updates
21
/creme_core/ajax/entity/search/ # Entity search
22
/creme_core/ajax/relation/create/ # Create relationships
23
/creme_core/ajax/brick/reload/ # Reload dashboard bricks
24
```
25
26
### External Integration
27
28
```python { .api }
29
# Integration with external systems
30
def sync_external_contacts(api_client):
31
"""
32
Synchronize contacts with external CRM system.
33
34
Parameters:
35
- api_client: External API client instance
36
"""
37
```