Compartment X Processing
Operations related to Compartment Processings that link legal processing basis to specific Compartments.
Find processing selections for compartment
get/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections
Path parameters
datamart_idinteger · int64Required
compartment_selection_idinteger · int64Required
Responses
200
Success !
application/json
totalintegerRequired
statusstring · enumRequiredPossible values:
first_resultintegerRequired
max_resultsintegerRequired
countintegerRequired
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
get/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections
GET /v1/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"status": "ok",
"first_result": 1,
"max_results": 1,
"data": [
{
"id": "text",
"processing_id": "text",
"processing_name": "text"
}
],
"count": 1
}Create processing selection for compartment
post/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections
Path parameters
datamart_idinteger · int64Required
compartment_selection_idinteger · int64Required
Body
idstringRequired
processing_idstringRequired
processing_namestringRead-onlyRequired
Responses
200
Success !
application/json
statusstring · enumRequiredPossible values:
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
post/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections
POST /v1/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"id": "text",
"processing_id": "text"
}{
"status": "ok",
"data": {
"id": "text",
"processing_id": "text",
"processing_name": "text"
}
}Get processing selection by compartment and processing selection id
get/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections/{id}
Path parameters
datamart_idinteger · int64Required
compartment_selection_idinteger · int64Required
idinteger · int64Required
Responses
200
Success !
application/json
statusstring · enumRequiredPossible values:
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
get/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections/{id}
GET /v1/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"id": "text",
"processing_id": "text",
"processing_name": "text"
}
}Delete processing selection by compartment and processing selection id
delete/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections/{id}
Path parameters
datamart_idinteger · int64Required
compartment_selection_idinteger · int64Required
idinteger · int64Required
Responses
200
Success response
application/json
statusstring · enumRequiredPossible values:
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
delete/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections/{id}
DELETE /v1/datamarts/{datamart_id}/compartments/{compartment_selection_id}/processing_selections/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Last updated
Was this helpful?