DSS Ingest
This API receives the Transaction Details JSON Request and passes it on to the Service Layer for further process of persisting into elastic search.
Body
dataContextstringOptional
context of the transactional data
dataContextVersionstringOptional
version of the context
dataObjectobjectOptional
this contains the transactional object
Responses
201
Response for Success State of the API
400
Invalid input.
post
POST /dashboard-ingest/ingest/[APIEndPoint]/save HTTP/1.1
Host: egov-micro-dev.egovernments.org
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"dataContext": "text",
"dataContextVersion": "text",
"dataObject": {}
}
No content
uploded file get parsed and stores target data to Elastic search.
Body
filestringRequired
Responses
201
Response for Success State of the API
400
Invalid input.
post
POST /dashboard-ingest/ingest/[APIEndPoint]/upload HTTP/1.1
Host: egov-micro-dev.egovernments.org
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 15
"file='text'"
No content
Response for Success State of the API
Path parameters
indexNamestringRequired
versionstringRequired
Responses
201
create
post
POST /dashboard-ingest/ingest/[APIEndPoint]/migrate/{indexName}/{version} HTTP/1.1
Host: egov-micro-dev.egovernments.org
Accept: */*
201
create
No content
Path parameters
consumerIdstringRequired
Responses
200
Response for Success State of the API
application/json
Responseboolean
400
Invalid input.
get
GET /dashboard-ingest/ingest/[APIEndPoint]/pause/{consumerId} HTTP/1.1
Host: egov-micro-dev.egovernments.org
Accept: */*
true
Path parameters
consumerIdstringRequired
Responses
200
Response for Success State of the API
application/json
Responseboolean
400
Invalid input.
get
GET /dashboard-ingest/ingest/[APIEndPoint]/resume/{consumerId} HTTP/1.1
Host: egov-micro-dev.egovernments.org
Accept: */*
true
Last updated
Was this helpful?