This commit is contained in:
parent
777f4d0930
commit
373e2a06d8
2 changed files with 2 additions and 2 deletions
|
|
@ -3085,7 +3085,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
client.DefaultRequestHeaders.Add("api_key", _configuration["API_KEY"]);
|
client.DefaultRequestHeaders.Add("api_key", _configuration["API_KEY"]);
|
||||||
var _res = await client.PostAsJsonAsync(apiUrlOrg, new
|
var _res = await client.PostAsJsonAsync(apiUrlOrg, new
|
||||||
{
|
{
|
||||||
commandId = resultData.Select(x => x.commandId).ToList(),
|
resignId = resultData.Select(x => x.resignId).ToList(),
|
||||||
});
|
});
|
||||||
var _result = await _res.Content.ReadAsStringAsync();
|
var _result = await _res.Content.ReadAsStringAsync();
|
||||||
if (_res.IsSuccessStatusCode)
|
if (_res.IsSuccessStatusCode)
|
||||||
|
|
|
||||||
|
|
@ -2581,7 +2581,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
client.DefaultRequestHeaders.Add("api_key", _configuration["API_KEY"]);
|
client.DefaultRequestHeaders.Add("api_key", _configuration["API_KEY"]);
|
||||||
var _res = await client.PostAsJsonAsync(apiUrlOrg, new
|
var _res = await client.PostAsJsonAsync(apiUrlOrg, new
|
||||||
{
|
{
|
||||||
commandId = resultData.Select(x => x.commandId).ToList(),
|
resignId = resultData.Select(x => x.resignId).ToList(),
|
||||||
});
|
});
|
||||||
var _result = await _res.Content.ReadAsStringAsync();
|
var _result = await _res.Content.ReadAsStringAsync();
|
||||||
if (_res.IsSuccessStatusCode)
|
if (_res.IsSuccessStatusCode)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue