public async Task <GetContractPdfResponse> GetContractPdfAsync(GetContractPdfRequest request) { const string path = "getPdfUrl"; var response = await GetResponseAsync <GetContractPdfResponse, GetContractPdfRequest>(path, request); return(response); }
public async Task GetContractPdfTest() { var request = new GetContractPdfRequest { ContractId = "201809131827" }; var response = await Service.GetContractPdfAsync(request); Assert.NotNull(response); Assert.Equal(ErrorCode.Success, response.Code); }