From e9c77d75b593317266f360c93237eac6bd210ba7 Mon Sep 17 00:00:00 2001 From: Richard Date: Thu, 7 Nov 2024 09:09:37 -0800 Subject: [PATCH] added AFS to ProviderFiscalProfile endpoint --- .vs/CCOF/config/applicationhost.config | 2 +- .vs/CCOF/v17/.futdcache.v2 | Bin 345 -> 345 bytes .../ProviderFiscalProfileController.cs | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vs/CCOF/config/applicationhost.config b/.vs/CCOF/config/applicationhost.config index 8c348ff..a4989e5 100644 --- a/.vs/CCOF/config/applicationhost.config +++ b/.vs/CCOF/config/applicationhost.config @@ -155,7 +155,7 @@ - + diff --git a/.vs/CCOF/v17/.futdcache.v2 b/.vs/CCOF/v17/.futdcache.v2 index 0c8650bad89a051b0b9258f3f617ee977ec36909..6ece93e2972f784fc5b2efcb253be339d69d29dd 100644 GIT binary patch delta 38 wcmV+>0NMZ90@(tPnFmz%gRwLH+>xNA6u{8TYEI!F9}KhG2xHgB>S(yz2!gy69smFU delta 38 wcmV+>0NMZ90@(tPnFn9pgjVVG+mWE96zlwm)`FdQ>qcnY2xHgB>S(yz2%w-9=Kufz diff --git a/CCOF.Infrastructure.WebAPI/Controllers/ProviderFiscalProfileController.cs b/CCOF.Infrastructure.WebAPI/Controllers/ProviderFiscalProfileController.cs index e1b70af..dd75dd0 100644 --- a/CCOF.Infrastructure.WebAPI/Controllers/ProviderFiscalProfileController.cs +++ b/CCOF.Infrastructure.WebAPI/Controllers/ProviderFiscalProfileController.cs @@ -182,7 +182,7 @@ private dynamic AppendApplicationCCFRI(dynamic applicationJson, string applicati { if (applicationJson.ccof_applicationccfri_Application_ccof_ap.Count != 0) { - var getApplicationCCFRIStatement = @$"ccof_applicationccfris?$select=ccof_applicationccfriid,ccof_ccfrioptin,_ccof_facility_value,ccof_formcomplete,ccof_has_nmf,ccof_has_rfi,ccof_nmf_formcomplete,ccof_rfi_formcomplete,ccof_unlock_ccfri,ccof_unlock_nmf_rfi,ccof_unlock_rfi,statuscode&$expand=ccof_Facility($select=accountid),ccof_Application($select=ccof_applicationid)&$filter=(ccof_Facility/ccof_facilitystatus ne 100000010) and (ccof_Application/ccof_applicationid eq {applicationId})"; + var getApplicationCCFRIStatement = @$"ccof_applicationccfris?$select=ccof_applicationccfriid,ccof_ccfrioptin,_ccof_facility_value,ccof_formcomplete,ccof_has_nmf,ccof_has_rfi,ccof_nmf_formcomplete,ccof_rfi_formcomplete,ccof_unlock_ccfri,ccof_unlock_nmf_rfi,ccof_unlock_rfi,ccof_unlock_afsenable,ccof_unlock_afs,statuscode&$expand=ccof_Facility($select=accountid),ccof_Application($select=ccof_applicationid)&$filter=(ccof_Facility/ccof_facilitystatus ne 100000010) and (ccof_Application/ccof_applicationid eq {applicationId})"; var applicationCCFRIResponse = _d365webapiservice.SendRetrieveRequestAsync(getApplicationCCFRIStatement, true, 5000); if (applicationCCFRIResponse.IsSuccessStatusCode)