Platform API

<back to all web services

GetContactsInRole

Get contacts connected to the current licensee in the specified role

Requires Authentication
The following routes are available for this service:
All Verbs/api/contacts/{RoleId}
All Verbs/api/contacts/managers
All Verbs/api/contacts/supervisors
All Verbs/api/contacts/customerservicereps
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    /**
    * Get contacts connected to the current licensee in the specified role
    */
    @Api(Description="Get contacts connected to the current licensee in the specified role")
    public static class GetContactsInRole
    {
        /**
        * Get contacts connected to the current licensee in the specified role
        */
        @ApiMember(Description="Get contacts connected to the current licensee in the specified role", Name="RoleId")
        public UUID RoleId = null;
        
        public UUID getRoleId() { return RoleId; }
        public GetContactsInRole setRoleId(UUID value) { this.RoleId = value; return this; }
    }

    @ApiResponse(Description="Get contacts connected to the current licensee in the specified role and response status")
    public static class GetContactsInRoleResponse
    {
        public ArrayList<UserProfileModel> UserProfiles = null;
        public ResponseStatus ResponseStatus = null;
        
        public ArrayList<UserProfileModel> getUserProfiles() { return UserProfiles; }
        public GetContactsInRoleResponse setUserProfiles(ArrayList<UserProfileModel> value) { this.UserProfiles = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public GetContactsInRoleResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class UserProfileModel extends UserProfileSummaryModel
    {
        /**
        * Contact Date of Birth (when person type)
        */
        @ApiMember(DataType="DateTime?", Description="Contact Date of Birth (when person type)", Name="BirthDate", ParameterType="query")
        public Date BirthDate = null;

        /**
        * Contact marital status (when person type)
        */
        @ApiMember(DataType="string", Description="Contact marital status (when person type)", Name="MaritalStatusName", ParameterType="query")
        public String MaritalStatusName = null;

        /**
        * Contact gender (when person type)
        */
        @ApiMember(DataType="string", Description="Contact gender (when person type)", Name="GenderName", ParameterType="query")
        public String GenderName = null;

        /**
        * The Gender Guid of the contact.
        */
        @ApiMember(DataType="Guid", Description="The Gender Guid of the contact.", Name="GenderId", ParameterType="query")
        public UUID GenderId = null;

        /**
        * All contact details of the contact
        */
        @ApiMember(DataType="List<ContactDetailModel>", Description="All contact details of the contact", Name="ContactDetails", ParameterType="query")
        public ArrayList<ContactDetailModel> ContactDetails = null;

        /**
        * Primary Street Address
        */
        @ApiMember(DataType="ContactDetail", Description="Primary Street Address", Name="PrimaryStreetAddress ")
        public ContactDetailModel PrimaryStreetAddress = null;

        /**
        * Primary Postal Address
        */
        @ApiMember(DataType="ContactDetail", Description="Primary Postal Address", Name="PrimaryPostalAddress ")
        public ContactDetailModel PrimaryPostalAddress = null;

        /**
        * Primary Registered Address
        */
        @ApiMember(DataType="ContactDetail", Description="Primary Registered Address", Name="PrimaryRegisteredAddress ")
        public ContactDetailModel PrimaryRegisteredAddress = null;

        /**
        * Primary Email Address
        */
        @ApiMember(DataType="ContactDetail", Description="Primary Email Address", Name="PrimaryEmail ")
        public ContactDetailModel PrimaryEmail = null;

        /**
        * Primary Mobile Number
        */
        @ApiMember(DataType="ContactDetail", Description="Primary Mobile Number", Name="PrimaryMobile")
        public ContactDetailModel PrimaryMobile = null;

        /**
        * Primary Non-Mobile Number
        */
        @ApiMember(DataType="ContactDetail", Description="Primary Non-Mobile Number", Name="PrimaryPhone")
        public ContactDetailModel PrimaryPhone = null;

        /**
        * Primary Fax Number
        */
        @ApiMember(DataType="ContactDetail", Description="Primary Fax Number", Name="PrimaryFax")
        public ContactDetailModel PrimaryFax = null;

        /**
        * Primary Web Address
        */
        @ApiMember(DataType="ContactDetail", Description="Primary Web Address", Name="PrimaryWeb")
        public ContactDetailModel PrimaryWeb = null;

        /**
        * Social Media Twitter
        */
        @ApiMember(DataType="ContactDetail", Description="Social Media Twitter", Name="SocialMediaTwitter")
        public ContactDetailModel SocialMediaTwitter = null;

        /**
        * Social Media Facebook
        */
        @ApiMember(DataType="ContactDetail", Description="Social Media Facebook", Name="SocialMediaFacebook")
        public ContactDetailModel SocialMediaFacebook = null;

        /**
        * Social Media Instagram
        */
        @ApiMember(DataType="ContactDetail", Description="Social Media Instagram", Name="SocialMediaInstagram")
        public ContactDetailModel SocialMediaInstagram = null;

        /**
        * Have all connections to the contact been removed?
        */
        @ApiMember(DataType="bool", Description="Have all connections to the contact been removed?", Name="IsRemovedContact")
        public Boolean IsRemovedContact = null;

        /**
        * True if this is the users default profile.
        */
        @ApiMember(DataType="bool", Description="True if this is the users default profile.", Name="IsDefault", ParameterType="query")
        public Boolean IsDefault = null;

        /**
        * True if the users email on this profile can be edited.
        */
        @ApiMember(DataType="bool", Description="True if the users email on this profile can be edited.", Name="IsEmailEditable", ParameterType="query")
        public Boolean IsEmailEditable = null;

        /**
        * Primary image Content sent as a file stream contents (if not attached to the request)
        */
        @ApiMember(DataType="string", Description="Primary image Content sent as a file stream contents (if not attached to the request)", Name="PrimaryImageContent")
        public String PrimaryImageContent = null;

        /**
        * Primary image Content type sent as a file stream contents (if not attached to the request)
        */
        @ApiMember(DataType="string", Description="Primary image Content type sent as a file stream contents (if not attached to the request)", Name="PrimaryImageContentType")
        public String PrimaryImageContentType = null;

        /**
        * Primary image file name
        */
        @ApiMember(DataType="string", Description="Primary image file name", Name="PrimaryImageFileName")
        public String PrimaryImageFileName = null;
        
        public Date getBirthDate() { return BirthDate; }
        public UserProfileModel setBirthDate(Date value) { this.BirthDate = value; return this; }
        public String getMaritalStatusName() { return MaritalStatusName; }
        public UserProfileModel setMaritalStatusName(String value) { this.MaritalStatusName = value; return this; }
        public String getGenderName() { return GenderName; }
        public UserProfileModel setGenderName(String value) { this.GenderName = value; return this; }
        public UUID getGenderId() { return GenderId; }
        public UserProfileModel setGenderId(UUID value) { this.GenderId = value; return this; }
        public ArrayList<ContactDetailModel> getContactDetails() { return ContactDetails; }
        public UserProfileModel setContactDetails(ArrayList<ContactDetailModel> value) { this.ContactDetails = value; return this; }
        public ContactDetailModel getPrimaryStreetAddress() { return PrimaryStreetAddress; }
        public UserProfileModel setPrimaryStreetAddress(ContactDetailModel value) { this.PrimaryStreetAddress = value; return this; }
        public ContactDetailModel getPrimaryPostalAddress() { return PrimaryPostalAddress; }
        public UserProfileModel setPrimaryPostalAddress(ContactDetailModel value) { this.PrimaryPostalAddress = value; return this; }
        public ContactDetailModel getPrimaryRegisteredAddress() { return PrimaryRegisteredAddress; }
        public UserProfileModel setPrimaryRegisteredAddress(ContactDetailModel value) { this.PrimaryRegisteredAddress = value; return this; }
        public ContactDetailModel getPrimaryEmail() { return PrimaryEmail; }
        public UserProfileModel setPrimaryEmail(ContactDetailModel value) { this.PrimaryEmail = value; return this; }
        public ContactDetailModel getPrimaryMobile() { return PrimaryMobile; }
        public UserProfileModel setPrimaryMobile(ContactDetailModel value) { this.PrimaryMobile = value; return this; }
        public ContactDetailModel getPrimaryPhone() { return PrimaryPhone; }
        public UserProfileModel setPrimaryPhone(ContactDetailModel value) { this.PrimaryPhone = value; return this; }
        public ContactDetailModel getPrimaryFax() { return PrimaryFax; }
        public UserProfileModel setPrimaryFax(ContactDetailModel value) { this.PrimaryFax = value; return this; }
        public ContactDetailModel getPrimaryWeb() { return PrimaryWeb; }
        public UserProfileModel setPrimaryWeb(ContactDetailModel value) { this.PrimaryWeb = value; return this; }
        public ContactDetailModel getSocialMediaTwitter() { return SocialMediaTwitter; }
        public UserProfileModel setSocialMediaTwitter(ContactDetailModel value) { this.SocialMediaTwitter = value; return this; }
        public ContactDetailModel getSocialMediaFacebook() { return SocialMediaFacebook; }
        public UserProfileModel setSocialMediaFacebook(ContactDetailModel value) { this.SocialMediaFacebook = value; return this; }
        public ContactDetailModel getSocialMediaInstagram() { return SocialMediaInstagram; }
        public UserProfileModel setSocialMediaInstagram(ContactDetailModel value) { this.SocialMediaInstagram = value; return this; }
        public Boolean getIsRemovedContact() { return IsRemovedContact; }
        public UserProfileModel setIsRemovedContact(Boolean value) { this.IsRemovedContact = value; return this; }
        public Boolean getIsDefault() { return IsDefault; }
        public UserProfileModel setIsDefault(Boolean value) { this.IsDefault = value; return this; }
        public Boolean getIsEmailEditable() { return IsEmailEditable; }
        public UserProfileModel setIsEmailEditable(Boolean value) { this.IsEmailEditable = value; return this; }
        public String getPrimaryImageContent() { return PrimaryImageContent; }
        public UserProfileModel setPrimaryImageContent(String value) { this.PrimaryImageContent = value; return this; }
        public String getPrimaryImageContentType() { return PrimaryImageContentType; }
        public UserProfileModel setPrimaryImageContentType(String value) { this.PrimaryImageContentType = value; return this; }
        public String getPrimaryImageFileName() { return PrimaryImageFileName; }
        public UserProfileModel setPrimaryImageFileName(String value) { this.PrimaryImageFileName = value; return this; }
    }

    public static class UserProfileSummaryModel
    {
        /**
        * User Profile Id
        */
        @ApiMember(DataType="Guid", Description="User Profile Id", Name="UserProfileId")
        public UUID UserProfileId = null;

        /**
        * User linked to the profile
        */
        @ApiMember(DataType="Guid", Description="User linked to the profile", Name="UserId")
        public UUID UserId = null;

        /**
        * Contact linked to the profile
        */
        @ApiMember(DataType="Guid", Description="Contact linked to the profile", Name="ContactId")
        public UUID ContactId = null;

        /**
        * User linked to the profile
        */
        @ApiMember(DataType="string", Description="User linked to the profile", Name="UserName")
        public String UserName = null;

        /**
        * User Profile Name
        */
        @ApiMember(DataType="string", Description="User Profile Name", Name="ProfileName")
        public String ProfileName = null;

        /**
        * Full name of the contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Full name of the contact linked to the profile", Name="ContactFullName")
        public String ContactFullName = null;

        /**
        * Email Address of the contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Email Address of the contact linked to the profile", Name="EmailAddress")
        public String EmailAddress = null;

        /**
        * Email signature of the contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Email signature of the contact linked to the profile", Name="EmailSignature")
        public String EmailSignature = null;

        /**
        * Mobile number of the contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Mobile number of the contact linked to the profile", Name="MobileNumber")
        public String MobileNumber = null;

        /**
        * Phone number of the contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Phone number of the contact linked to the profile", Name="PhoneNumber")
        public String PhoneNumber = null;

        /**
        * Type of contact (person, organisation etc.) linked to the profile
        */
        @ApiMember(DataType="string", Description="Type of contact (person, organisation etc.) linked to the profile", Name="ContactTypeId")
        public UUID ContactTypeId = null;

        /**
        * Type of contact (person, organisation etc.) linked to the profile
        */
        @ApiMember(DataType="string", Description="Type of contact (person, organisation etc.) linked to the profile", Name="ContactTypeName")
        public String ContactTypeName = null;

        /**
        * First name of the contact linked to the profile
        */
        @ApiMember(DataType="string", Description="First name of the contact linked to the profile", Name="FirstName")
        public String FirstName = null;

        /**
        * Surname of the contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Surname of the contact linked to the profile", Name="Surname")
        public String Surname = null;

        /**
        * Title of contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Title of contact linked to the profile", Name="Title")
        public String Title = null;

        /**
        * Legal name of contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Legal name of contact linked to the profile", Name="LegalName")
        public String LegalName = null;

        /**
        * Trading name of contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Trading name of contact linked to the profile", Name="TradingName")
        public String TradingName = null;

        /**
        * Australian Business Number
        */
        @ApiMember(DataType="string", Description="Australian Business Number", Name="Abn", ParameterType="query")
        public String Abn = null;

        /**
        * Australian Company Number
        */
        @ApiMember(DataType="string", Description="Australian Company Number", Name="Acn", ParameterType="query")
        public String Acn = null;

        /**
        * Australian Registered Body Number
        */
        @ApiMember(DataType="string", Description="Australian Registered Body Number", Name="Arbn", ParameterType="query")
        public String Arbn = null;

        /**
        * Indicates if the Contact is registered for GST.
        */
        @ApiMember(DataType="bool", Description="Indicates if the Contact is registered for GST.", Name="GstRegistered", ParameterType="query")
        public Boolean GstRegistered = null;

        /**
        * True if english is a secondary language for the contact.
        */
        @ApiMember(DataType="bool", Description="True if english is a secondary language for the contact.", Name="ESL", ParameterType="query")
        public Boolean ESL = null;

        /**
        * Language that is the primary language for the contact.
        */
        @ApiMember(DataType="string", Description="Language that is the primary language for the contact.", Name="Language", ParameterType="query")
        public String Language = null;

        /**
        * True if an interpreter is required.
        */
        @ApiMember(DataType="bool", Description="True if an interpreter is required.", Name="InterpreterRequired", ParameterType="query")
        public Boolean InterpreterRequired = null;

        /**
        * Licensee specific notes about the contact.
        */
        @ApiMember(DataType="string", Description="Licensee specific notes about the contact.", Name="LicenseeNotes", ParameterType="query")
        public String LicenseeNotes = null;

        /**
        * Profile photo of contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Profile photo of contact linked to the profile", Name="ProfilePhotoUrl")
        public String ProfilePhotoUrl = null;

        /**
        * Thumbnail photo of contact linked to the profile
        */
        @ApiMember(DataType="string", Description="Thumbnail photo of contact linked to the profile", Name="ProfilePhotoThumbnailUrl")
        public String ProfilePhotoThumbnailUrl = null;

        /**
        * Profile photo id of contact linked to the profile
        */
        @ApiMember(DataType="Guid", Description="Profile photo id of contact linked to the profile", Name="ProfileImageId")
        public UUID ProfileImageId = null;

        /**
        * Profile description
        */
        @ApiMember(DataType="string", Description="Profile description", Name="Description")
        public String Description = null;

        /**
        * Employment Industry
        */
        @ApiMember(DataType="string", Description="Employment Industry", Name="EmploymentIndustry")
        public String EmploymentIndustry = null;

        /**
        * Employment Role
        */
        @ApiMember(DataType="string", Description="Employment Role", Name="EmploymentRole")
        public String EmploymentRole = null;

        /**
        * Areas of Work
        */
        @ApiMember(DataType="string", Description="Areas of Work", Name="EmploymentGeographicArea")
        public String EmploymentGeographicArea = null;

        /**
        * The contacts timezone.
        */
        @ApiMember(DataType="Guid", Description="The contacts timezone.", Name="Timezone", ParameterType="query")
        public UUID Timezone = null;

        /**
        * Timezone Name
        */
        @ApiMember(DataType="string", Description="Timezone Name", Name="TimezoneName", ParameterType="query")
        public String TimezoneName = null;

        /**
        * The primary address of the contact
        */
        @ApiMember(DataType="string", Description="The primary address of the contact", Name="PrimaryAddress", ParameterType="query")
        public String PrimaryAddress = null;

        /**
        * Is this an active contact? Or an inactive contact (deleted account)?
        */
        @ApiMember(DataType="bool", Description="Is this an active contact? Or an inactive contact (deleted account)?", Name="IsActiveContact")
        public Boolean IsActiveContact = null;
        
        public UUID getUserProfileId() { return UserProfileId; }
        public UserProfileSummaryModel setUserProfileId(UUID value) { this.UserProfileId = value; return this; }
        public UUID getUserId() { return UserId; }
        public UserProfileSummaryModel setUserId(UUID value) { this.UserId = value; return this; }
        public UUID getContactId() { return ContactId; }
        public UserProfileSummaryModel setContactId(UUID value) { this.ContactId = value; return this; }
        public String getUserName() { return UserName; }
        public UserProfileSummaryModel setUserName(String value) { this.UserName = value; return this; }
        public String getProfileName() { return ProfileName; }
        public UserProfileSummaryModel setProfileName(String value) { this.ProfileName = value; return this; }
        public String getContactFullName() { return ContactFullName; }
        public UserProfileSummaryModel setContactFullName(String value) { this.ContactFullName = value; return this; }
        public String getEmailAddress() { return EmailAddress; }
        public UserProfileSummaryModel setEmailAddress(String value) { this.EmailAddress = value; return this; }
        public String getEmailSignature() { return EmailSignature; }
        public UserProfileSummaryModel setEmailSignature(String value) { this.EmailSignature = value; return this; }
        public String getMobileNumber() { return MobileNumber; }
        public UserProfileSummaryModel setMobileNumber(String value) { this.MobileNumber = value; return this; }
        public String getPhoneNumber() { return PhoneNumber; }
        public UserProfileSummaryModel setPhoneNumber(String value) { this.PhoneNumber = value; return this; }
        public UUID getContactTypeId() { return ContactTypeId; }
        public UserProfileSummaryModel setContactTypeId(UUID value) { this.ContactTypeId = value; return this; }
        public String getContactTypeName() { return ContactTypeName; }
        public UserProfileSummaryModel setContactTypeName(String value) { this.ContactTypeName = value; return this; }
        public String getFirstName() { return FirstName; }
        public UserProfileSummaryModel setFirstName(String value) { this.FirstName = value; return this; }
        public String getSurname() { return Surname; }
        public UserProfileSummaryModel setSurname(String value) { this.Surname = value; return this; }
        public String getTitle() { return Title; }
        public UserProfileSummaryModel setTitle(String value) { this.Title = value; return this; }
        public String getLegalName() { return LegalName; }
        public UserProfileSummaryModel setLegalName(String value) { this.LegalName = value; return this; }
        public String getTradingName() { return TradingName; }
        public UserProfileSummaryModel setTradingName(String value) { this.TradingName = value; return this; }
        public String getAbn() { return Abn; }
        public UserProfileSummaryModel setAbn(String value) { this.Abn = value; return this; }
        public String getAcn() { return Acn; }
        public UserProfileSummaryModel setAcn(String value) { this.Acn = value; return this; }
        public String getArbn() { return Arbn; }
        public UserProfileSummaryModel setArbn(String value) { this.Arbn = value; return this; }
        public Boolean isGstRegistered() { return GstRegistered; }
        public UserProfileSummaryModel setGstRegistered(Boolean value) { this.GstRegistered = value; return this; }
        public Boolean isEsl() { return ESL; }
        public UserProfileSummaryModel setEsl(Boolean value) { this.ESL = value; return this; }
        public String getLanguage() { return Language; }
        public UserProfileSummaryModel setLanguage(String value) { this.Language = value; return this; }
        public Boolean isInterpreterRequired() { return InterpreterRequired; }
        public UserProfileSummaryModel setInterpreterRequired(Boolean value) { this.InterpreterRequired = value; return this; }
        public String getLicenseeNotes() { return LicenseeNotes; }
        public UserProfileSummaryModel setLicenseeNotes(String value) { this.LicenseeNotes = value; return this; }
        public String getProfilePhotoUrl() { return ProfilePhotoUrl; }
        public UserProfileSummaryModel setProfilePhotoUrl(String value) { this.ProfilePhotoUrl = value; return this; }
        public String getProfilePhotoThumbnailUrl() { return ProfilePhotoThumbnailUrl; }
        public UserProfileSummaryModel setProfilePhotoThumbnailUrl(String value) { this.ProfilePhotoThumbnailUrl = value; return this; }
        public UUID getProfileImageId() { return ProfileImageId; }
        public UserProfileSummaryModel setProfileImageId(UUID value) { this.ProfileImageId = value; return this; }
        public String getDescription() { return Description; }
        public UserProfileSummaryModel setDescription(String value) { this.Description = value; return this; }
        public String getEmploymentIndustry() { return EmploymentIndustry; }
        public UserProfileSummaryModel setEmploymentIndustry(String value) { this.EmploymentIndustry = value; return this; }
        public String getEmploymentRole() { return EmploymentRole; }
        public UserProfileSummaryModel setEmploymentRole(String value) { this.EmploymentRole = value; return this; }
        public String getEmploymentGeographicArea() { return EmploymentGeographicArea; }
        public UserProfileSummaryModel setEmploymentGeographicArea(String value) { this.EmploymentGeographicArea = value; return this; }
        public UUID getTimezone() { return Timezone; }
        public UserProfileSummaryModel setTimezone(UUID value) { this.Timezone = value; return this; }
        public String getTimezoneName() { return TimezoneName; }
        public UserProfileSummaryModel setTimezoneName(String value) { this.TimezoneName = value; return this; }
        public String getPrimaryAddress() { return PrimaryAddress; }
        public UserProfileSummaryModel setPrimaryAddress(String value) { this.PrimaryAddress = value; return this; }
        public Boolean getIsActiveContact() { return IsActiveContact; }
        public UserProfileSummaryModel setIsActiveContact(Boolean value) { this.IsActiveContact = value; return this; }
    }

    public static class ContactDetailModel
    {
        /**
        * Id of the Contact Method
        */
        @ApiMember(DataType="Guid", Description="Id of the Contact Method", Name="ContactMethodId", ParameterType="body")
        public UUID ContactMethodId = null;

        /**
        * Contact Method Name
        */
        @ApiMember(DataType="string", Description="Contact Method Name", Name="ContactMethodName", ParameterType="body")
        public String ContactMethodName = null;

        /**
        * If the contact method is an address, this will contain the address details.
        */
        @ApiMember(DataType="ContactAddressModel", Description="If the contact method is an address, this will contain the address details.", Name="ContactAddress", ParameterType="body")
        public ContactAddressModel ContactAddress = null;

        /**
        * If the contact method is a phone, this will contain the phone details
        */
        @ApiMember(DataType="PhoneModel", Description="If the contact method is a phone, this will contain the phone details", Name="ContactPhone", ParameterType="body")
        public PhoneModel ContactPhone = null;

        /**
        * Id of the country
        */
        @ApiMember(DataType="Guid?", Description="Id of the country", Name="CountryId", ParameterType="body")
        public UUID CountryId = null;

        /**
        * A summary string representing the contact details
        */
        @ApiMember(DataType="string", Description="A summary string representing the contact details", Name="ContactDetails", ParameterType="body")
        public String ContactDetails = null;

        /**
        * Notes about the contact details
        */
        @ApiMember(DataType="string", Description="Notes about the contact details", Name="Notes", ParameterType="body")
        public String Notes = null;

        /**
        * Area Code if contact details are a phone number
        */
        @ApiMember(DataType="string", Description="Area Code if contact details are a phone number", Name="ContactDetailsCode", ParameterType="body")
        public String ContactDetailsCode = null;

        /**
        * Order number of the contact method
        */
        @ApiMember(DataType="int", Description="Order number of the contact method", Name="OrderContactMethod", ParameterType="body")
        public Integer OrderContactMethod = null;

        /**
        * True if this is the primary contact method
        */
        @ApiMember(DataType="bool", Description="True if this is the primary contact method", Name="IsPrimaryContactMethod", ParameterType="body")
        public Boolean IsPrimaryContactMethod = null;

        /**
        * True if this contact method is an address
        */
        @ApiMember(DataType="bool", Description="True if this contact method is an address", Name="IsAddress", ParameterType="body")
        public Boolean IsAddress = null;
        
        public UUID getContactMethodId() { return ContactMethodId; }
        public ContactDetailModel setContactMethodId(UUID value) { this.ContactMethodId = value; return this; }
        public String getContactMethodName() { return ContactMethodName; }
        public ContactDetailModel setContactMethodName(String value) { this.ContactMethodName = value; return this; }
        public ContactAddressModel getContactAddress() { return ContactAddress; }
        public ContactDetailModel setContactAddress(ContactAddressModel value) { this.ContactAddress = value; return this; }
        public PhoneModel getContactPhone() { return ContactPhone; }
        public ContactDetailModel setContactPhone(PhoneModel value) { this.ContactPhone = value; return this; }
        public UUID getCountryId() { return CountryId; }
        public ContactDetailModel setCountryId(UUID value) { this.CountryId = value; return this; }
        public String getContactDetails() { return ContactDetails; }
        public ContactDetailModel setContactDetails(String value) { this.ContactDetails = value; return this; }
        public String getNotes() { return Notes; }
        public ContactDetailModel setNotes(String value) { this.Notes = value; return this; }
        public String getContactDetailsCode() { return ContactDetailsCode; }
        public ContactDetailModel setContactDetailsCode(String value) { this.ContactDetailsCode = value; return this; }
        public Integer getOrderContactMethod() { return OrderContactMethod; }
        public ContactDetailModel setOrderContactMethod(Integer value) { this.OrderContactMethod = value; return this; }
        public Boolean getIsPrimaryContactMethod() { return IsPrimaryContactMethod; }
        public ContactDetailModel setIsPrimaryContactMethod(Boolean value) { this.IsPrimaryContactMethod = value; return this; }
        public Boolean getIsAddress() { return IsAddress; }
        public ContactDetailModel setIsAddress(Boolean value) { this.IsAddress = value; return this; }
    }

    public static class ContactAddressModel
    {
        /**
        * Address Details
        */
        @ApiMember(DataType="AddressModel", Description="Address Details", Name="Address", ParameterType="body")
        public AddressModel Address = null;

        /**
        * True if this is a postal address.
        */
        @ApiMember(DataType="bool", Description="True if this is a postal address.", Name="IsPostal", ParameterType="body")
        public Boolean IsPostal = null;

        /**
        * True if this is the primary address.
        */
        @ApiMember(DataType="bool", Description="True if this is the primary address.", Name="IsPrimaryLocation", ParameterType="body")
        public Boolean IsPrimaryLocation = null;

        /**
        * True if this address is the registered tax address.
        */
        @ApiMember(DataType="bool", Description="True if this address is the registered tax address.", Name="IsRegisteredLocation", ParameterType="body")
        public Boolean IsRegisteredLocation = null;

        /**
        * Suburb Name
        */
        @ApiMember(DataType="string", Description="Suburb Name", Name="SuburbName", ParameterType="body")
        public String SuburbName = null;

        /**
        * State Name
        */
        @ApiMember(DataType="string", Description="State Name", Name="StateName", ParameterType="body")
        public String StateName = null;

        /**
        * Country Name
        */
        @ApiMember(DataType="string", Description="Country Name", Name="CountryName", ParameterType="body")
        public String CountryName = null;
        
        public AddressModel getAddress() { return Address; }
        public ContactAddressModel setAddress(AddressModel value) { this.Address = value; return this; }
        public Boolean getIsPostal() { return IsPostal; }
        public ContactAddressModel setIsPostal(Boolean value) { this.IsPostal = value; return this; }
        public Boolean getIsPrimaryLocation() { return IsPrimaryLocation; }
        public ContactAddressModel setIsPrimaryLocation(Boolean value) { this.IsPrimaryLocation = value; return this; }
        public Boolean getIsRegisteredLocation() { return IsRegisteredLocation; }
        public ContactAddressModel setIsRegisteredLocation(Boolean value) { this.IsRegisteredLocation = value; return this; }
        public String getSuburbName() { return SuburbName; }
        public ContactAddressModel setSuburbName(String value) { this.SuburbName = value; return this; }
        public String getStateName() { return StateName; }
        public ContactAddressModel setStateName(String value) { this.StateName = value; return this; }
        public String getCountryName() { return CountryName; }
        public ContactAddressModel setCountryName(String value) { this.CountryName = value; return this; }
    }

    public static class AddressModel
    {
        /**
        * The distance between this project and another specified set of gps coordinates.
        */
        @ApiMember(DataType="double", Description="The distance between this project and another specified set of gps coordinates.", Name="DistanceAway", ParameterType="body")
        public Double DistanceAway = null;

        /**
        * The latitude of an address - geographic coordinates specifying the north-south position of a point on the Earth's surface.
        */
        @ApiMember(DataType="Double?", Description="The latitude of an address - geographic coordinates specifying the north-south position of a point on the Earth's surface.", Name="Latitude", ParameterType="body")
        public Double Latitude = null;

        /**
        * The longitude of an address - geographic coordinates specifying the east-west position of a point on the Earth's surface.
        */
        @ApiMember(DataType="Double?", Description="The longitude of an address - geographic coordinates specifying the east-west position of a point on the Earth's surface.", Name="Longitude", ParameterType="body")
        public Double Longitude = null;

        /**
        * Address Format Id Guid - this will be determined by the service.
        */
        @ApiMember(DataType="Guid", Description="Address Format Id Guid - this will be determined by the service.", Name="AddressFormatId", ParameterType="body")
        public UUID AddressFormatId = null;

        /**
        * Suburb Id Guid - this will attempt to be determined by the SuburbName, StateShortName and Postcode entered.
        */
        @ApiMember(DataType="Guid", Description="Suburb Id Guid - this will attempt to be determined by the SuburbName, StateShortName and Postcode entered.", Name="SuburbId", ParameterType="body")
        public UUID SuburbId = null;

        /**
        * The suburb name.
        */
        @ApiMember(DataType="string", Description="The suburb name.", Name="SuburbName", ParameterType="body")
        public String SuburbName = null;

        /**
        * The shortened State Name e.g Vic for Victoria.
        */
        @ApiMember(DataType="string", Description="The shortened State Name e.g Vic for Victoria.", Name="StateShortName", ParameterType="body")
        public String StateShortName = null;

        /**
        * The suburb postcode.
        */
        @ApiMember(DataType="string", Description="The suburb postcode.", Name="PostCode", ParameterType="body")
        public String PostCode = null;

        /**
        * Country Id Guid - this will be determined by the CountrName or ISOCountryCode entered.
        */
        @ApiMember(DataType="Guid", Description="Country Id Guid - this will be determined by the CountrName or ISOCountryCode entered.", Name="CountryId", ParameterType="body")
        public UUID CountryId = null;

        /**
        * the name of the country the address is within.
        */
        @ApiMember(DataType="string", Description="the name of the country the address is within.", Name="CountryName", ParameterType="body")
        public String CountryName = null;

        /**
        * ISO Country Code.
        */
        @ApiMember(Description="ISO Country Code.", ParameterType="query")
        public String ISOCountryCode = null;

        /**
        * The address Lot number.
        */
        @ApiMember(DataType="string", Description="The address Lot number.", Name="LotNumber", ParameterType="body")
        public String LotNumber = null;

        /**
        * The address Sub Unit number.
        */
        @ApiMember(DataType="string", Description="The address Sub Unit number.", Name="SubUnit", ParameterType="body")
        public String SubUnit = null;

        /**
        * The address building number.
        */
        @ApiMember(DataType="string", Description="The address building number.", Name="BuildingNumber", ParameterType="body")
        public String BuildingNumber = null;

        /**
        * The address street number.
        */
        @ApiMember(DataType="string", Description="The address street number.", Name="StreetNumber", ParameterType="body")
        public String StreetNumber = null;

        /**
        * The address street name including street type.
        */
        @ApiMember(DataType="string", Description="The address street name including street type.", Name="StreetName", ParameterType="body")
        public String StreetName = null;

        /**
        * A formatted address Line 1.
        */
        @ApiMember(DataType="string", Description="A formatted address Line 1.", Name="AddressLineOne", ParameterType="body")
        public String AddressLineOne = null;

        /**
        * A formatted address Line 2.
        */
        @ApiMember(DataType="string", Description="A formatted address Line 2.", Name="AddressLineTwo", ParameterType="body")
        public String AddressLineTwo = null;

        /**
        * The full address string.
        */
        @ApiMember(DataType="string", Description="The full address string.", Name="AddressFull", ParameterType="body")
        public String AddressFull = null;

        /**
        * True if the address is a physical location.
        */
        @ApiMember(DataType="bool?", Description="True if the address is a physical location.", Name="IsPhysical", ParameterType="body")
        public Boolean IsPhysical = null;

        /**
        * Notes about the address.
        */
        @ApiMember(DataType="string", Description="Notes about the address.", Name="Notes")
        public String Notes = null;

        /**
        * If true, the address is eligible for having its coordinates calculated/updated.
        */
        @ApiMember(DataType="bool?", Description="If true, the address is eligible for having its coordinates calculated/updated.", Name="AutoMapCoordinates", ParameterType="body")
        public Boolean AutoMapCoordinates = null;

        /**
        * Location Coordinates for the address.
        */
        @ApiMember(DataType="LocationCoordinates", Description="Location Coordinates for the address.", Name="LocationCoordinates", ParameterType="body")
        public LocationCoordinatesModel LocationCoordinates = null;
        
        public Double getDistanceAway() { return DistanceAway; }
        public AddressModel setDistanceAway(Double value) { this.DistanceAway = value; return this; }
        public Double getLatitude() { return Latitude; }
        public AddressModel setLatitude(Double value) { this.Latitude = value; return this; }
        public Double getLongitude() { return Longitude; }
        public AddressModel setLongitude(Double value) { this.Longitude = value; return this; }
        public UUID getAddressFormatId() { return AddressFormatId; }
        public AddressModel setAddressFormatId(UUID value) { this.AddressFormatId = value; return this; }
        public UUID getSuburbId() { return SuburbId; }
        public AddressModel setSuburbId(UUID value) { this.SuburbId = value; return this; }
        public String getSuburbName() { return SuburbName; }
        public AddressModel setSuburbName(String value) { this.SuburbName = value; return this; }
        public String getStateShortName() { return StateShortName; }
        public AddressModel setStateShortName(String value) { this.StateShortName = value; return this; }
        public String getPostCode() { return PostCode; }
        public AddressModel setPostCode(String value) { this.PostCode = value; return this; }
        public UUID getCountryId() { return CountryId; }
        public AddressModel setCountryId(UUID value) { this.CountryId = value; return this; }
        public String getCountryName() { return CountryName; }
        public AddressModel setCountryName(String value) { this.CountryName = value; return this; }
        public String getIsoCountryCode() { return ISOCountryCode; }
        public AddressModel setIsoCountryCode(String value) { this.ISOCountryCode = value; return this; }
        public String getLotNumber() { return LotNumber; }
        public AddressModel setLotNumber(String value) { this.LotNumber = value; return this; }
        public String getSubUnit() { return SubUnit; }
        public AddressModel setSubUnit(String value) { this.SubUnit = value; return this; }
        public String getBuildingNumber() { return BuildingNumber; }
        public AddressModel setBuildingNumber(String value) { this.BuildingNumber = value; return this; }
        public String getStreetNumber() { return StreetNumber; }
        public AddressModel setStreetNumber(String value) { this.StreetNumber = value; return this; }
        public String getStreetName() { return StreetName; }
        public AddressModel setStreetName(String value) { this.StreetName = value; return this; }
        public String getAddressLineOne() { return AddressLineOne; }
        public AddressModel setAddressLineOne(String value) { this.AddressLineOne = value; return this; }
        public String getAddressLineTwo() { return AddressLineTwo; }
        public AddressModel setAddressLineTwo(String value) { this.AddressLineTwo = value; return this; }
        public String getAddressFull() { return AddressFull; }
        public AddressModel setAddressFull(String value) { this.AddressFull = value; return this; }
        public Boolean getIsPhysical() { return IsPhysical; }
        public AddressModel setIsPhysical(Boolean value) { this.IsPhysical = value; return this; }
        public String getNotes() { return Notes; }
        public AddressModel setNotes(String value) { this.Notes = value; return this; }
        public Boolean isAutoMapCoordinates() { return AutoMapCoordinates; }
        public AddressModel setAutoMapCoordinates(Boolean value) { this.AutoMapCoordinates = value; return this; }
        public LocationCoordinatesModel getLocationCoordinates() { return LocationCoordinates; }
        public AddressModel setLocationCoordinates(LocationCoordinatesModel value) { this.LocationCoordinates = value; return this; }
    }

    public static class LocationCoordinatesModel
    {
        /**
        * The latitude of an address - geographic coordinates specifying the north-south position of a point on the Earth's surface.
        */
        @ApiMember(Description="The latitude of an address - geographic coordinates specifying the north-south position of a point on the Earth's surface.", ParameterType="query")
        public Double Latitude = null;

        /**
        * The longitude of an address - geographic coordinates specifying the east-west position of a point on the Earth's surface.
        */
        @ApiMember(Description="The longitude of an address - geographic coordinates specifying the east-west position of a point on the Earth's surface.", ParameterType="query")
        public Double Longitude = null;

        /**
        * The altitude of an address - the altitude above sea level."
        */
        @ApiMember(Description="The altitude of an address - the altitude above sea level.\"", ParameterType="query")
        public Double Altitude = null;

        /**
        * Accuracy of the latitude and longitude.
        */
        @ApiMember(Description="Accuracy of the latitude and longitude.", ParameterType="query")
        public Double Accuracy = null;

        /**
        * Accurancy of the Altitude.
        */
        @ApiMember(Description="Accurancy of the Altitude.", ParameterType="query")
        public Double AltitudeAccuracy = null;

        /**
        * Direction you are heading.
        */
        @ApiMember(Description="Direction you are heading.", ParameterType="query")
        public Double Heading = null;

        /**
        * Speed you are going.
        */
        @ApiMember(Description="Speed you are going.", ParameterType="query")
        public Double Speed = null;

        /**
        * Speed your altitude is ascending/descending at.
        */
        @ApiMember(Description="Speed your altitude is ascending/descending at.", ParameterType="query")
        public Double VerticalSpeed = null;
        
        public Double getLatitude() { return Latitude; }
        public LocationCoordinatesModel setLatitude(Double value) { this.Latitude = value; return this; }
        public Double getLongitude() { return Longitude; }
        public LocationCoordinatesModel setLongitude(Double value) { this.Longitude = value; return this; }
        public Double getAltitude() { return Altitude; }
        public LocationCoordinatesModel setAltitude(Double value) { this.Altitude = value; return this; }
        public Double getAccuracy() { return Accuracy; }
        public LocationCoordinatesModel setAccuracy(Double value) { this.Accuracy = value; return this; }
        public Double getAltitudeAccuracy() { return AltitudeAccuracy; }
        public LocationCoordinatesModel setAltitudeAccuracy(Double value) { this.AltitudeAccuracy = value; return this; }
        public Double getHeading() { return Heading; }
        public LocationCoordinatesModel setHeading(Double value) { this.Heading = value; return this; }
        public Double getSpeed() { return Speed; }
        public LocationCoordinatesModel setSpeed(Double value) { this.Speed = value; return this; }
        public Double getVerticalSpeed() { return VerticalSpeed; }
        public LocationCoordinatesModel setVerticalSpeed(Double value) { this.VerticalSpeed = value; return this; }
    }

    public static class PhoneModel
    {
        /**
        * Country Code
        */
        @ApiMember(DataType="string", Description="Country Code", Name="CountryCode", ParameterType="body")
        public String CountryCode = null;

        /**
        * Area Code
        */
        @ApiMember(DataType="string", Description="Area Code", Name="AreaCode", ParameterType="body")
        public String AreaCode = null;

        /**
        * Local Number
        */
        @ApiMember(DataType="string", Description="Local Number", Name="LocalNumber", ParameterType="body")
        public String LocalNumber = null;
        
        public String getCountryCode() { return CountryCode; }
        public PhoneModel setCountryCode(String value) { this.CountryCode = value; return this; }
        public String getAreaCode() { return AreaCode; }
        public PhoneModel setAreaCode(String value) { this.AreaCode = value; return this; }
        public String getLocalNumber() { return LocalNumber; }
        public PhoneModel setLocalNumber(String value) { this.LocalNumber = value; return this; }
    }

    public static class ContactDetailModel
    {
        /**
        * Contact Method Id
        */
        @ApiMember(DataType="Guid", Description="Contact Method Id", Name="ContactMethodId", ParameterType="query")
        public UUID ContactMethodId = null;

        /**
        * Contact Method Name
        */
        @ApiMember(DataType="string", Description="Contact Method Name", Name="ContactMethodName", ParameterType="query")
        public String ContactMethodName = null;

        /**
        * Contact Address Details
        */
        @ApiMember(DataType="ContactAddressModel", Description="Contact Address Details", Name="ContactAddress", ParameterType="query")
        public ContactAddressModel ContactAddress = null;

        /**
        * Contact Phone Details
        */
        @ApiMember(DataType="PhoneModel", Description="Contact Phone Details", Name="ContactPhone", ParameterType="query")
        public PhoneModel ContactPhone = null;

        /**
        * Country id
        */
        @ApiMember(DataType="Guid", Description="Country id", Name="CountryId", ParameterType="query")
        public UUID CountryId = null;

        /**
        * Contact Details
        */
        @ApiMember(DataType="string", Description="Contact Details", Name="ContactDetails", ParameterType="query")
        public String ContactDetails = null;

        /**
        * Notes
        */
        @ApiMember(DataType="string", Description="Notes", Name="Notes", ParameterType="query")
        public String Notes = null;

        /**
        * Contact Details Code
        */
        @ApiMember(DataType="string", Description="Contact Details Code", Name="ContactDetailsCode", ParameterType="query")
        public String ContactDetailsCode = null;

        /**
        * Order of Contact Method Id
        */
        @ApiMember(DataType="int", Description="Order of Contact Method Id", Name="OrderContactMethod", ParameterType="query")
        public Integer OrderContactMethod = null;

        /**
        * Contact Method Id
        */
        @ApiMember(DataType="bool", Description="Contact Method Id", Name="IsPrimaryContactMethod", ParameterType="query")
        public Boolean IsPrimaryContactMethod = null;

        /**
        * Is contact details an address
        */
        @ApiMember(DataType="bool", Description="Is contact details an address", Name="IsAddress", ParameterType="query")
        public Boolean IsAddress = null;

        /**
        * Contact Contact Detail Id
        */
        @ApiMember(DataType="Guid", Description="Contact Contact Detail Id", Name="ContactContactDetailId", ParameterType="query")
        public UUID ContactContactDetailId = null;

        /**
        * Contact Id
        */
        @ApiMember(DataType="Guid", Description="Contact Id", Name="ContactId", ParameterType="query")
        public UUID ContactId = null;

        /**
        * Contact Details Id
        */
        @ApiMember(DataType="Guid", Description="Contact Details Id", Name="ContactDetailId", ParameterType="query")
        public UUID ContactDetailId = null;

        /**
        * Is contact details a primary location
        */
        @ApiMember(DataType="bool", Description="Is contact details a primary location", Name="IsPrimaryLocation", ParameterType="query")
        public Boolean IsPrimaryLocation = null;

        /**
        * Is contact details a registered location
        */
        @ApiMember(DataType="bool", Description="Is contact details a registered location", Name="IsRegisteredLocation", ParameterType="query")
        public Boolean IsRegisteredLocation = null;

        /**
        * Is contact details a postal address
        */
        @ApiMember(DataType="bool", Description="Is contact details a postal address", Name="IsPostal", ParameterType="query")
        public Boolean IsPostal = null;

        /**
        * Is contact details a phone number
        */
        @ApiMember(DataType="bool", Description="Is contact details a phone number", Name="IsPhone", ParameterType="query")
        public Boolean IsPhone = null;

        /**
        * Email Signature Id
        */
        @ApiMember(DataType="Guid", Description="Email Signature Id", Name="EmailSignatureId", ParameterType="query")
        public UUID EmailSignatureId = null;

        /**
        * Email Signature HTML
        */
        @ApiMember(DataType="string", Description="Email Signature HTML", Name="EmailSignatureHTML", ParameterType="query")
        public String EmailSignatureHTML = null;

        /**
        * Email Signature Text
        */
        @ApiMember(DataType="string", Description="Email Signature Text", Name="EmailSignatureText", ParameterType="query")
        public String EmailSignatureText = null;

        /**
        * API Key from Framework
        */
        @ApiMember(DataType="string", Description="API Key from Framework", Name="ApiFrameworkAlternateKey", ParameterType="query")
        public String ApiFrameworkAlternateKey = null;
        
        public UUID getContactMethodId() { return ContactMethodId; }
        public ContactDetailModel setContactMethodId(UUID value) { this.ContactMethodId = value; return this; }
        public String getContactMethodName() { return ContactMethodName; }
        public ContactDetailModel setContactMethodName(String value) { this.ContactMethodName = value; return this; }
        public ContactAddressModel getContactAddress() { return ContactAddress; }
        public ContactDetailModel setContactAddress(ContactAddressModel value) { this.ContactAddress = value; return this; }
        public PhoneModel getContactPhone() { return ContactPhone; }
        public ContactDetailModel setContactPhone(PhoneModel value) { this.ContactPhone = value; return this; }
        public UUID getCountryId() { return CountryId; }
        public ContactDetailModel setCountryId(UUID value) { this.CountryId = value; return this; }
        public String getContactDetails() { return ContactDetails; }
        public ContactDetailModel setContactDetails(String value) { this.ContactDetails = value; return this; }
        public String getNotes() { return Notes; }
        public ContactDetailModel setNotes(String value) { this.Notes = value; return this; }
        public String getContactDetailsCode() { return ContactDetailsCode; }
        public ContactDetailModel setContactDetailsCode(String value) { this.ContactDetailsCode = value; return this; }
        public Integer getOrderContactMethod() { return OrderContactMethod; }
        public ContactDetailModel setOrderContactMethod(Integer value) { this.OrderContactMethod = value; return this; }
        public Boolean getIsPrimaryContactMethod() { return IsPrimaryContactMethod; }
        public ContactDetailModel setIsPrimaryContactMethod(Boolean value) { this.IsPrimaryContactMethod = value; return this; }
        public Boolean getIsAddress() { return IsAddress; }
        public ContactDetailModel setIsAddress(Boolean value) { this.IsAddress = value; return this; }
        public UUID getContactContactDetailId() { return ContactContactDetailId; }
        public ContactDetailModel setContactContactDetailId(UUID value) { this.ContactContactDetailId = value; return this; }
        public UUID getContactId() { return ContactId; }
        public ContactDetailModel setContactId(UUID value) { this.ContactId = value; return this; }
        public UUID getContactDetailId() { return ContactDetailId; }
        public ContactDetailModel setContactDetailId(UUID value) { this.ContactDetailId = value; return this; }
        public Boolean getIsPrimaryLocation() { return IsPrimaryLocation; }
        public ContactDetailModel setIsPrimaryLocation(Boolean value) { this.IsPrimaryLocation = value; return this; }
        public Boolean getIsRegisteredLocation() { return IsRegisteredLocation; }
        public ContactDetailModel setIsRegisteredLocation(Boolean value) { this.IsRegisteredLocation = value; return this; }
        public Boolean getIsPostal() { return IsPostal; }
        public ContactDetailModel setIsPostal(Boolean value) { this.IsPostal = value; return this; }
        public Boolean getIsPhone() { return IsPhone; }
        public ContactDetailModel setIsPhone(Boolean value) { this.IsPhone = value; return this; }
        public UUID getEmailSignatureId() { return EmailSignatureId; }
        public ContactDetailModel setEmailSignatureId(UUID value) { this.EmailSignatureId = value; return this; }
        public String getEmailSignatureHTML() { return EmailSignatureHTML; }
        public ContactDetailModel setEmailSignatureHTML(String value) { this.EmailSignatureHTML = value; return this; }
        public String getEmailSignatureText() { return EmailSignatureText; }
        public ContactDetailModel setEmailSignatureText(String value) { this.EmailSignatureText = value; return this; }
        public String getApiFrameworkAlternateKey() { return ApiFrameworkAlternateKey; }
        public ContactDetailModel setApiFrameworkAlternateKey(String value) { this.ApiFrameworkAlternateKey = value; return this; }
    }

    public static class ContactAddressModel
    {
        /**
        * Location Details.
        */
        @ApiMember(DataType="GeoLocationModel", Description="Location Details.", Name="Location", ParameterType="query")
        public GeoLocationModel Location = null;

        /**
        * Is address postal.
        */
        @ApiMember(DataType="bool", Description="Is address postal.", Name="IsPostal", ParameterType="query")
        public Boolean IsPostal = null;

        /**
        * Is address primary.
        */
        @ApiMember(DataType="bool", Description="Is address primary.", Name="IsPrimaryLocation", ParameterType="query")
        public Boolean IsPrimaryLocation = null;

        /**
        * Is address registered.
        */
        @ApiMember(DataType="bool", Description="Is address registered.", Name="IsRegisteredLocation", ParameterType="query")
        public Boolean IsRegisteredLocation = null;

        /**
        * Contact Address Id.
        */
        @ApiMember(DataType="Guid", Description="Contact Address Id.", Name="ContactAddressId", ParameterType="query")
        public UUID ContactAddressId = null;

        /**
        * Contact Address Suburb Name.
        */
        @ApiMember(DataType="string", Description="Contact Address Suburb Name.", Name="SuburbName", ParameterType="query")
        public String SuburbName = null;

        /**
        * Contact Address Street Name.
        */
        @ApiMember(DataType="string", Description="Contact Address Street Name.", Name="StateName", ParameterType="query")
        public String StateName = null;

        /**
        * Contact Country Name.
        */
        @ApiMember(DataType="string", Description="Contact Country Name.", Name="CountryName", ParameterType="query")
        public String CountryName = null;
        
        public GeoLocationModel getLocation() { return Location; }
        public ContactAddressModel setLocation(GeoLocationModel value) { this.Location = value; return this; }
        public Boolean getIsPostal() { return IsPostal; }
        public ContactAddressModel setIsPostal(Boolean value) { this.IsPostal = value; return this; }
        public Boolean getIsPrimaryLocation() { return IsPrimaryLocation; }
        public ContactAddressModel setIsPrimaryLocation(Boolean value) { this.IsPrimaryLocation = value; return this; }
        public Boolean getIsRegisteredLocation() { return IsRegisteredLocation; }
        public ContactAddressModel setIsRegisteredLocation(Boolean value) { this.IsRegisteredLocation = value; return this; }
        public UUID getContactAddressId() { return ContactAddressId; }
        public ContactAddressModel setContactAddressId(UUID value) { this.ContactAddressId = value; return this; }
        public String getSuburbName() { return SuburbName; }
        public ContactAddressModel setSuburbName(String value) { this.SuburbName = value; return this; }
        public String getStateName() { return StateName; }
        public ContactAddressModel setStateName(String value) { this.StateName = value; return this; }
        public String getCountryName() { return CountryName; }
        public ContactAddressModel setCountryName(String value) { this.CountryName = value; return this; }
    }

    public static class GeoLocationModel
    {
        /**
        * The location id
        */
        @ApiMember(DataType="Guid", Description="The location id", Name="GeoLocationId", ParameterType="query")
        public UUID GeoLocationId = null;

        /**
        * The state id
        */
        @ApiMember(DataType="Guid", Description="The state id", Name="StateId", ParameterType="query")
        public UUID StateId = null;

        /**
        * The state name
        */
        @ApiMember(DataType="string", Description="The state name", Name="StateName", ParameterType="query")
        public String StateName = null;

        /**
        * The suburb id
        */
        @ApiMember(DataType="Guid", Description="The suburb id", Name="SuburbId", ParameterType="query")
        public UUID SuburbId = null;

        /**
        * The suburb name
        */
        @ApiMember(DataType="string", Description="The suburb name", Name="SuburbName", ParameterType="query")
        public String SuburbName = null;

        /**
        * The country id
        */
        @ApiMember(DataType="Guid", Description="The country id", Name="CountryId", ParameterType="query")
        public UUID CountryId = null;

        /**
        * The country name
        */
        @ApiMember(DataType="string", Description="The country name", Name="CountryName", ParameterType="query")
        public String CountryName = null;

        /**
        * The lot number
        */
        @ApiMember(DataType="string", Description="The lot number", Name="LotNumber", ParameterType="query")
        public String LotNumber = null;

        /**
        * The unit number
        */
        @ApiMember(DataType="string", Description="The unit number", Name="SubUnit", ParameterType="query")
        public String SubUnit = null;

        /**
        * The building number
        */
        @ApiMember(DataType="string", Description="The building number", Name="BuildingNumber", ParameterType="query")
        public String BuildingNumber = null;

        /**
        * PO Box Number
        */
        @ApiMember(DataType="string", Description="PO Box Number", Name="PostalDeliveryNumber", ParameterType="query")
        public String PostalDeliveryNumber = null;

        /**
        * The Street Number
        */
        @ApiMember(DataType="string", Description="The Street Number", Name="StreetNumber", ParameterType="query")
        public String StreetNumber = null;

        /**
        * The Street name
        */
        @ApiMember(DataType="string", Description="The Street name", Name="StreetName", ParameterType="query")
        public String StreetName = null;

        /**
        * Address Line ONe
        */
        @ApiMember(DataType="string", Description="Address Line ONe", Name="AddressLineOne", ParameterType="query")
        public String AddressLineOne = null;

        /**
        * Address Line Two
        */
        @ApiMember(DataType="string", Description="Address Line Two", Name="AddressLineTwo", ParameterType="query")
        public String AddressLineTwo = null;

        /**
        * Post code
        */
        @ApiMember(DataType="string", Description="Post code", Name="PostCode", ParameterType="query")
        public String PostCode = null;

        /**
        * Is location physical
        */
        @ApiMember(DataType="bool", Description="Is location physical", Name="IsPhysical", ParameterType="query")
        public Boolean IsPhysical = null;

        /**
        * Notes about the location
        */
        @ApiMember(DataType="string", Description="Notes about the location", Name="Notes", ParameterType="query")
        public String Notes = null;

        /**
        * The address in full
        */
        @ApiMember(DataType="string", Description="The address in full", Name="AddressFull", ParameterType="query")
        public String AddressFull = null;

        /**
        * Address format id.
        */
        @ApiMember(DataType="Guid", Description="Address format id.", Name="AddressFormatId", ParameterType="query")
        public UUID AddressFormatId = null;

        /**
        * Latitude
        */
        @ApiMember(DataType="double", Description="Latitude", Name="Latitude", ParameterType="query")
        public Double Latitude = null;

        /**
        * Longitude
        */
        @ApiMember(DataType="double", Description="Longitude", Name="Longitude", ParameterType="query")
        public Double Longitude = null;

        /**
        * Timezone Id
        */
        @ApiMember(DataType="Guid?", Description="Timezone Id", Name="Timezone", ParameterType="query")
        public UUID Timezone = null;

        public GeoEstateModel Estate = null;
        public UUID GeoEstateId = null;
        public UUID GeoEstateStageId = null;
        public String GeoEstateStageName = null;
        public Boolean IgnoreValidation = null;
        
        public UUID getGeoLocationId() { return GeoLocationId; }
        public GeoLocationModel setGeoLocationId(UUID value) { this.GeoLocationId = value; return this; }
        public UUID getStateId() { return StateId; }
        public GeoLocationModel setStateId(UUID value) { this.StateId = value; return this; }
        public String getStateName() { return StateName; }
        public GeoLocationModel setStateName(String value) { this.StateName = value; return this; }
        public UUID getSuburbId() { return SuburbId; }
        public GeoLocationModel setSuburbId(UUID value) { this.SuburbId = value; return this; }
        public String getSuburbName() { return SuburbName; }
        public GeoLocationModel setSuburbName(String value) { this.SuburbName = value; return this; }
        public UUID getCountryId() { return CountryId; }
        public GeoLocationModel setCountryId(UUID value) { this.CountryId = value; return this; }
        public String getCountryName() { return CountryName; }
        public GeoLocationModel setCountryName(String value) { this.CountryName = value; return this; }
        public String getLotNumber() { return LotNumber; }
        public GeoLocationModel setLotNumber(String value) { this.LotNumber = value; return this; }
        public String getSubUnit() { return SubUnit; }
        public GeoLocationModel setSubUnit(String value) { this.SubUnit = value; return this; }
        public String getBuildingNumber() { return BuildingNumber; }
        public GeoLocationModel setBuildingNumber(String value) { this.BuildingNumber = value; return this; }
        public String getPostalDeliveryNumber() { return PostalDeliveryNumber; }
        public GeoLocationModel setPostalDeliveryNumber(String value) { this.PostalDeliveryNumber = value; return this; }
        public String getStreetNumber() { return StreetNumber; }
        public GeoLocationModel setStreetNumber(String value) { this.StreetNumber = value; return this; }
        public String getStreetName() { return StreetName; }
        public GeoLocationModel setStreetName(String value) { this.StreetName = value; return this; }
        public String getAddressLineOne() { return AddressLineOne; }
        public GeoLocationModel setAddressLineOne(String value) { this.AddressLineOne = value; return this; }
        public String getAddressLineTwo() { return AddressLineTwo; }
        public GeoLocationModel setAddressLineTwo(String value) { this.AddressLineTwo = value; return this; }
        public String getPostCode() { return PostCode; }
        public GeoLocationModel setPostCode(String value) { this.PostCode = value; return this; }
        public Boolean getIsPhysical() { return IsPhysical; }
        public GeoLocationModel setIsPhysical(Boolean value) { this.IsPhysical = value; return this; }
        public String getNotes() { return Notes; }
        public GeoLocationModel setNotes(String value) { this.Notes = value; return this; }
        public String getAddressFull() { return AddressFull; }
        public GeoLocationModel setAddressFull(String value) { this.AddressFull = value; return this; }
        public UUID getAddressFormatId() { return AddressFormatId; }
        public GeoLocationModel setAddressFormatId(UUID value) { this.AddressFormatId = value; return this; }
        public Double getLatitude() { return Latitude; }
        public GeoLocationModel setLatitude(Double value) { this.Latitude = value; return this; }
        public Double getLongitude() { return Longitude; }
        public GeoLocationModel setLongitude(Double value) { this.Longitude = value; return this; }
        public UUID getTimezone() { return Timezone; }
        public GeoLocationModel setTimezone(UUID value) { this.Timezone = value; return this; }
        public GeoEstateModel getEstate() { return Estate; }
        public GeoLocationModel setEstate(GeoEstateModel value) { this.Estate = value; return this; }
        public UUID getGeoEstateId() { return GeoEstateId; }
        public GeoLocationModel setGeoEstateId(UUID value) { this.GeoEstateId = value; return this; }
        public UUID getGeoEstateStageId() { return GeoEstateStageId; }
        public GeoLocationModel setGeoEstateStageId(UUID value) { this.GeoEstateStageId = value; return this; }
        public String getGeoEstateStageName() { return GeoEstateStageName; }
        public GeoLocationModel setGeoEstateStageName(String value) { this.GeoEstateStageName = value; return this; }
        public Boolean isIgnoreValidation() { return IgnoreValidation; }
        public GeoLocationModel setIgnoreValidation(Boolean value) { this.IgnoreValidation = value; return this; }
    }

    public static class GeoEstateModel
    {
        public UUID GeoEstateId = null;
        public String Name = null;
        public String Notes = null;
        public UUID DeveloperContactId = null;
        public String DeveloperName = null;
        public String DeveloperProfilePhotoUrl = null;
        public String DeveloperProfilePhotoThumbnail = null;
        public String RecordStatus = null;
        public ArrayList<GeoEstateStageModel> Stages = null;
        public UUID CurrentEstateStageId = null;
        public String CurrentEstateStageName = null;
        
        public UUID getGeoEstateId() { return GeoEstateId; }
        public GeoEstateModel setGeoEstateId(UUID value) { this.GeoEstateId = value; return this; }
        public String getName() { return Name; }
        public GeoEstateModel setName(String value) { this.Name = value; return this; }
        public String getNotes() { return Notes; }
        public GeoEstateModel setNotes(String value) { this.Notes = value; return this; }
        public UUID getDeveloperContactId() { return DeveloperContactId; }
        public GeoEstateModel setDeveloperContactId(UUID value) { this.DeveloperContactId = value; return this; }
        public String getDeveloperName() { return DeveloperName; }
        public GeoEstateModel setDeveloperName(String value) { this.DeveloperName = value; return this; }
        public String getDeveloperProfilePhotoUrl() { return DeveloperProfilePhotoUrl; }
        public GeoEstateModel setDeveloperProfilePhotoUrl(String value) { this.DeveloperProfilePhotoUrl = value; return this; }
        public String getDeveloperProfilePhotoThumbnail() { return DeveloperProfilePhotoThumbnail; }
        public GeoEstateModel setDeveloperProfilePhotoThumbnail(String value) { this.DeveloperProfilePhotoThumbnail = value; return this; }
        public String getRecordStatus() { return RecordStatus; }
        public GeoEstateModel setRecordStatus(String value) { this.RecordStatus = value; return this; }
        public ArrayList<GeoEstateStageModel> getStages() { return Stages; }
        public GeoEstateModel setStages(ArrayList<GeoEstateStageModel> value) { this.Stages = value; return this; }
        public UUID getCurrentEstateStageId() { return CurrentEstateStageId; }
        public GeoEstateModel setCurrentEstateStageId(UUID value) { this.CurrentEstateStageId = value; return this; }
        public String getCurrentEstateStageName() { return CurrentEstateStageName; }
        public GeoEstateModel setCurrentEstateStageName(String value) { this.CurrentEstateStageName = value; return this; }
    }

    public static class GeoEstateStageModel
    {
        public UUID GeoEstateStageId = null;
        public UUID GeoEstateId = null;
        public String Name = null;
        public String Notes = null;
        public String RecordStatus = null;
        
        public UUID getGeoEstateStageId() { return GeoEstateStageId; }
        public GeoEstateStageModel setGeoEstateStageId(UUID value) { this.GeoEstateStageId = value; return this; }
        public UUID getGeoEstateId() { return GeoEstateId; }
        public GeoEstateStageModel setGeoEstateId(UUID value) { this.GeoEstateId = value; return this; }
        public String getName() { return Name; }
        public GeoEstateStageModel setName(String value) { this.Name = value; return this; }
        public String getNotes() { return Notes; }
        public GeoEstateStageModel setNotes(String value) { this.Notes = value; return this; }
        public String getRecordStatus() { return RecordStatus; }
        public GeoEstateStageModel setRecordStatus(String value) { this.RecordStatus = value; return this; }
    }

    public static class PhoneModel
    {
        /**
        * Phone Country Code.
        */
        @ApiMember(DataType="string", Description="Phone Country Code.", Name="CountryCode", ParameterType="query")
        public String CountryCode = null;

        /**
        * Phone Area Code.
        */
        @ApiMember(DataType="string", Description="Phone Area Code.", Name="AreaCode", ParameterType="query")
        public String AreaCode = null;

        /**
        * Phone Local Number.
        */
        @ApiMember(DataType="string", Description="Phone Local Number.", Name="LocalNumber", ParameterType="query")
        public String LocalNumber = null;
        
        public String getCountryCode() { return CountryCode; }
        public PhoneModel setCountryCode(String value) { this.CountryCode = value; return this; }
        public String getAreaCode() { return AreaCode; }
        public PhoneModel setAreaCode(String value) { this.AreaCode = value; return this; }
        public String getLocalNumber() { return LocalNumber; }
        public PhoneModel setLocalNumber(String value) { this.LocalNumber = value; return this; }
    }

}

Java GetContactsInRole DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/contacts/{RoleId} HTTP/1.1 
Host: pfapi.pstpf.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	UserProfiles: 
	[
		{
			BirthDate: 0001-01-01,
			MaritalStatusName: String,
			GenderName: String,
			GenderId: 00000000000000000000000000000000,
			ContactDetails: 
			[
				{
					ContactMethodName: String,
					ContactAddress: 
					{
						Location: 
						{
							StateId: 00000000000000000000000000000000,
							StateName: String,
							SuburbId: 00000000000000000000000000000000,
							SuburbName: String,
							CountryId: 00000000000000000000000000000000,
							CountryName: String,
							LotNumber: String,
							SubUnit: String,
							BuildingNumber: String,
							PostalDeliveryNumber: String,
							StreetNumber: String,
							StreetName: String,
							AddressLineOne: String,
							AddressLineTwo: String,
							PostCode: String,
							IsPhysical: False,
							Notes: String,
							AddressFull: String,
							AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
							Latitude: 0,
							Longitude: 0,
							Timezone: 00000000000000000000000000000000,
							Estate: 
							{
								Name: String,
								Notes: String,
								DeveloperName: String,
								DeveloperProfilePhotoUrl: String,
								DeveloperProfilePhotoThumbnail: String,
								RecordStatus: String,
								Stages: 
								[
									{
										Name: String,
										Notes: String,
										RecordStatus: String
									}
								],
								CurrentEstateStageName: String
							},
							GeoEstateStageName: String,
							IgnoreValidation: False
						},
						IsPostal: False,
						IsPrimaryLocation: False,
						IsRegisteredLocation: False,
						SuburbName: String,
						StateName: String,
						CountryName: String
					},
					ContactPhone: 
					{
						CountryCode: String,
						AreaCode: String,
						LocalNumber: String
					},
					CountryId: 00000000000000000000000000000000,
					ContactDetails: String,
					Notes: String,
					ContactDetailsCode: String,
					OrderContactMethod: 0,
					IsPrimaryContactMethod: False,
					IsAddress: True,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					IsPostal: False,
					IsPhone: False,
					EmailSignatureHTML: String,
					EmailSignatureText: String,
					ApiFrameworkAlternateKey: String
				}
			],
			PrimaryStreetAddress: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			PrimaryPostalAddress: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			PrimaryRegisteredAddress: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			PrimaryEmail: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			PrimaryMobile: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			PrimaryPhone: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			PrimaryFax: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			PrimaryWeb: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			SocialMediaTwitter: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			SocialMediaFacebook: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			SocialMediaInstagram: 
			{
				ContactMethodName: String,
				ContactAddress: 
				{
					Location: 
					{
						StateId: 00000000000000000000000000000000,
						StateName: String,
						SuburbId: 00000000000000000000000000000000,
						SuburbName: String,
						CountryId: 00000000000000000000000000000000,
						CountryName: String,
						LotNumber: String,
						SubUnit: String,
						BuildingNumber: String,
						PostalDeliveryNumber: String,
						StreetNumber: String,
						StreetName: String,
						AddressLineOne: String,
						AddressLineTwo: String,
						PostCode: String,
						IsPhysical: False,
						Notes: String,
						AddressFull: String,
						AddressFormatId: 4f7bf5b4-d77c-4ac7-99d6-7a575964480d,
						Latitude: 0,
						Longitude: 0,
						Timezone: 00000000000000000000000000000000,
						Estate: 
						{
							Name: String,
							Notes: String,
							DeveloperName: String,
							DeveloperProfilePhotoUrl: String,
							DeveloperProfilePhotoThumbnail: String,
							RecordStatus: String,
							Stages: 
							[
								{
									Name: String,
									Notes: String,
									RecordStatus: String
								}
							],
							CurrentEstateStageName: String
						},
						GeoEstateStageName: String,
						IgnoreValidation: False
					},
					IsPostal: False,
					IsPrimaryLocation: False,
					IsRegisteredLocation: False,
					SuburbName: String,
					StateName: String,
					CountryName: String
				},
				ContactPhone: 
				{
					CountryCode: String,
					AreaCode: String,
					LocalNumber: String
				},
				CountryId: 00000000000000000000000000000000,
				ContactDetails: String,
				Notes: String,
				ContactDetailsCode: String,
				OrderContactMethod: 0,
				IsPrimaryContactMethod: False,
				IsAddress: True,
				IsPrimaryLocation: False,
				IsRegisteredLocation: False,
				IsPostal: False,
				IsPhone: False,
				EmailSignatureHTML: String,
				EmailSignatureText: String,
				ApiFrameworkAlternateKey: String
			},
			IsRemovedContact: False,
			IsDefault: False,
			IsEmailEditable: False,
			PrimaryImageContent: String,
			PrimaryImageContentType: String,
			PrimaryImageFileName: String,
			UserName: String,
			ProfileName: String,
			ContactFullName: String,
			EmailAddress: String,
			EmailSignature: String,
			MobileNumber: String,
			PhoneNumber: String,
			ContactTypeName: String,
			FirstName: String,
			Surname: String,
			Title: String,
			LegalName: String,
			TradingName: String,
			Abn: String,
			Acn: String,
			Arbn: String,
			GstRegistered: False,
			ESL: False,
			Language: String,
			InterpreterRequired: False,
			LicenseeNotes: String,
			ProfilePhotoUrl: String,
			ProfilePhotoThumbnailUrl: String,
			Description: String,
			EmploymentIndustry: String,
			EmploymentRole: String,
			EmploymentGeographicArea: String,
			TimezoneName: String,
			PrimaryAddress: String,
			IsActiveContact: False
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}