(* Options: Date: 2026-04-03 23:29:53 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: GetUserProfiles.* //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 UserRoleModel() = /// ///The Contact Role Id, that links the Contact to their role. /// [] member val ContactRoleId:Guid = new Guid() with get,set /// ///The Role Id. /// [] member val RoleId:Guid = new Guid() with get,set /// ///The role name. /// [] member val RoleName:String = null with get,set /// ///The URL of the role's image icon. /// [] member val RolePrimaryImageURL:String = null with get,set /// ///The URL of the role's thumbnail image icon. /// [] member val RolePrimaryImageThumbnailURL:String = null with get,set /// ///The Guid of the role's media file containing the image icon details. /// [] member val RolePrimaryImageId:Guid = new Guid() with get,set /// ///The date the contact started having this role. /// [] member val StartDate:DateTime = new DateTime() with get,set /// ///The date the contact will end having this role. /// [] member val EndDate:Nullable = new Nullable() with get,set [] type UserContactConnectionModel() = /// ///The Contact Role Id, that links the Contact to their role. /// [] member val ContactRoleId:Guid = new Guid() with get,set /// ///The role name. /// [] member val ContactRoleName:String = null with get,set /// ///The list item role Id. /// [] member val ContactListItemRoleId:Guid = new Guid() with get,set /// ///The URL of the contact role's image icon. /// [] member val ContactRolePrimaryImageURL:String = null with get,set /// ///The URL of the contact role's thumbnail image icon. /// [] member val ContactRolePrimaryImageThumbnailURL:String = null with get,set /// ///The Guid of the contact role's media file containing the image icon details. /// [] member val ContactRolePrimaryImageId:Guid = new Guid() with get,set /// ///The connected contacts Id. (licensee) /// [] member val ConnectionContactId:Guid = new Guid() with get,set /// ///The connected contacts Full Name. /// [] member val ConnectionContactName:String = null with get,set /// ///The connected contacts role. /// [] member val ConnectionContactRoleName:String = null with get,set /// ///The connected contacts role Id. /// [] member val ConnectionContactRoleId:Guid = new Guid() with get,set /// ///The connected contacts list item role Id. /// [] member val ConnectionContactListItemRoleId:Guid = new Guid() with get,set /// ///The Contacts Type. /// [] member val ContactTypeName:String = null with get,set /// ///The URL to the Connected Contacts Photo. /// [] member val ConnectionContactPhotoURL:String = null with get,set /// ///. /// [] member val IsContactLicenseeRole:Boolean = new Boolean() with get,set /// ///If the connection is as a licensee this is true. /// [] member val IsConnectionLicenseeRole:Boolean = new Boolean() with get,set /// ///The status of the connection with the contact. /// [] member val ConnectionStatusName:String = null with get,set /// ///The status Id of the connection with the contact. /// [] member val ConnectionStatusId:Guid = new Guid() with get,set /// ///The ContactRoleConnectionId of an active connection with the contact. /// [] member val ConnectionId:Guid = new Guid() with get,set /// ///The ContactRoleConnectionRequest of a pending connection with the contact. /// [] member val ConnectionRequestId:Guid = new Guid() with get,set [] type ContactEmailAddress() = /// ///The Contact Id of the contact. /// [] member val ContactId:Guid = new Guid() with get,set /// ///The Contact Full Name /// [] member val ContactName:String = null with get,set /// ///The Contact Email Address. /// [] member val EmailAddress:String = null with get,set /// ///The Contact Photo URL /// [] member val ContactPhotoURL:String = null with get,set [] type UserProfileModel() = inherit UserProfileSummaryModel() /// ///Contact Date of Birth (when person type) /// [] member val BirthDate:Nullable = new Nullable() with get,set /// ///Contact marital status (when person type) /// [] member val MaritalStatusName:String = null with get,set /// ///Contact gender (when person type) /// [] member val GenderName:String = null with get,set /// ///The Gender Guid of the contact. /// [] member val GenderId:Nullable = new Nullable() with get,set /// ///All contact details of the contact /// [", Description="All contact details of the contact", Name="ContactDetails", ParameterType="query")>] member val ContactDetails:ResizeArray = null with get,set /// ///Primary Street Address /// [] member val PrimaryStreetAddress:ContactDetailModel = null with get,set /// ///Primary Postal Address /// [] member val PrimaryPostalAddress:ContactDetailModel = null with get,set /// ///Primary Registered Address /// [] member val PrimaryRegisteredAddress:ContactDetailModel = null with get,set /// ///Primary Email Address /// [] member val PrimaryEmail:ContactDetailModel = null with get,set /// ///Primary Mobile Number /// [] member val PrimaryMobile:ContactDetailModel = null with get,set /// ///Primary Non-Mobile Number /// [] member val PrimaryPhone:ContactDetailModel = null with get,set /// ///Primary Fax Number /// [] member val PrimaryFax:ContactDetailModel = null with get,set /// ///Primary Web Address /// [] member val PrimaryWeb:ContactDetailModel = null with get,set /// ///Social Media Twitter /// [] member val SocialMediaTwitter:ContactDetailModel = null with get,set /// ///Social Media Facebook /// [] member val SocialMediaFacebook:ContactDetailModel = null with get,set /// ///Social Media Instagram /// [] member val SocialMediaInstagram:ContactDetailModel = null with get,set /// ///Have all connections to the contact been removed? /// [] member val IsRemovedContact:Boolean = new Boolean() with get,set /// ///True if this is the users default profile. /// [] member val IsDefault:Boolean = new Boolean() with get,set /// ///True if the users email on this profile can be edited. /// [] member val IsEmailEditable:Boolean = new Boolean() with get,set /// ///Primary image Content sent as a file stream contents (if not attached to the request) /// [] member val PrimaryImageContent:String = null with get,set /// ///Primary image Content type sent as a file stream contents (if not attached to the request) /// [] member val PrimaryImageContentType:String = null with get,set /// ///Primary image file name /// [] member val PrimaryImageFileName:String = null with get,set [] type UserProfileWithRolesModel() = inherit UserProfileModel() /// ///A list of roles assigned to the user. /// [", Description="A list of roles assigned to the user.", Name="Roles", ParameterType="query")>] member val Roles:ResizeArray = null with get,set /// ///A list of contact connections assigned to the user. /// [", Description="A list of contact connections assigned to the user.", Name="ContactConnections", ParameterType="query")>] member val ContactConnections:ResizeArray = null with get,set /// ///A list of connected contacts and their email addresses. /// [", Description="A list of connected contacts and their email addresses.", Name="EmailAddressBook", ParameterType="query")>] member val EmailAddressBook:ResizeArray = null with get,set [] type UserProfilesWithRolesModel() = /// ///A list of profiles for the user. /// [", Description="A list of profiles for the user.", Name="Profiles")>] member val Profiles:ResizeArray = null with get,set /// ///Returns a Users profile information. /// [] [] [] type GetUserProfiles() = interface IReturn /// ///The user's Guid. If the value passed is empty, UserName must be entered. /// [] member val UserId:Nullable = new Nullable() with get,set /// ///Unique Email address of the user. If the value passed is empty, UserId must be entered. /// [] member val UserName:String = null with get,set /// ///Flag to exclude contact details from organisation profiles. /// [] member val ExcludeContactDetails:Boolean = new Boolean() with get,set