(* Options: Date: 2026-04-04 06:45:45 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: GetConnectionsToContact.* //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 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 ContactSummaryModel() = /// ///Contact linked to the profile /// [] member val ContactId:Guid = new Guid() 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 /// ///Mobile Number of the contact linked to the profile /// [] member val MobileNumber:String = null with get,set /// ///Primary 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 /// ///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 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 /// ///Timezone Name /// [] member val TimezoneName:String = null with get,set /// ///The primary address of the contact /// [] member val PrimaryAddress:String = null with get,set /// ///Have all connections to the contact been removed? /// [] member val IsRemovedContact:Boolean = new Boolean() with get,set [] type ContactConnectionModel() = /// ///Connection Id (if applicable) /// [] member val ConnectionId:Nullable = new Nullable() with get,set /// ///Connection Request Id (if applicable) /// [] member val ConnectionRequestId:Nullable = new Nullable() with get,set /// ///Details of the contact /// [] member val Contact:ContactSummaryModel = null with get,set /// ///Contact's role Id in the connection /// [] member val ContactRoleId:Guid = new Guid() with get,set /// ///Contact's role name in the connection /// [] member val ContactRoleName:String = null with get,set /// ///Requestor Contact Id /// [] member val RequestorContactId:Guid = new Guid() with get,set /// ///Requestor Contact Name /// [] member val RequestorContactName:String = null with get,set /// ///Requestor contact's role Id in the connection /// [] member val RequestorRoleId:Guid = new Guid() with get,set /// ///Requestor's role name in the connection /// [] member val RequestorRoleName:String = null with get,set /// ///Primary role in the connection to display /// [] member val PrimaryRoleName:String = null with get,set /// ///Connection Status Id /// [] member val ConnectionStatusId:Guid = new Guid() with get,set /// ///Connection Status Name /// [] member val ConnectionStatusName:String = null with get,set /// ///Is this a pending connection request? /// [] member val IsConnectionRequest:Boolean = new Boolean() with get,set /// ///Is this an incoming connection request? /// [] member val IsIncoming:Boolean = new Boolean() with get,set member val FromDate:Nullable = new Nullable() with get,set /// ///Details of the contact suggesting this connection /// [] member val SuggesterContact:ContactSummaryModel = null with get,set /// ///Can this connection be cancelled? /// [] member val AllowCancel:Boolean = new Boolean() with get,set /// ///Can this connection be removed? /// [] member val AllowRemove:Boolean = new Boolean() 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 GetConnectionsToContactResponse() = member val Connections:ResizeArray = null with get,set member val TotalConnections:Int32 = new Int32() with get,set member val ResponseStatus:ResponseStatus = null with get,set /// ///Get connections to the specified contact for the requestor contact /// [] [] [] type GetConnectionsToContact() = inherit PagedModel() interface IReturn /// ///Contact Id to get connections for /// [] member val ContactId:Guid = new Guid() with get,set /// ///Type of the contact to get connections for (i.e. Real/ virtual Person/ Organisation) /// [] member val ContactTypeId:Guid = new Guid() with get,set /// ///Contact Id requesting the details - Current user or licensee /// [] member val RequestorContactId:Guid = new Guid() with get,set /// ///Return all connections or paged results? /// [] member val IsPagedMode:Boolean = new Boolean() with get,set /// ///Option to return removed connections /// [] member val IncludeRemoved:Boolean = new Boolean() with get,set