Nfield.Services.Implementation.NfieldAddressesService.AddressesApi C# (CSharp) Method

AddressesApi() private method

private AddressesApi ( string surveyId, string samplingPointId, string addressId ) : Uri
surveyId string
samplingPointId string
addressId string
return System.Uri
        private Uri AddressesApi(string surveyId, string samplingPointId, string addressId)
        {
            StringBuilder uriText = new StringBuilder(ConnectionClient.NfieldServerUri.AbsoluteUri);
            uriText.AppendFormat("Surveys/{0}/SamplingPoints/{1}/Addresses",
                surveyId, samplingPointId);
            if (!string.IsNullOrEmpty(addressId))
                uriText.AppendFormat("/{0}", addressId);
            return new Uri(uriText.ToString());
        }