Method | Description | |
---|---|---|
CheckAppChainStatus ( long idJob ) : string |
Checks executing app chain status
|
|
GetAppChainResults ( long idJob ) : AppResultsHolder |
Returns results of executed app chain
|
|
SendUserNotification ( string msg ) : void |
Sends user onsite notification
|
|
SqApiServiceFacade ( string url ) : System | ||
SqApiServiceFacade ( string apiUrl, string userName ) : System | ||
StartAppChain ( string appCode, string>.Dictionary |
Starts app-chain
|
Method | Description | |
---|---|---|
CreateClient ( ) : RestSharp.RestClient | ||
CreateRq ( string opName, Method method ) : |
||
RunRq ( RestSharp.RestClient _restClient, |
Runs requests, is executed several times in case of error - request is attempted with refreshed auth data
|
public CheckAppChainStatus ( long idJob ) : string | ||
idJob | long | app chain job id |
return | string |
public GetAppChainResults ( long idJob ) : AppResultsHolder | ||
idJob | long | app chain job id |
return | AppResultsHolder |
public SendUserNotification ( string msg ) : void | ||
msg | string | message to user |
return | void |
public SqApiServiceFacade ( string url ) : System | ||
url | string | |
return | System |
public SqApiServiceFacade ( string apiUrl, string userName ) : System | ||
apiUrl | string | |
userName | string | |
return | System |
public StartAppChain ( string appCode, string>.Dictionary |
||
appCode | string | code of app-chain |
pars | string>.Dictionary | app-chain parameters |
return | StartAppRs |