/api/post-v1-messages-segments-84a71a3cd2
Войти
Все методы SegmentSegmentController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/messages/segmentsAuthenticated

POST segments

Маршрут POST /v1/messages/segments из SegmentController. Детализация собрана из API manifest gateway.

Operation ID
SegmentController.create.POST.v1_messages_segments
Handler
cdp.gateway.cdp_gateway.company.features.segment.controller.SegmentController#create
Consumes
Producesapplication/json
Параметры0
Request bodySegmentCreateGatewayRequestDTO
Response bodyResponseWrapper<Object>
Request map

Маршрут и контракт запроса

POST/v1/messages/segments
Path segments
v1messagessegments
Security
isAuthenticated()
Parameters

Параметры

У метода нет параметров.
Request / Response

Тела запроса и ответа

Request bodySegmentCreateGatewayRequestDTO
Nullable: Нет
SegmentCreateGatewayRequestDTO
object • SegmentCreateGatewayRequestDTO
companyUuid
String
required • not-null
projectUuid
String
optional • nullable
name
String
required • not-null
description
String
optional • nullable
kind
SegmentKindDTO
required • not-null • schema=SegmentKindDTO
SegmentKindDTO
enum • SegmentKindDTO
STATICRULE_BASED
Поля не описаны в manifest.
definitionJson
String
required • not-null
Response bodyResponseWrapper<Object>
Nullable: Нет
ResponseWrapper<Object>
object • ResponseWrapper<Object>
success
boolean
required • not-null
data
T
optional • nullable
error
CdpErrorResponse
optional • nullable • schema=CdpErrorResponse
CdpErrorResponse
object • CdpErrorResponse
errorId
String
required • not-null
code
String
required • not-null
message
String
required • not-null
details
Map<String, Object>
optional • not-null
fieldErrors
List<CdpFieldError>
optional • not-null
timestamp
long
optional • not-null
meta
Map<String, Object>
optional • not-null