' Options: 'Date: 2025-09-14 07:34:19 'Version: 8.52 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://production-eros-platform-apisubscription.azurewebsites.net/api ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: GetContacts.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports Eros.Saguna.Common.WebAPI.ServiceModel Imports Eros.Causal.Common.Entity Imports Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription Namespace Global Namespace Eros.Causal.Common.Entity Public Partial Class ContactsStaff Public Overridable Property ContactId As Guid Public Overridable Property ContactStaffId As Guid End Class End Namespace Namespace Eros.Saguna.Common.WebAPI.ServiceModel Public Partial Class AddressModel ''' '''The distance between this project and another specified set of gps coordinates. ''' Public Overridable Property DistanceAway As Double ''' '''The latitude of an address - geographic coordinates specifying the north-south position of a point on the Earth's surface. ''' Public Overridable Property Latitude As Double ''' '''The longitude of an address - geographic coordinates specifying the east-west position of a point on the Earth's surface. ''' Public Overridable Property Longitude As Double ''' '''Address Format Id Guid - this will be determined by the service. ''' Public Overridable Property AddressFormatId As Guid ''' '''Suburb Id Guid - this will attempt to be determined by the SuburbName, StateShortName and Postcode entered. ''' Public Overridable Property SuburbId As Guid ''' '''The suburb name. ''' Public Overridable Property SuburbName As String ''' '''The shortened State Name e.g Vic for Victoria. ''' Public Overridable Property StateShortName As String ''' '''The suburb postcode. ''' Public Overridable Property PostCode As String ''' '''Country Id Guid - this will be determined by the CountrName or ISOCountryCode entered. ''' Public Overridable Property CountryId As Guid ''' '''the name of the country the address is within. ''' Public Overridable Property CountryName As String ''' '''A 2 digit ISO Country Code representing the country. ''' Public Overridable Property ISOCountryCode As String ''' '''The address Lot number. ''' Public Overridable Property LotNumber As String ''' '''The address Sub Unit number. ''' Public Overridable Property SubUnit As String ''' '''The address building number. ''' Public Overridable Property BuildingNumber As String ''' '''The address street number. ''' Public Overridable Property StreetNumber As String ''' '''The address street name including street type. ''' Public Overridable Property StreetName As String ''' '''A formatted address Line 1. ''' Public Overridable Property AddressLineOne As String ''' '''A formatted address Line 2. ''' Public Overridable Property AddressLineTwo As String ''' '''The full address string. ''' Public Overridable Property AddressFull As String ''' '''True if the address is a physical location. ''' Public Overridable Property IsPhysical As Boolean? ''' '''Notes about the address. ''' Public Overridable Property Notes As String ''' '''If true, the address is eligible for having its coordinates calculated/updated. ''' Public Overridable Property AutoMapCoordinates As Boolean? ''' '''Location Coordinates for the address. ''' Public Overridable Property LocationCoordinates As LocationCoordinatesModel End Class Public Partial Class ContactAddressModel Public Overridable Property Address As AddressModel Public Overridable Property IsPostal As Boolean Public Overridable Property IsPrimaryLocation As Boolean Public Overridable Property IsRegisteredLocation As Boolean Public Overridable Property SuburbName As String Public Overridable Property StateName As String Public Overridable Property CountryName As String End Class Public Partial Class ContactDetailModel Public Overridable Property ContactMethodId As Guid Public Overridable Property ContactMethodName As String Public Overridable Property ContactAddress As ContactAddressModel Public Overridable Property ContactPhone As PhoneModel Public Overridable Property CountryId As Guid? Public Overridable Property ContactDetails As String Public Overridable Property Notes As String Public Overridable Property ContactDetailsCode As String Public Overridable Property OrderContactMethod As Integer Public Overridable Property IsPrimaryContactMethod As Boolean Public Overridable Property IsAddress As Boolean End Class Public Partial Class ContactRole ''' '''Guid of the Role List Item object within Eros. ''' Public Overridable Property RoleId As Guid ''' '''The unique key that represents the role type on the external system. ''' Public Overridable Property AlternateKey As String End Class Public Partial Class GetContactsModel ''' '''List of Contacts with details. ''' Public Overridable Property Contacts As IList(Of SubscriptionContactModel) ''' '''List of contact-staff details. ''' Public Overridable Property ContactStaff As IList(Of ContactsStaff) End Class Public Partial Class LocationCoordinatesModel ''' '''The latitude of an address - geographic coordinates specifying the north-south position of a point on the Earth's surface. ''' Public Overridable Property Latitude As Double ''' '''The longitude of an address - geographic coordinates specifying the east-west position of a point on the Earth's surface. ''' Public Overridable Property Longitude As Double ''' '''The altitude of an address - the altitude above sea level. ''' Public Overridable Property Altitude As Double? ''' '''Accuracy of the latitude and longitude. ''' Public Overridable Property Accuracy As Double? ''' '''Accurancy of the Altitude. ''' Public Overridable Property AltitudeAccuracy As Double? ''' '''Direction you are heading. ''' Public Overridable Property Heading As Double? ''' '''Speed you are going. ''' Public Overridable Property Speed As Double? ''' '''Speed your altitude is ascending/descending at. ''' Public Overridable Property VerticalSpeed As Double? End Class Public Partial Class PhoneModel Public Overridable Property CountryCode As String Public Overridable Property AreaCode As String Public Overridable Property LocalNumber As String End Class Public Partial Class SubscriptionContactModel ''' '''Guid of the contact object within Eros. ''' Public Overridable Property ContactId As Guid ''' '''Guid of the Contact Type List Item object within Eros. ''' Public Overridable Property ContactType As Guid ''' '''Guid of the Marital Status List Item object within Eros. ''' Public Overridable Property MaritalStatus As Guid? ''' '''Guid of the Gender List Item object within Eros. ''' Public Overridable Property Gender As Guid? ''' '''The first given name for the contact. Applies to a person contact type. ''' Public Overridable Property FirstName As String ''' '''The middle name(s) for the contact. Applies to a person contact type. ''' Public Overridable Property MiddleName As String ''' '''The surname for the contact. Applies to a person contact type. ''' Public Overridable Property Surname As String ''' '''The full name for the contact. ''' Public Overridable Property FullName As String ''' '''A short name for the contact. ''' Public Overridable Property ShortName As String ''' '''The birth date for the contact. Applies to a person contact type. ''' Public Overridable Property BirthDate As Date? ''' '''The title for the contact. Applies to a person contact type. ''' Public Overridable Property Title As String ''' '''A salutation for the contact. ''' Public Overridable Property Salutation As String ''' '''The A.B.N for the contact. ''' Public Overridable Property Abn As String ''' '''The A.C.N for the contact. ''' Public Overridable Property Acn As String ''' '''The A.R.B.N for the contact. ''' Public Overridable Property Arbn As String ''' '''A trading name for the contact. ''' Public Overridable Property TradingName As String ''' '''A legal name for the contact. ''' Public Overridable Property LegalName As String ''' '''Any notes/description for the contact. ''' Public Overridable Property Notes As String ''' '''Contact Employment Industry. ''' Public Overridable Property EmploymentIndustry As String ''' '''Contact Employment Role. ''' Public Overridable Property EmploymentRole As String ''' '''Contact Employment Geographic Area. ''' Public Overridable Property EmploymentGeographicArea As String ''' '''The Contacts Drivers Licence Number ''' Public Overridable Property DriversLicence As String ''' '''Indicates if the Contact is registered for GST ''' Public Overridable Property GstRegistered As Boolean ''' '''The status of the contact in EROS ''' Public Overridable Property RecordStatus As String ''' '''A list of roles this contact has. ''' ", Description:="A list of roles this contact has.", IsRequired:=true, Name:="ContactRoles", ParameterType:="query")> Public Overridable Property ContactRoles As List(Of ContactRole) = New List(Of ContactRole) ''' '''A list of the contact details for the contact. ''' ", Description:="A list of the contact details for the contact.", IsRequired:=true, Name:="ContactDetails", ParameterType:="query")> Public Overridable Property ContactDetails As List(Of ContactDetailModel) = New List(Of ContactDetailModel) ''' '''Custom Content XML for the contact. ''' Public Overridable Property CustomContentXML As String Public Overridable Property BlobImageURLPrimary As String Public Overridable Property BlobImageURLPrimaryThumbnail As String ''' '''The primary mobile for the contact. ''' Public Overridable Property PrimaryMobile As String ''' '''The primary email for the contact. ''' Public Overridable Property PrimaryEmail As String End Class End Namespace Namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription ''' '''Returns a list of contacts with specified roles. There are options to include custom and also to include each contacts connected contacts ''' Public Partial Class GetContacts Implements IReturn(Of GetContactsModel) ''' '''Guid representing the external system datasource requesting the contact information. This is required to return any existing object subscription details for each contact. ''' Public Overridable Property SuiteDataSourceInstanceId As Guid ''' '''A list of 1 or more roles that a contact must have in order to be returned. (Roles are treated as OR not AND, ie a contact may have one or the other to be returned, but not necessarily both) ''' ", Description:="A list of 1 or more roles that a contact must have in order to be returned. (Roles are treated as OR not AND, ie a contact may have one or the other to be returned, but not necessarily both)", IsRequired:=true, Name:="ContactRoles", ParameterType:="query")> Public Overridable Property ContactRoles As List(Of Guid) = New List(Of Guid) ''' '''A list of contact types that we want returned. If no contact types are specified all 4 major contact types are eligible to be returned. (organisation/person - real/virtual) ''' ", Description:="A list of contact types that we want returned. If no contact types are specified all 4 major contact types are eligible to be returned. (organisation/person - real/virtual)", Name:="ContactTypes", ParameterType:="query")> Public Overridable Property ContactTypes As List(Of Guid) ''' '''Set to true if you want to include the any linked staff for each contact. ''' Public Overridable Property IncludeStaff As Boolean ''' '''To include custom content then you need to specify the view Id of the content to include. ''' Public Overridable Property CustomContentViewId As Guid ''' '''Set the date to return only contacts that have been modified since a particular date. ''' Public Overridable Property ModifiedSince As Date End Class End Namespace End Namespace