(* Options: Date: 2026-04-04 08:36:28 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: GetRelatedItems.* //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 RelatedItemsModel() = /// ///Object linked to the related item. /// [] member val ObjectId:Guid = new Guid() with get,set /// ///Related item name. /// [] member val RelatedItemName:String = null with get,set /// ///Related item type. /// [] member val RelatedItemType:String = null with get,set /// ///Date of creation of the related item. /// [] member val CreatedAt:DateTime = new DateTime() with get,set /// ///Contact who created the related item /// [] member val CreatedByName:String = null with get,set /// ///Contact who created the related item /// [] member val CreatedById:Guid = new Guid() with get,set /// ///Profile photo of the contact who created the related item /// [] member val CreatedByThumbnailUrl:String = null with get,set /// ///Relationship between objects linked to the related item /// [] member val Relationship:String = null with get,set /// ///Is the related item significant? /// [] member val IsSignificant: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 GetRelatedItemsResponse() = member val RelatedItems:ResizeArray = null with get,set member val TotalRelatedItems:Int32 = new Int32() with get,set member val ResponseStatus:ResponseStatus = null with get,set /// ///Get related items related to the specified object. /// [] [] [] type GetRelatedItems() = inherit PagedModel() interface IReturn /// ///Object to get related items for. /// [] member val ObjectId:Guid = new Guid() with get,set /// ///Significant Only or All /// [] member val RelatedItemsLevel:Guid = new Guid() with get,set /// ///Return all connections or paged results? /// [] member val IsPagedMode:Boolean = new Boolean() with get,set