avniproject / Goonj

0 stars 0 forks source link

Expose API to invoke Goonj Adhoc task with following input: Frequency, TaskType, TaskFilterConfig #122

Open himeshr opened 6 days ago

himeshr commented 6 days ago

AC

Expose new Integration API to allow invocation of Goonj Adhoc tasks with following input:

vedfordev commented 4 days ago

Path :

/goonj/task

Method :

POST

Request :

{
    "task" : "None",
    "taskConfig" : {"Account Name":"Goonj Kerala"},
    "frequency" : 1,
    "cutoffdatetime" : "2024:10:16 10:10:10"
}

Response :

{
    "task": "None",
    "taskConfig": {
        "Account Name": "Goonj Kerala"
    },
    "frequency": 1,
    "cutoffdatetime": "2024:10:16 10:10:10",
    "isSuccessFull": true
}