PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node

Internal: Post Delete Data

post
Post Delete Data

https://papi.pepperi.com/v1.0/elasticsearch/delete/{type}
This endpoint allows you to get free cakes.
Request
Response
Request
Headers
Authentication
required
string
Authentication token to track down who is emptying our stocks.
Query Parameters
type
required
string
all_activities/transaction_lines/open_catalog
Response
200: OK
Data deleted successfully
{
"took" : 215,
"timed_out" : false,
"total" : 54,
"deleted" : 54,
"batches" : 1,
"version_conflicts" : 0,
"noops" : 0,
"retries" : {
"bulk" : 0,
"search" : 0
},
"throttled_millis" : 0,
"requests_per_second" : -1.0,
"throttled_until_millis" : 0,
"failures" : [ ]
}
400: Bad Request
{
"erroeMessage": "..."
}

JSON Body Example

{
"query": {
"bool": {
"must": {
"match" : {
"Version" : 12
}
}
}
}
}