Standard Segment Builders
Operations related to Standard Segment Builders, the Datamart-linked resources that provide the fastest and easiest way to create segments without requiring OTQL expertise. They leverage Audience Features to enable business users to build complex segments with live insights and dynamic dashboards, using intuitive selectors instead of query syntax.
Relevant documentation:
The name of the standard segment builder
The id of the standard segment builder
The AudienceFeatures that are by default in the standard segment builder
Offset from which the search must be performed
Number of maximum items that may be returned by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/standard_segment_builders HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"count": 1,
"status": "ok",
"max_results": 1,
"first_result": 1,
"data": [
{
"initial_audience_feature_ids": [
"text"
],
"id": "text",
"datamart_id": "text",
"name": "text",
"creation_date": 0
}
]
}0Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/datamarts/{datamart_id}/standard_segment_builders HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"initial_audience_feature_ids": [
"text"
],
"datamart_id": "text",
"name": "text"
}{
"status": "ok",
"data": {
"initial_audience_feature_ids": [
"text"
],
"id": "text",
"datamart_id": "text",
"name": "text",
"creation_date": 0
}
}Get standard segment builder by id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/standard_segment_builders/{standard_segment_builder_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"initial_audience_feature_ids": [
"text"
],
"id": "text",
"datamart_id": "text",
"name": "text",
"creation_date": 0
}
}Update standard segment builder
0Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/datamarts/{datamart_id}/standard_segment_builders/{standard_segment_builder_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"initial_audience_feature_ids": [
"text"
],
"datamart_id": "text",
"name": "text"
}{
"status": "ok",
"data": {
"initial_audience_feature_ids": [
"text"
],
"id": "text",
"datamart_id": "text",
"name": "text",
"creation_date": 0
}
}Delete standard segment builder
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/datamarts/{datamart_id}/standard_segment_builders/{standard_segment_builder_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Last updated
Was this helpful?