コード例 #1
0
        public async Task <ClientResponse> ProfileAsync(ProfileType profile, string traceNumber = null)
        {
            var item    = profile.CopyToBase();
            var xmlBody = new Request {
                Item = item
            };
            var url     = Endpoint.Url();
            var request = new ClientRequest
            {
                Request     = xmlBody,
                TraceNumber = traceNumber,
            };

            return(await SendRequestAsync(url, request));
        }