This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare @url nvarchar(4000) = N'https://genesys-noralogix.azurewebsites.net/api/v2/routing/queues'; | |
- declare @headers nvarchar(4000) = N'{"header1":"value_a", "header2":"value2", "header1":"value_b"}' | |
- declare @payload nvarchar(max) = N'{"some":{"data":"here"}}' | |
declare @ret int, @response nvarchar(max); | |
exec @ret = sp_invoke_external_rest_endpoint | |
@url = @url, | |
@method = 'GET', | |
- @headers = @headers, | |
- @payload = @payload, | |
@credential = [https://genesys-noralogix.azurewebsites.net/api/v2/routing/queues], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Net.Http; | |
using System.Text.Json; | |
using System.Threading.Tasks; | |
namespace PCUploadContactList | |
{ | |
public class ContactListService | |
{ |