api

  1. M

    Question Call API every x minutes

    I'm trying to figure out the best option to handle this type of scenario. I have a C# web application that inserts data into a SQL table. Once a new record has been added to the SQL table, a unique id is assigned, and the record is assigned a status value of "Available". I will need to...
  2. SiamIT

    Call Delphi Dll From C#

    Greetings, I am trying to using a Delphi dll in c# program.. here is the Delphi library code: library UnicodeToBijoy; uses System.SysUtils, System.Classes, BanglaChars in 'BanglaChars.pas', clsUnicodeToBijoy2000 in 'clsUnicodeToBijoy2000.pas'; {$R *.res} var baseClass ...
  3. A

    Question Cannot deserialize the current because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly

    Hello, I am using the following test API - https://97mm2.sse.codesandbox.io/teachers/200 { "message":"Required Teacher", "data":{ "id":200, "firstName":"Jerold", "lastName":"Britto", "age":28, "email":"britto@xyz.com", "class":10, "students":[...
  4. B

    Resolved SSIS Send JSON Data HTTPClient

    Good morning, I have a folder full of json format files which need to be sent via C# inside a script task inside SSIS to an API. The SSIS will loop through (foreach it setup) and send each file. Below is the format of all the files(all same format but different values etc)...
  5. B

    Resolved SSIS POST JSON to API

    Good morning, I have some JSON format files and have a requirement to POST these to an API using C# inside SSIS, payloads are sent via HTTPS. The payloads are to be sent with the Content-Type header of "application/json" and the UserAPI-Key header. Successful requests can return 200 and 201...
  6. j3k01

    FormData in post to API

    Hi, I'm struggling with post to api on endpoint that requires formdata content-type. I dont have idea why json in postman works, but in my code not. I'll be glad for any type of help :) using System; using System.Net.Http; using System.Net.Http.Headers; using Newtonsoft.Json.Linq; using...
  7. J

    Question Excel C API GET.CELL

    Stupid, newbie question...I'm messing around with ExcelDNA and found an old thread that states, "The GET.CELL function with...option 53 allows you to get the string as displayed in the cell." So something like this works for what I want, right now: string text =...
  8. stereochoc

    Resolved API call from c# deserialize problem

    Hello, i just try to get data from an api with a list of country and would like to fill a DropDownList with the data. I have create a class class CountryList { public string id { get; set; } public string text { get; set; } public string textEN { get; set; } }...
  9. KasunLee

    Google API Customsearch. I'm Getting the Error [400]: "Request contains an invalid argument." (C#)

    Hi! I'm trying to make an app to download images from Google search queries. And I get the Error [400]: "Request contains an invalid argument." at listRequest.Execute().Items. Current code: using Google.Apis.Customsearch.v1.Data; using Google.Apis.Customsearch.v1; using...
  10. SiamIT

    Question Best Approach/Guide For Whatsapp Business API

    Greetings Everyone, We have developed retail software for our local market. A) My Business B) My customer/user who is using our software C) My Customer's clients/customer Who Getting the service of our software from our users. Currently my software allows to send order/service update from our...
  11. clz_199993

    Hiring C# Developer for integration with Bilibili.com

    As title says, I am seeking to hire a C# Developer for integration with Bilibili.com, or a developer that can assist me with the information / endpoints I need. -I need help creating an API Client with their website. -I need access to reading a channel's chat messages and also writing to a...
  12. A

    How to hide or mask paths from "Microsoft.Hosting.Lifetime" traces using serilog in the appsetting for an API project.

    How to hide or mask paths from "Microsoft.Hosting.Lifetime" traces using serilog in the appsetting for an API project. Having this configuration: "Serilog": { "MinimumLevel": { "Default": "Information", "Override": { "Microsoft.Hosting.Lifetime": "Information" }...
  13. SiamIT

    Adding Preview Support In File Open Dialogue

    Greetings.. after some search on google, i found that i can use Microsoft.WindowsAPICodePack.Shell to add custom controls on file open/save dialogue box as needed. so, i tried some, but i can't make it work to solve my purpose. I have added a button to preview music. But it throws a...
  14. mavbeez

    Pulling a view to compare against post data and add to db POST in Web API

    Hi, This is a quick question about Core 5 web api with entity framework. The API is attached to a SQL db that needs to do CRUD operations on it dependent on a Angular 11 client app. In addition to the CRUD operations, which are all working provisionaly, I also have a view present on the same DB...
  15. A

    Resolved Foreach in not iterating through values

    I am developing an application where I have to perform some update operation on each machine in the database. Every machine has a unique Id. Then there is also an area code under which several machines come. Area codes are also unique. I am reading these ids from the database and storing them in...
  16. V

    Question Report generation for an api

    Hello Community, I want to get some details from an api. I have called the api and received the response in json format. However, all details are not shown correctly. I need help around this. The result generates values in duplicate and also all results are not getting. All I am doing this for...
  17. J

    dll that grabs a window handle and then stops the window from redrawing?

    I have a remote desktop application in which I want to make one of the windows to stop redrawing while it's loading and then to restart the drawing. I was thinking a C# dll project would work but I'm having trouble finding a C# example of this API call. class DrawingControl {...
  18. M

    Resolved SqlException: Cannot insert explicit value for identity column

    How do you populate a database with multiple records from a REST API call? I'm trying to populate information from a REST API into my MS SQL database. I'm actually rebuilding on .NET Core from an original Framework project. Using the National Park Service REST endpoint. public async Task...
  19. G

    FYI New C# wrapper for our APIs: we need your feedback!

    Hey C# lovers! For those who don't know Mailjet yet, we're an Email Service Provider that is closely working with Microsoft for their Azure platform. As requested by our developer community, we've coded and just released an open-source C# wrapper for our APIs. Targeting .NET Standard 1.1...
  20. E

    API for calculation of volume inside an stl - freeform - model

    Hey guys, I am new to C# and am actually writing my bachelor-thesis. Therefore I need to implement a module that is able to calculate volumes inside a STL - 3D - model. I already got a mathematical essay that describes how to calculate the volume and could implement on my own. However I need to...
Back
Top Bottom