(* Options: Date: 2026-04-04 01:03:59 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: GetContactGroups.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type UserProfileSummaryModel() = /// ///User Profile Id /// [] member val UserProfileId:Guid = new Guid() with get,set /// ///User linked to the profile /// [] member val UserId:Guid = new Guid() with get,set /// ///Contact linked to the profile /// [] member val ContactId:Guid = new Guid() with get,set /// ///User linked to the profile /// [] member val UserName:String = null with get,set /// ///User Profile Name /// [] member val ProfileName:String = null with get,set /// ///Full name of the contact linked to the profile /// [] member val ContactFullName:String = null with get,set /// ///Email Address of the contact linked to the profile /// [] member val EmailAddress:String = null with get,set /// ///Email signature of the contact linked to the profile /// [] member val EmailSignature:String = null with get,set /// ///Mobile number of the contact linked to the profile /// [] member val MobileNumber:String = null with get,set /// ///Phone number of the contact linked to the profile /// [] member val PhoneNumber:String = null with get,set /// ///Type of contact (person, organisation etc.) linked to the profile /// [] member val ContactTypeId:Guid = new Guid() with get,set /// ///Type of contact (person, organisation etc.) linked to the profile /// [] member val ContactTypeName:String = null with get,set /// ///First name of the contact linked to the profile /// [] member val FirstName:String = null with get,set /// ///Surname of the contact linked to the profile /// [] member val Surname:String = null with get,set /// ///Title of contact linked to the profile /// [] member val Title:String = null with get,set /// ///Legal name of contact linked to the profile /// [] member val LegalName:String = null with get,set /// ///Trading name of contact linked to the profile /// [] member val TradingName:String = null with get,set /// ///Australian Business Number /// [] member val Abn:String = null with get,set /// ///Australian Company Number /// [] member val Acn:String = null with get,set /// ///Australian Registered Body Number /// [] member val Arbn:String = null with get,set /// ///Indicates if the Contact is registered for GST. /// [] member val GstRegistered:Boolean = new Boolean() with get,set /// ///True if english is a secondary language for the contact. /// [] member val ESL:Boolean = new Boolean() with get,set /// ///Language that is the primary language for the contact. /// [] member val Language:String = null with get,set /// ///True if an interpreter is required. /// [] member val InterpreterRequired:Boolean = new Boolean() with get,set /// ///Licensee specific notes about the contact. /// [] member val LicenseeNotes:String = null with get,set /// ///Profile photo of contact linked to the profile /// [] member val ProfilePhotoUrl:String = null with get,set /// ///Thumbnail photo of contact linked to the profile /// [] member val ProfilePhotoThumbnailUrl:String = null with get,set /// ///Profile photo id of contact linked to the profile /// [] member val ProfileImageId:Guid = new Guid() with get,set /// ///Profile description /// [] member val Description:String = null with get,set /// ///Employment Industry /// [] member val EmploymentIndustry:String = null with get,set /// ///Employment Role /// [] member val EmploymentRole:String = null with get,set /// ///Areas of Work /// [] member val EmploymentGeographicArea:String = null with get,set /// ///The contacts timezone. /// [] member val Timezone:Guid = new Guid() with get,set /// ///Timezone Name /// [] member val TimezoneName:String = null with get,set /// ///The primary address of the contact /// [] member val PrimaryAddress:String = null with get,set /// ///Is this an active contact? Or an inactive contact (deleted account)? /// [] member val IsActiveContact:Boolean = new Boolean() with get,set type SortOrder = | Ascending = 0 | Descending = 1 [] type PagedModel() = /// ///Page Number to retrieve /// [] member val PageNumber:Int32 = new Int32() with get,set /// ///Number of records to retrieve /// [] member val PageSize:Int32 = new Int32() with get,set /// ///Index of field to sort results by /// [] member val SortIndex:Int32 = new Int32() with get,set /// ///Sort Order - Ascending or Descending /// [] member val SortOrder:SortOrder = new SortOrder() with get,set [] type RoleModel() = /// ///Role Id /// [] member val RoleId:Guid = new Guid() with get,set /// ///Role Name /// [] member val RoleName:String = null with get,set /// ///Is the role a licensee role? /// [] member val IsLicenseeRole:Boolean = new Boolean() with get,set /// ///Is manage contacts role? /// [] member val IsManageContacts:Boolean = new Boolean() with get,set /// ///Is the role a Platform role? /// [] member val IsPlatformRole:Boolean = new Boolean() with get,set /// ///Is the role a services role? /// [] member val IsServiceRole:Boolean = new Boolean() with get,set /// ///Is the role a customer role? /// [] member val IsCustomerRole:Boolean = new Boolean() with get,set /// ///Is the role a functional role? /// [] member val IsFunctionalRole:Boolean = new Boolean() with get,set /// ///Is the role an auto-accept role? /// [] member val IsRequestAutoAccepted:Boolean = new Boolean() with get,set /// ///Suite that the role belongs to /// [] member val SuiteId:Guid = new Guid() with get,set /// ///Suite that the role belongs to /// [] member val SuiteName:String = null with get,set /// ///'A' (Active) or 'I' (Inactive) /// [] member val RecordStatus:String = null with get,set /// ///Object Connection Id, which is populated when the roles are returned based on those that are connected to an object. /// [] member val ObjectConnectionId:Guid = new Guid() with get,set [] type ContactGroupConnectionModel() = inherit UserProfileSummaryModel() /// ///Contact Group Id /// [] member val ContactGroupId:Guid = new Guid() with get,set /// ///Connection id of the contact in the group /// [] member val ContactGroupConnectionId:Guid = new Guid() with get,set /// ///The Id of the Role this contact is connected to the group with. /// [] member val ConnectionRoleId:Guid = new Guid() with get,set /// ///Order of contacts within a group, the primary contact will have an index of 1. /// [] member val Index:Int32 = new Int32() with get,set /// ///List of roles that the contact in the contact group has across appliances for e.g. Platform Customer, Nexus customer etc. /// [] member val ContactRoles:ResizeArray = null with get,set [] type CustomerProjectModel() = member val ProjectId:Guid = new Guid() with get,set member val Name:String = null with get,set member val ProjectAddress:String = null with get,set member val ManagerContactId:Nullable = new Nullable() with get,set member val ManagerContactName:String = null with get,set member val ManagerProfilePhotoUrl:String = null with get,set member val ManagerProfilePhotoThumbnailUrl:String = null with get,set member val SupervisorContactId:Nullable = new Nullable() with get,set member val SupervisorContactName:String = null with get,set member val SupervisorProfilePhotoUrl:String = null with get,set member val SupervisorProfilePhotoThumbnailUrl:String = null with get,set member val CustomerServiceContactId:Nullable = new Nullable() with get,set member val CustomerServiceContactName:String = null with get,set member val CustomerServiceProfilePhotoUrl:String = null with get,set member val CustomerServiceProfilePhotoThumbnail:String = null with get,set [] type ContactGroupModel() = /// ///Contact Group Id /// [] member val ContactGroupId:Guid = new Guid() with get,set /// ///Contact Group Name /// [] member val Name:String = null with get,set /// ///Contact Group Reference /// [] member val Reference:String = null with get,set /// ///Group Role Id for e.g. Customer /// [] member val GroupRoleId:Guid = new Guid() with get,set /// ///Primary contact in the group /// [] member val PrimaryContactName:String = null with get,set /// ///Contact Id of the primary contact in the group /// [] member val PrimaryContactId:Guid = new Guid() with get,set /// ///Profile photo url of the primary contact in the group /// [] member val PrimaryContactPhotoUrl:String = null with get,set /// ///Profile photo thumbnail url of the primary contact in the group /// [] member val PrimaryContactThumbnailUrl:String = null with get,set /// ///Number of contacts in the group /// [] member val NumberOfContacts:Int32 = new Int32() with get,set /// ///Record Status of contact group /// [] member val RecordStatus:String = null with get,set /// ///Details of contact in the contact group /// [] member val Contacts:ResizeArray = null with get,set /// ///Details of projects for the contact group /// [] member val Projects:ResizeArray = null with get,set [] [] type ResponseStatus() = [] member val ErrorCode:String = null with get,set [] member val Message:String = null with get,set [] member val StackTrace:String = null with get,set [] member val Errors:ResizeArray = null with get,set [] member val Meta:Dictionary = null with get,set [] [] type GetContactGroupsResponse() = member val ContactGroups:ResizeArray = null with get,set /// ///Count of total groups. /// [] member val TotalGroups:Int32 = new Int32() with get,set member val ResponseStatus:ResponseStatus = null with get,set /// ///Get customers for current licensee /// [] [] [] [] type GetContactGroups() = inherit PagedModel() interface IReturn /// ///Get contactGroups for the specified contact /// [] member val ContactId:Guid = new Guid() with get,set /// ///Specific search text to search for i.e. Contact Name, Employment Details etc. /// [] member val SearchText:String = null with get,set /// ///Set the Contact Group Role Id to only retrieve groups of that type. If ContactId is not set this is mandatory. /// [] member val ContactGroupRoleId:Guid = new Guid() with get,set /// ///Include active contact groups /// [] member val IncludeActive:Boolean = new Boolean() with get,set /// ///Include archived contact groups /// [] member val IncludeArchived:Boolean = new Boolean() with get,set