private static void ShowAgency(IamClient iamClient)
        {
            var showAgencyRequest = new ShowAgencyRequest()
            {
                AgencyId = ""
            };

            try
            {
                var showAgencyResponse = iamClient.ShowAgency(showAgencyRequest);
                Console.WriteLine(JsonConvert.SerializeObject(showAgencyResponse.Agency));
            }
            catch (RequestTimeoutException requestTimeoutException)
            {
                Console.WriteLine(requestTimeoutException.ErrorMessage);
            }
            catch (ServiceResponseException clientRequestException)
            {
                Console.WriteLine(clientRequestException.HttpStatusCode);
                Console.WriteLine(clientRequestException.ErrorCode);
                Console.WriteLine(clientRequestException.ErrorMsg);
            }
            catch (ConnectionException connectionException)
            {
                Console.WriteLine(connectionException.ErrorMessage);
            }
        }
        /// <summary>
        /// 查询委托详情
        /// </summary>
        public ShowAgencyResponse ShowAgency(ShowAgencyRequest showAgencyRequest)
        {
            Dictionary <string, string> urlParam = new Dictionary <string, string>();

            urlParam.Add("agency_id", showAgencyRequest.AgencyId.ToString());
            string      urlPath  = HttpUtils.AddUrlPath("/v3.0/OS-AGENCY/agencies/{agency_id}", urlParam);
            SdkRequest  request  = HttpUtils.InitSdkRequest(urlPath, showAgencyRequest);
            SdkResponse response = DoHttpRequest("GET", request);

            return(JsonUtils.DeSerialize <ShowAgencyResponse>(response));
        }