Managing Services
Operations related to Services, the resources that can be exchanged in the marketplace such as segments and data products.
locale
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/subscribed_services/{customer_org_id}/category_trees HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"max_results": 1,
"first_result": 1,
"status": "ok",
"count": 1,
"data": [
{
"node": {
"description": "text",
"id": "text",
"provider_id": "text",
"locale": "fr-FR",
"list_weight": 0,
"parent_category_id": "text",
"name": "text",
"category_subtype": {}
},
"children": [
{
"node": {
"description": "text",
"id": "text",
"provider_id": "text",
"locale": "fr-FR",
"list_weight": 0,
"parent_category_id": "text",
"name": "text",
"category_subtype": {}
},
"children": [
"[Circular Reference]"
]
}
]
}
],
"total": 1
}locale
The keywords to match with organisations locale names
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/subscribed_services/{customer_org_id}/services HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"name": "text",
"provider_id": "text",
"datamart_id": "text",
"locale": "fr-FR",
"description": "text",
"user_identifier_filters": [
{
"compartment_id": "text"
}
],
"list_weight": 0,
"id": "text",
"local_cache_mode": "OBJECT_TREE_INDEX_CACHE",
"user_content_filters": [
{
"channel_id": "text"
}
],
"reseller_agreement_id": "text",
"extension_operator": "UNION",
"category_id": "text"
}
],
"max_results": 1,
"first_result": 1,
"status": "ok",
"total": 1,
"count": 1
}Provider id
Service item families
Service item types
First result
Max results
locale
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/available_service_items HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"name": "text",
"provider_id": "text",
"datamart_id": "text",
"locale": "fr-FR",
"description": "text",
"user_identifier_filters": [
{
"compartment_id": "text"
}
],
"list_weight": 0,
"id": "text",
"local_cache_mode": "OBJECT_TREE_INDEX_CACHE",
"user_content_filters": [
{
"channel_id": "text"
}
],
"reseller_agreement_id": "text",
"extension_operator": "UNION",
"category_id": "text"
}
],
"total": 1,
"first_result": 1,
"max_results": 1,
"count": 1,
"status": "ok"
}Search service items for service item in offer
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/subscribed_services/{customer_org_id}/offers/{offer_id}/service_items/{service_id}/service_item_conditions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"total": 1,
"status": "ok",
"data": [
{
"fixed_value": 0,
"min_value": 0,
"percent_value": 0,
"currency": "EUR",
"id": "text",
"service_item_id": "text"
}
],
"max_results": 1,
"first_result": 1
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/service_items/{service_item_id}/locales/{locale_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"locale": "fr-FR",
"description": "text",
"service_item_id": "text",
"name": "text"
}{
"status": "ok",
"data": {
"locale": "fr-FR",
"description": "text",
"service_item_id": "text",
"name": "text",
"id": "text"
}
}Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/service_items/{service_item_id}/locales/{locale_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Search service items for offer
locale
The keywords to match with organisations locale names
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/subscribed_services/{customer_org_id}/offers/{offer_id}/service_items HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"first_result": 1,
"count": 1,
"max_results": 1,
"status": "ok",
"total": 1,
"data": [
{
"name": "text",
"provider_id": "text",
"datamart_id": "text",
"locale": "fr-FR",
"description": "text",
"user_identifier_filters": [
{
"compartment_id": "text"
}
],
"list_weight": 0,
"id": "text",
"local_cache_mode": "OBJECT_TREE_INDEX_CACHE",
"user_content_filters": [
{
"channel_id": "text"
}
],
"reseller_agreement_id": "text",
"extension_operator": "UNION",
"category_id": "text"
}
]
}Organisation ID
locale
Parent category id
Label id
Audience segment id
Offer id
Keywords
Order by
First result
Max results
Service item type
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/service_items?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"name": "text",
"provider_id": "text",
"datamart_id": "text",
"locale": "fr-FR",
"description": "text",
"user_identifier_filters": [
{
"compartment_id": "text"
}
],
"list_weight": 0,
"id": "text",
"local_cache_mode": "OBJECT_TREE_INDEX_CACHE",
"user_content_filters": [
{
"channel_id": "text"
}
],
"reseller_agreement_id": "text",
"extension_operator": "UNION",
"category_id": "text"
}
],
"max_results": 1,
"count": 1,
"total": 1,
"first_result": 1,
"status": "ok"
}Organisation ID
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/service_items?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 343
{
"type": "user_data_stream",
"name": "text",
"datamart_id": "text",
"locale": "fr-FR",
"description": "text",
"user_identifier_filters": [
{
"compartment_id": "text"
}
],
"list_weight": 0,
"local_cache_mode": "OBJECT_TREE_INDEX_CACHE",
"user_content_filters": [
{
"channel_id": "text"
}
],
"reseller_agreement_id": "text",
"extension_operator": "UNION",
"category_id": "text"
}{
"status": "ok",
"data": {
"type": "user_data_stream",
"name": "text",
"provider_id": "text",
"datamart_id": "text",
"locale": "fr-FR",
"description": "text",
"user_identifier_filters": [
{
"compartment_id": "text"
}
],
"list_weight": 0,
"id": "text",
"local_cache_mode": "OBJECT_TREE_INDEX_CACHE",
"user_content_filters": [
{
"channel_id": "text"
}
],
"reseller_agreement_id": "text",
"extension_operator": "UNION",
"category_id": "text"
}
}Search service item for offer
locale
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/subscribed_services/{customer_org_id}/offers/{offer_id}/service_items/{service_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"name": "text",
"provider_id": "text",
"datamart_id": "text",
"locale": "fr-FR",
"description": "text",
"user_identifier_filters": [
{
"compartment_id": "text"
}
],
"list_weight": 0,
"id": "text",
"local_cache_mode": "OBJECT_TREE_INDEX_CACHE",
"user_content_filters": [
{
"channel_id": "text"
}
],
"reseller_agreement_id": "text",
"extension_operator": "UNION",
"category_id": "text"
}
],
"status": "ok",
"total": 1,
"first_result": 1,
"max_results": 1,
"count": 1
}locale
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/subscribed_services/{customer_org_id}/categories HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"total": 1,
"first_result": 1,
"max_results": 1,
"count": 1,
"data": [
{
"description": "text",
"id": "text",
"provider_id": "text",
"locale": "fr-FR",
"list_weight": 0,
"parent_category_id": "text",
"name": "text",
"category_subtype": {}
}
]
}Search a Service Item locale given its ID
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/service_items/{service_item_id}/service_item_conditions/{conditions_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"type": "linear_service_item_conditions",
"fixed_value": 0,
"min_value": 0,
"percent_value": 0,
"currency": "EUR",
"id": "text",
"service_item_id": "text"
}
}Delete a Service Item condition given its ID
Success !
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/service_items/{service_item_id}/service_item_conditions/{conditions_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"type": "linear_service_item_conditions",
"fixed_value": 0,
"min_value": 0,
"percent_value": 0,
"currency": "EUR",
"id": "text",
"service_item_id": "text"
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/service_items/{service_item_id}/locales HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"data": [
{
"locale": "fr-FR",
"description": "text",
"service_item_id": "text",
"name": "text",
"id": "text"
}
],
"count": 1,
"first_result": 1,
"status": "ok",
"max_results": 1
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/service_items/{service_item_id}/locales HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"locale": "fr-FR",
"description": "text",
"service_item_id": "text",
"name": "text"
}{
"status": "ok",
"data": {
"locale": "fr-FR",
"description": "text",
"service_item_id": "text",
"name": "text",
"id": "text"
}
}locale
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/service_items/{service_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"type": "user_data_stream",
"name": "text",
"provider_id": "text",
"datamart_id": "text",
"locale": "fr-FR",
"description": "text",
"user_identifier_filters": [
{
"compartment_id": "text"
}
],
"list_weight": 0,
"id": "text",
"local_cache_mode": "OBJECT_TREE_INDEX_CACHE",
"user_content_filters": [
{
"channel_id": "text"
}
],
"reseller_agreement_id": "text",
"extension_operator": "UNION",
"category_id": "text"
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/service_items/{service_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 343
{
"type": "user_data_stream",
"name": "text",
"datamart_id": "text",
"locale": "fr-FR",
"description": "text",
"user_identifier_filters": [
{
"compartment_id": "text"
}
],
"list_weight": 0,
"local_cache_mode": "OBJECT_TREE_INDEX_CACHE",
"user_content_filters": [
{
"channel_id": "text"
}
],
"reseller_agreement_id": "text",
"extension_operator": "UNION",
"category_id": "text"
}{
"status": "ok",
"data": {
"type": "user_data_stream",
"name": "text",
"provider_id": "text",
"datamart_id": "text",
"locale": "fr-FR",
"description": "text",
"user_identifier_filters": [
{
"compartment_id": "text"
}
],
"list_weight": 0,
"id": "text",
"local_cache_mode": "OBJECT_TREE_INDEX_CACHE",
"user_content_filters": [
{
"channel_id": "text"
}
],
"reseller_agreement_id": "text",
"extension_operator": "UNION",
"category_id": "text"
}
}The keywords to match with organisations locale names
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/subscribed_services/{customer_org_id}/offers HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"first_result": 1,
"count": 1,
"total": 1,
"status": "ok",
"max_results": 1,
"data": [
{
"provider_id": "text",
"custom": false,
"name": "text",
"id": "text",
"automatic_on": "AUDIENCE_SEGMENT",
"credited_account_name": "text",
"credited_account_id": "text",
"provider_name": "text"
}
]
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/subscribed_services/{customer_org_id}/offers/{offer_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"provider_id": "text",
"custom": false,
"name": "text",
"id": "text",
"automatic_on": "AUDIENCE_SEGMENT",
"credited_account_name": "text",
"credited_account_id": "text",
"provider_name": "text"
}
}locale
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/subscribed_services/{customer_org_id}/categories/{category_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"description": "text",
"id": "text",
"provider_id": "text",
"locale": "fr-FR",
"list_weight": 0,
"parent_category_id": "text",
"name": "text",
"category_subtype": {}
}
}Find service item conditions for a given the service item
First result
Max results
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/service_items/{service_item_id}/service_item_conditions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"total": 1,
"data": [
{
"fixed_value": 0,
"min_value": 0,
"percent_value": 0,
"currency": "EUR",
"id": "text",
"service_item_id": "text"
}
],
"count": 1,
"first_result": 1,
"max_results": 1
}Create a Service Item condition for a given the service item
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/service_items/{service_item_id}/service_item_conditions HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"type": "linear_service_item_conditions",
"fixed_value": 0,
"min_value": 0,
"percent_value": 0,
"currency": "EUR"
}{
"status": "ok",
"data": {
"type": "linear_service_item_conditions",
"fixed_value": 0,
"min_value": 0,
"percent_value": 0,
"currency": "EUR",
"id": "text",
"service_item_id": "text"
}
}Last updated
Was this helpful?