creditsafe
This commit is contained in:
@@ -487,7 +487,7 @@ Public Class cCreditSafeAPI
|
|||||||
|
|
||||||
Dim failureDesc As String
|
Dim failureDesc As String
|
||||||
Dim myUrl As String = API_STRING & "/v1/monitoring/companies/" & company.creditSafeId & "/events" & IIf(checklastChecked, "?startDate=" & checkDate, "")
|
Dim myUrl As String = API_STRING & "/v1/monitoring/companies/" & company.creditSafeId & "/events" & IIf(checklastChecked, "?startDate=" & checkDate, "")
|
||||||
Dim jsonRespString = SendGetRequestWithAuthHeader(myUrl, company, "application/json", "GET", token, failureDesc)
|
Dim jsonRespString = SendGetRequestWithAuthHeader(myUrl, company, "application/json", "GET", token, failureDesc, True)
|
||||||
|
|
||||||
If failureDesc <> "" Then
|
If failureDesc <> "" Then
|
||||||
If showError Then MsgBox(failureDesc)
|
If showError Then MsgBox(failureDesc)
|
||||||
@@ -679,7 +679,7 @@ Public Class cCreditSafeAPI
|
|||||||
|
|
||||||
Dim myUrl As String = API_STRING & "/v1/monitoring/portfolios/1662419/notificationEvents"
|
Dim myUrl As String = API_STRING & "/v1/monitoring/portfolios/1662419/notificationEvents"
|
||||||
|
|
||||||
Dim jsonRespString = SendGetRequestWithAuthHeader(myUrl, company, "application/json", "GET", token, failureDesc, Not companyDetailEvents,,, Not companyDetailEvents, page)
|
Dim jsonRespString = SendGetRequestWithAuthHeader(myUrl, company, "application/json", "GET", token, failureDesc, True,,, True, page)
|
||||||
|
|
||||||
If failureDesc <> "" Then
|
If failureDesc <> "" Then
|
||||||
If showError Then MsgBox(failureDesc)
|
If showError Then MsgBox(failureDesc)
|
||||||
|
|||||||
Reference in New Issue
Block a user