## Endpoint: `/api/customer-source/`
**Method**: GET
**Description**: Retrieve all implemented integrations per user.
### Parameters
| Parameter | Type | Required | Description | Example Value |
| --- | --- | --- | --- | --- |
| None | - | - | No parameters required | - |
### Headers
| Header | Type | Required | Description | Example Value |
| --- | --- | --- | --- | --- |
| Authorization | string | Yes | Bearer token for authentication | Bearer <token> |
### Example Response
{
"results": [
{
"id": <Integration_id>,
"name": "<Integration_name>",
"customer": <Customer_id>,
"customer_name": "<Customer_name>",
"source_data": {
"id": <Source_data_id>,
"name": "<Source_data_name>",
"params": {
"endpoint": "/api/pushes/?format=json",
"auth_key_title": "Username",
... INTEGRATION DETAILS ...
},
},
...More details about the integration...
}
],
"next_page": null
}
---
## Endpoint: `/api/customer-source/{id}/?format=json`
**Method**: DELETE
**Description**: Delete a customer source.
### Parameters
| Parameter | Type | Required | Description | Example Value |
| --------- | ---- | -------- | ---------------------- | ------------- |
| None | - | - | No parameters required | - |
### Headers
| Header | Type | Required | Description | Example Value |
| ------------- | ------ | -------- | ------------------------------- | -------------- |
| Authorization | string | Yes | Bearer token for authentication | Bearer <token> |
###### **IMPORTANT**:
In case code **"400 Bad Request"**, it's because when an integration is created a template is created with it. So the solution is to sent the next request in order to delete the template (the template can be found using the request:
`"GET /api/template/?format=json&customer={CUSTOMER_ID}"`
### Example Response
`204`
This response means that the request has succeeded
---
## Endpoint: `/api/template/{id}/?format=json`
**Method**: DELETE
**Description**: Delete a source's template
### Parameters
| Parameter | Type | Required | Description | Example Value |
| --------- | ---- | -------- | ---------------------- | ------------- |
| None | - | - | No parameters required | - |
### Headers
| Header | Type | Required | Description | Example Value |
| --- | --- | --- | --- | --- |
| Authorization | string | Yes | Bearer token for authentication | Bearer <token> |
### Example Response
`200`
This response means the request has succeeded
---
## Endpoint: `/api/alerts/xiteit_version/`
**Method**: GET
**Description**: Shows the current version of the MoovingON AI.
### Parameters
| Parameter | Type | Required | Description | Example Value |
| --- | --- | --- | --- | --- |
| None | - | - | No parameters required | - |
### Headers
| Header | Type | Required | Description | Example Value |
| --- | --- | --- | --- | --- |
| Authorization | string | Yes | Bearer token for authentication | Bearer <token> |
### Example Response
`The version of the platform`
---
## Endpoint: `/api/customers/{id}/get_regular_hours/`
**Method**: GET
**Description**: Shows working hours for a customer by ID.
### Parameters
| Parameter | Type | Required | Description | Example Value |
| --- | --- | --- | --- | --- |
| id | string | Yes | Unique identifier for the customer | 54 |
### Headers
| Header | Type | Required | Description | Example Value |
| --- | --- | --- | --- | --- |
| Authorization | string | Yes | Bearer token for authentication | Bearer <token> |
### Example Response
{
"0": -1,
"1": -1,
"2": -1,
"3": -1,
"4": -1,
"5": -1,
"6": -1
}
---
## Endpoint: `/api/customers/`
**Method**: GET
**Description**: Retrieve the list of all customers under the specific tenant.
### Parameters
| Parameter | Type | Required | Description | Example Value |
| --- | --- | --- | --- | --- |
| None | - | - | No parameters required | - |
### Headers
| Header | Type | Required | Description | Example Value |
| ------------- | ------ | -------- | ------------------------------- | -------------- |
| Authorization | string | Yes | Bearer token for authentication | Bearer <token> |
### Example Response
{
"id": <Customer_id>,
"name": "<Customer_id>",
"email": "<Customer_email>",
... CUSTOMER DETAILS ...
}
---