🕵️♂️ Creating an investigation
Code samples
PUT /api/investigations
Body parameter
target: 1
currency: USDT
🛠️ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| body | body | object | false | none |
| » target | body | string | false | Либо id адреса, либо хеш транзакции |
| » currency | body | string | false | Валюта |
Example responses
200 Response
{
"id": 0,
"user_id": 0,
"crypto_address_id": 0,
"status": 0,
"report": [
null
],
"created_at": "string",
"updated_at": "string"
}
🔁 Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful operation | Inline |
📋 Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| » id | integer | false | none | none |
| » user_id | integer | false | none | none |
| » crypto_address_id | integer | false | none | none |
| » status | integer | false | none | Статус расследования: 0 - новое, 1 - в процессе, 2 - завершено, 3 - глубокое исследование |
| » report | [any] | false | none | none |
| » created_at | string | false | none | none |
| » updated_at | string | false | none | none |
Enumerated Values
| Property | Value |
|---|---|
| status | 0 |
| status | 1 |
| status | 2 |
| status | 3 |