public SingleAccessClient() { _authorizationData = new AuthorizationData(); InitAuthData(_authorizationData); _russianPostService = new OperationHistory12Client(); }
public Task <getOperationHistoryResponse> GetOperationHistory(string trackID) { OperationHistory12Client operationHistory12Client = new OperationHistory12Client(OperationHistory12Client.EndpointConfiguration.OperationHistory12Port); return(operationHistory12Client.getOperationHistoryAsync(new OperationHistoryRequest() { Barcode = trackID, Language = "RUS", MessageType = 0 }, _config.GetAuthorizationHeader())); }