Questions tagged [json-api-response-converter]

21 questions
2
votes
1 answer

How to dynamically pass the T.fromJson() to Flutter class with List of ?

I'm working on the ApiResponse class of my Flutter project and this class needs a T data attribut. I want to use JsonSerializable to generate the fromJson() method but this error appears when I tried to : ListResponse _$ListResponseFromJson
2
votes
1 answer

CMS Open Payments API Response "Access Denied" for General Payments 2020

CMS Open Payments API Response "Access Denied" for General Payments 2020 General Payment Data - 2020 The URL is: https://openpaymentsdata.cms.gov/dataset/txng-a8vj How can I filter rows using this API? I've tried but it seems to not filter any…
2
votes
1 answer

How to get specific values from api response to php variable?

I have used an api service from themoviedb.org, https://api.themoviedb.org/3/find/tt0986233?api_key=redacted&language=en-US&external_source=imdb_id This API is presenting the data in a JSON ARRAY format. like…
1
vote
1 answer

Need to format array response correctly to take as a input in ngxCsv() in angular

I am receiving response from API in below format. data = [ [ { ColA : "Val1", ColB : "Val2", ColC : "Val3", ColD : ("2019-08-19T06:38:28.990+0000"), } ], [ …
1
vote
1 answer

Need ideas how to parse the following JSON format

I have an API that returns JSON data in the following structure: { "85f78300-d993-4b7e-a8d0-8d39a4ba9d2a": {}, "4000fda7-18af-463f-b694-bbafe5d23a48": { ... } ... } It should represents a list of objects referenced by a GUID. Typically…
SaschaLeh
  • 198
  • 9
1
vote
1 answer

JSON deserialization error when try to reserialize restsharp response

I am executing get API and want to retrieve a specific value from the JSON response. I want to get Job: URL value into a variable, but getting following error saying cannot deserialize Json object. I am using following object model to map Json…
ChinS
  • 199
  • 2
  • 11
1
vote
1 answer

Compress the response of service stack

I tried to compress the response of service stack using global filters but it not work throws 500 err code. here are my code this.GlobalResponseFilters.Add((req, response, requestDto) => { …
0
votes
1 answer

how to handle a request that has an object class inside an object class in flutter

I'm trying to create an object class for the following api response.body [ { "medicationExt":null, "medicationSNOMED":{ "codigo_snomed":"879978003", "nombre":"METOPROLOL COMPRIMIDOS 25mg", …
Lemon
  • 1
  • 1
0
votes
1 answer

how to get data from nested json input from flutter?

Below is the response how to get this data in flutter.I wants to get image file path of all fields like aadhaar,pan card and business ownership proof. I needs to know how to get the response when it is structured like this? { "data": { "pan":…
0
votes
1 answer

How do I convert my response with byte characters to readable CSV - PYTHON

I am building an API to save CSVs from Sharepoint Rest API using python 3. I am using a public dataset as an example. The original csv has 3 columns Group,Team,FIFA Ranking with corresponding data in the rows.For reference. the original csv on…
0
votes
2 answers

Insert JSON data into SQL DB using Airflow/python

I extracted data from an API using Airflow. The data is extracted from the API and saved on cloud storage in JSON format. The next step is to insert the data into an SQL DB. I have a few questions: Should I do it on Airflow or using another ETL…
0
votes
0 answers

I wants to fetch DocId when the new document is created when we hit the API. Need help to know how to get response after API is called

Following is the code.On the OnPressed() method of it new document is getting created and its DocId is also getting created which gives following response: [{"docId":630,"tokenNo":26000111111111,"docTitle":"Samrudhhi…
0
votes
1 answer

How to fetch specific response from api response and use it with deep linking swift 5

I'm Receiving Response from api using post method like this 'Success{ shortlink = pAHJt7; status = 200; } ' I want to use only shortlink with my url to share using deep linking concept. Here is my code of post method in which I'm getting response…
0
votes
0 answers

API Request Returning an empty value — Swift

I've used the debugger in XCode and noticed that I'm not returning a value for the following. I've contained the error to this section of the code by debugging all other parts first. extension Article { static var previewData:…
0
votes
1 answer

Convert API Response in JSON format to c# and print values

I have an API response like below, { "Drivers.Pandemic.PeopleCount": { "Value": "94", "LastUpdatedTime": "2022-02-17T09:53:43.7418837+05:30", "Status": "OK", "HighLimit": 1000.0, "LowLimit": 0.0, "AlarmValue": null }, "Drivers.Hospitality.Bollards":…
JINS M.THOMAS
  • 121
  • 10
1
2