(* Options: Date: 2026-04-04 01:02:02 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: GetProjectContacts.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace Eros.Saguna.Common.WebAPI.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type ContactDetailModel() = /// ///Id of the Contact Method /// [] member val ContactMethodId:Guid = new Guid() with get,set /// ///Contact Method Name /// [] member val ContactMethodName:String = null with get,set /// ///If the contact method is an address, this will contain the address details. /// [] member val ContactAddress:ContactAddressModel = null with get,set /// ///If the contact method is a phone, this will contain the phone details /// [] member val ContactPhone:PhoneModel = null with get,set /// ///Id of the country /// [] member val CountryId:Nullable = new Nullable() with get,set /// ///A summary string representing the contact details /// [] member val ContactDetails:String = null with get,set /// ///Notes about the contact details /// [] member val Notes:String = null with get,set /// ///Area Code if contact details are a phone number /// [] member val ContactDetailsCode:String = null with get,set /// ///Order number of the contact method /// [] member val OrderContactMethod:Int32 = new Int32() with get,set /// ///True if this is the primary contact method /// [] member val IsPrimaryContactMethod:Boolean = new Boolean() with get,set /// ///True if this contact method is an address /// [] member val IsAddress:Boolean = new Boolean() with get,set [] type ContactRole() = /// ///Guid of the Role List Item object within PSTPF. /// [] member val RoleId:Guid = new Guid() with get,set /// ///The unique key that represents the role type on the external system. /// [] member val AlternateKey:String = null with get,set [] type SubscriptionContactModel() = /// ///Guid of the contact object within PSTPF. /// [] member val ContactId:Guid = new Guid() with get,set /// ///Guid of the Contact Type List Item object within PSTPF. /// [] member val ContactType:Guid = new Guid() with get,set /// ///Guid of the Marital Status List Item object within PSTPF. /// [] member val MaritalStatus:Nullable = new Nullable() with get,set /// ///Guid of the Gender List Item object within PSTPF. /// [] member val Gender:Nullable = new Nullable() with get,set /// ///The first given name for the contact. Applies to a person contact type. /// [] member val FirstName:String = null with get,set /// ///The middle name(s) for the contact. Applies to a person contact type. /// [] member val MiddleName:String = null with get,set /// ///The surname for the contact. Applies to a person contact type. /// [] member val Surname:String = null with get,set /// ///The full name for the contact. /// [] member val FullName:String = null with get,set /// ///A short name for the contact. /// [] member val ShortName:String = null with get,set /// ///The birth date for the contact. Applies to a person contact type. /// [] member val BirthDate:Nullable = new Nullable() with get,set /// ///The title for the contact. Applies to a person contact type. /// [] member val Title:String = null with get,set /// ///A salutation for the contact. /// [] member val Salutation:String = null with get,set /// ///The A.B.N for the contact. /// [] member val Abn:String = null with get,set /// ///The A.C.N for the contact. /// [] member val Acn:String = null with get,set /// ///The A.R.B.N for the contact. /// [] member val Arbn:String = null with get,set /// ///A trading name for the contact. /// [] member val TradingName:String = null with get,set /// ///A legal name for the contact. /// [] member val LegalName:String = null with get,set /// ///Any notes/description for the contact. /// [] member val Notes:String = null with get,set /// ///Contact Employment Industry. /// [] member val EmploymentIndustry:String = null with get,set /// ///Contact Employment Role. /// [] member val EmploymentRole:String = null with get,set /// ///Contact Employment Geographic Area. /// [] member val EmploymentGeographicArea:String = null with get,set /// ///The Contacts Drivers Licence Number /// [] member val DriversLicence:String = null with get,set /// ///Indicates if the Contact is registered for GST /// [] member val GstRegistered:Boolean = new Boolean() with get,set /// ///The status of the contact in PSTPF /// [] member val RecordStatus:String = null with get,set /// ///A list of roles this contact has. /// [", Description="A list of roles this contact has.", Name="ContactRoles", ParameterType="body")>] member val ContactRoles:ResizeArray = null with get,set /// ///A list of the contact details for the contact. /// [", Description="A list of the contact details for the contact.", Name="ContactDetails", ParameterType="body")>] member val ContactDetails:ResizeArray = null with get,set /// ///Custom Content XML for the contact. /// [] member val CustomContentXML:String = null with get,set /// ///URL to the Primary Image. /// [] member val BlobImageURLPrimary:String = null with get,set /// ///URL to the Primary Image thumbnail. /// [] member val BlobImageURLPrimaryThumbnail:String = null with get,set /// ///The primary mobile for the contact. /// [] member val PrimaryMobile:String = null with get,set /// ///The primary email for the contact. /// [] member val PrimaryEmail:String = null with get,set [] type ProjectContact() = /// ///Guid of the contact object within Eros. /// [] member val ContactId:Guid = new Guid() with get,set /// ///The unique key that represents the contact on the external system. /// [] member val ContactAlternateKey:String = null with get,set /// ///Guid of the Role List Item object within Eros. /// [] member val RoleId:Guid = new Guid() with get,set /// ///Role Name. /// [] member val RoleName:String = null with get,set /// ///The unique key that represents the role type on the external system. Note: Use of this is not currently implemented /// [] member val RoleAlternateKey:String = null with get,set /// ///The object that contains details of the contact /// [] member val Contact:SubscriptionContactModel = null with get,set /// ///The order this contact is in priority. 1 would be the primary contact, 2 the secondary and so forth. /// [] member val Index:Int32 = new Int32() with get,set [] type ContactDetailModel() = /// ///Contact Method Id /// [] member val ContactMethodId:Guid = new Guid() with get,set /// ///Contact Method Name /// [] member val ContactMethodName:String = null with get,set /// ///Contact Address Details /// [] member val ContactAddress:ContactAddressModel = null with get,set /// ///Contact Phone Details /// [] member val ContactPhone:PhoneModel = null with get,set /// ///Country id /// [] member val CountryId:Nullable = new Nullable() with get,set /// ///Contact Details /// [] member val ContactDetails:String = null with get,set /// ///Notes /// [] member val Notes:String = null with get,set /// ///Contact Details Code /// [] member val ContactDetailsCode:String = null with get,set /// ///Order of Contact Method Id /// [] member val OrderContactMethod:Int32 = new Int32() with get,set /// ///Contact Method Id /// [] member val IsPrimaryContactMethod:Boolean = new Boolean() with get,set /// ///Is contact details an address /// [] member val IsAddress:Boolean = new Boolean() with get,set /// ///Contact Contact Detail Id /// [] member val ContactContactDetailId:Guid = new Guid() with get,set /// ///Contact Id /// [] member val ContactId:Guid = new Guid() with get,set /// ///Contact Details Id /// [] member val ContactDetailId:Guid = new Guid() with get,set /// ///Is contact details a primary location /// [] member val IsPrimaryLocation:Boolean = new Boolean() with get,set /// ///Is contact details a registered location /// [] member val IsRegisteredLocation:Boolean = new Boolean() with get,set /// ///Is contact details a postal address /// [] member val IsPostal:Boolean = new Boolean() with get,set /// ///Is contact details a phone number /// [] member val IsPhone:Boolean = new Boolean() with get,set /// ///Email Signature Id /// [] member val EmailSignatureId:Guid = new Guid() with get,set /// ///Email Signature HTML /// [] member val EmailSignatureHTML:String = null with get,set /// ///Email Signature Text /// [] member val EmailSignatureText:String = null with get,set /// ///API Key from Framework /// [] member val ApiFrameworkAlternateKey:String = null with get,set [] [] type ProjectContactModel() = /// ///Object containing all details of the project to be inserted or updated. /// [", Description="Object containing all details of the project to be inserted or updated.", Name="ProjectContacts", ParameterType="query")>] member val ProjectContacts:ResizeArray = null with get,set /// ///Object containing all details of the project to be inserted or updated. /// [", Description="Object containing all details of the project to be inserted or updated.", Name="CustomerContacts", ParameterType="query")>] member val CustomerContacts:ResizeArray = null with get,set /// ///Returns a projects contacts (customer and project connected). /// [] [] [] type GetProjectContacts() = interface IReturn /// ///Guid representing the object that is the project in Eros. /// [] member val ProjectId:Guid = new Guid() with get,set /// ///Guid representing the projects contact customer group Id. /// [] member val CustomerGroupId:Guid = new Guid() with get,set