What are the best ways to create a Listener in ASP .NET?
I have Data coming from API (Sending GPS data - post method).Data is in
JSON format.
Now i want to take the data and save it in my Database by writting any service / listener / or any other method so that i can keep listen every 2 to 3 minitus and save the data autometically.
The Response Body is:
{
"unitCodes": [
19224,
19245,
19219,
19240
],
"start":"2018-03-02T00:59:00.000Z",
"end":"2018-03-02T01:00:00.000Z",
"fields": [
"unitCode",
"timedate",
"latitude",
"longitude",
"ignition",
"velocity",
"positionerror",
"digitherm5"
]
}
Is there any way to achieve this??? Please some one help me out on this.
What I have tried:
I have tried with writing a console application and im not getting response back and not sure how to catch up the data.