ContactDetailsToWebString Method

Car Delivery Network API DocumentationCar Delivery Network
Gets a web friendly address string

Namespace:  CarDeliveryNetwork.Api.Data
Assembly:  CarDeliveryNetwork.Api.Data (in CarDeliveryNetwork.Api.Data.dll) Version: 3.2.3008.0 (3.2.3008)
Syntax

public string ToWebString(
	bool includeQuickCode = false,
	bool includeContact = true,
	bool includeOrganisation = true,
	bool includeAddressLines = true,
	bool includeCity = true,
	bool includeStateRegion = true,
	bool includeZipPostcode = true,
	bool includePhones = true,
	bool includeFax = true,
	bool includeEmail = true,
	bool includeNotes = true,
	bool isUSFormat = true
)

Parameters

includeQuickCode (Optional)
Type: SystemBoolean
Indicates that the QuickCode field should be included
includeContact (Optional)
Type: SystemBoolean
Indicates that the Contact field should be included
includeOrganisation (Optional)
Type: SystemBoolean
Indicates that the Organisation field should be included
includeAddressLines (Optional)
Type: SystemBoolean
Indicates that the AddressLines field should be included
includeCity (Optional)
Type: SystemBoolean
Indicates that the City field should be included
includeStateRegion (Optional)
Type: SystemBoolean
Indicates that the StateRegion field should be included
includeZipPostcode (Optional)
Type: SystemBoolean
Indicates that the ZipPostCode field should be included
includePhones (Optional)
Type: SystemBoolean
Indicates that the various Phone number fields should be included
includeFax (Optional)
Type: SystemBoolean
Indicates that the Fax field should be included
includeEmail (Optional)
Type: SystemBoolean
Indicates that the Email field should be included
includeNotes (Optional)
Type: SystemBoolean
Indicates that the Notes field should be included
isUSFormat (Optional)
Type: SystemBoolean
Indicates that the address should be in US format

Return Value

Type: String
A web friendly address string
See Also

Reference