13 hours ago
Check whether my entity got published or not.
The following details can be extracted:
Use the following query to get external events:
Payload:
{
"params": {
"query": {
"filters": {
"typesCriterion": [
"externalevent"
],
"attributesCriterion": [
{
"exportEntityList": {
"contains": "ersZFa7roX2YMFx*"
}
},
{
"eventSubType": {
"exact": "REPORTING"
}
}
]
}
},
"fields": {
"attributes": [
"taskId",
"parentTaskId"
]
}
}
}
URL: /api/eventservice/get
By adding properties criterion with date, the above query can be restricted for a specific date as the following sample query:
Payload:
{
"params": {
"query": {
"filters": {
"typesCriterion": [
"externalevent"
],
"attributesCriterion": [
{
"exportEntityList": {
"contains": "ersZFa7roX2YMFx*"
}
},
{
"eventSubType": {
"exact": "REPORTING"
}
}
],
"propertiesCriterion": [
{
"modifiedDate": {
"gte": "2023-11-14T04:01:11.248-0600",
"type": "_DATETIME"
}
}
]
}
},
"fields": {
"attributes": [
"taskId",
"parentTaskId"
]
}
}
}
Please note that we have used entity id under exportEntityList which has included wildcard character “*” .
Below is the sample response:
Once you have the task ID you can use this ID and search on UI or perform the below API to get the actual task by matching the profile name as you may find multiple task IDs.
With Below API you can get a summary of the task object including profile and file name.
Payload:
{
"params": {
"query": {
"id": "5ad50ec8-97ec-4685-8051-a4f41d33fc79",
"filters": {
"typesCriterion": [
"tasksummaryobject"
]
}
},
"fields": {
"attributes": [
"_ALL"
],
"relationships": [
"_ALL"
]
},
"options": {
"maxRecords": 1
}
}
}
URL: api/requesttrackingservice/get
Sample response: