/* Options:
Date: 2026-04-04 03:04:42
Version: 8.52
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://pfapi.pstpf.com.au/api
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: GetContactProfile.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Eros.Saguna.Common.WebAPIModel.Models;
using Eros.Subtle.Canvara.WebAPIModel.ServiceModel;
namespace Eros.Saguna.Common.WebAPIModel.Models
{
public partial class UserProfileModel
: UserProfileSummaryModel
{
///
///Contact Date of Birth (when person type)
///
[ApiMember(DataType="DateTime?", Description="Contact Date of Birth (when person type)", Name="BirthDate", ParameterType="query")]
public virtual DateTime? BirthDate { get; set; }
///
///Contact marital status (when person type)
///
[ApiMember(DataType="string", Description="Contact marital status (when person type)", Name="MaritalStatusName", ParameterType="query")]
public virtual string MaritalStatusName { get; set; }
///
///Contact gender (when person type)
///
[ApiMember(DataType="string", Description="Contact gender (when person type)", Name="GenderName", ParameterType="query")]
public virtual string GenderName { get; set; }
///
///The Gender Guid of the contact.
///
[ApiMember(DataType="Guid", Description="The Gender Guid of the contact.", Name="GenderId", ParameterType="query")]
public virtual Guid? GenderId { get; set; }
///
///All contact details of the contact
///
[ApiMember(DataType="List", Description="All contact details of the contact", Name="ContactDetails", ParameterType="query")]
public virtual List ContactDetails { get; set; }
///
///Primary Street Address
///
[ApiMember(DataType="ContactDetail", Description="Primary Street Address", Name="PrimaryStreetAddress ")]
public virtual ContactDetailModel PrimaryStreetAddress { get; set; }
///
///Primary Postal Address
///
[ApiMember(DataType="ContactDetail", Description="Primary Postal Address", Name="PrimaryPostalAddress ")]
public virtual ContactDetailModel PrimaryPostalAddress { get; set; }
///
///Primary Registered Address
///
[ApiMember(DataType="ContactDetail", Description="Primary Registered Address", Name="PrimaryRegisteredAddress ")]
public virtual ContactDetailModel PrimaryRegisteredAddress { get; set; }
///
///Primary Email Address
///
[ApiMember(DataType="ContactDetail", Description="Primary Email Address", Name="PrimaryEmail ")]
public virtual ContactDetailModel PrimaryEmail { get; set; }
///
///Primary Mobile Number
///
[ApiMember(DataType="ContactDetail", Description="Primary Mobile Number", Name="PrimaryMobile")]
public virtual ContactDetailModel PrimaryMobile { get; set; }
///
///Primary Non-Mobile Number
///
[ApiMember(DataType="ContactDetail", Description="Primary Non-Mobile Number", Name="PrimaryPhone")]
public virtual ContactDetailModel PrimaryPhone { get; set; }
///
///Primary Fax Number
///
[ApiMember(DataType="ContactDetail", Description="Primary Fax Number", Name="PrimaryFax")]
public virtual ContactDetailModel PrimaryFax { get; set; }
///
///Primary Web Address
///
[ApiMember(DataType="ContactDetail", Description="Primary Web Address", Name="PrimaryWeb")]
public virtual ContactDetailModel PrimaryWeb { get; set; }
///
///Social Media Twitter
///
[ApiMember(DataType="ContactDetail", Description="Social Media Twitter", Name="SocialMediaTwitter")]
public virtual ContactDetailModel SocialMediaTwitter { get; set; }
///
///Social Media Facebook
///
[ApiMember(DataType="ContactDetail", Description="Social Media Facebook", Name="SocialMediaFacebook")]
public virtual ContactDetailModel SocialMediaFacebook { get; set; }
///
///Social Media Instagram
///
[ApiMember(DataType="ContactDetail", Description="Social Media Instagram", Name="SocialMediaInstagram")]
public virtual ContactDetailModel SocialMediaInstagram { get; set; }
///
///Have all connections to the contact been removed?
///
[ApiMember(DataType="bool", Description="Have all connections to the contact been removed?", Name="IsRemovedContact")]
public virtual bool IsRemovedContact { get; set; }
///
///True if this is the users default profile.
///
[ApiMember(DataType="bool", Description="True if this is the users default profile.", Name="IsDefault", ParameterType="query")]
public virtual bool IsDefault { get; set; }
///
///True if the users email on this profile can be edited.
///
[ApiMember(DataType="bool", Description="True if the users email on this profile can be edited.", Name="IsEmailEditable", ParameterType="query")]
public virtual bool IsEmailEditable { get; set; }
///
///Primary image Content sent as a file stream contents (if not attached to the request)
///
[ApiMember(DataType="string", Description="Primary image Content sent as a file stream contents (if not attached to the request)", Name="PrimaryImageContent")]
public virtual string PrimaryImageContent { get; set; }
///
///Primary image Content type sent as a file stream contents (if not attached to the request)
///
[ApiMember(DataType="string", Description="Primary image Content type sent as a file stream contents (if not attached to the request)", Name="PrimaryImageContentType")]
public virtual string PrimaryImageContentType { get; set; }
///
///Primary image file name
///
[ApiMember(DataType="string", Description="Primary image file name", Name="PrimaryImageFileName")]
public virtual string PrimaryImageFileName { get; set; }
}
}
namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel
{
///
///Get basic profile and contact details for the specified contact
///
[Route("/contacts/{ContactId}/profile")]
[Api(Description="Get basic profile and contact details for the specified contact")]
public partial class GetContactProfile
: IReturn
{
///
///Contact Id to get contact profile and details for
///
[ApiMember(DataType="Guid", Description="Contact Id to get contact profile and details for", IsRequired=true, Name="ContactId")]
public virtual Guid ContactId { get; set; }
///
///Contact Id requesting the details - Current user or licensee
///
[ApiMember(DataType="Guid", Description="Contact Id requesting the details - Current user or licensee", IsRequired=true, Name="RequestorContactId")]
public virtual Guid RequestorContactId { get; set; }
}
[ApiResponse(Description="Contact profile and contact details for the specified contact")]
public partial class GetContactProfileResponse
{
public virtual UserProfileModel Contact { get; set; }
///
///Is Requestor contact allowed to view contact details?
///
[ApiMember(DataType="bool", Description="Is Requestor contact allowed to view contact details?", Name="RequestorAllowedContactDetails")]
public virtual bool RequestorAllowedContactDetails { get; set; }
///
///Is Requestor contact allowed to view organisation profile?
///
[ApiMember(DataType="bool", Description="Is Requestor contact allowed to view organisation profile?", Name="RequestorAllowedOrganisationProfile")]
public virtual bool RequestorAllowedOrganisationProfile { get; set; }
///
///Is Requestor contact allowed to view staff details?
///
[ApiMember(DataType="bool", Description="Is Requestor contact allowed to view staff details?", Name="RequestorAllowedStaffDetails")]
public virtual bool RequestorAllowedStaffDetails { get; set; }
///
///Is Requestor contact allowed to view attachments?
///
[ApiMember(DataType="bool", Description="Is Requestor contact allowed to view attachments?", Name="RequestorAllowedAttachments")]
public virtual bool RequestorAllowedAttachments { get; set; }
///
///Is Requestor contact allowed to view activity feed?
///
[ApiMember(DataType="bool", Description="Is Requestor contact allowed to view activity feed?", Name="RequestorAllowedActivityFeed")]
public virtual bool RequestorAllowedActivityFeed { get; set; }
///
///Is Requestor contact allowed to view related items?
///
[ApiMember(DataType="bool", Description="Is Requestor contact allowed to view related items?", Name="RequestorAllowedRelatedItems")]
public virtual bool RequestorAllowedRelatedItems { get; set; }
///
///Optional connection emails option allowed for for real contacts who are registered and connected
///
[ApiMember(DataType="bool", Description="Optional connection emails option allowed for for real contacts who are registered and connected", Name="DisplaySendConnectionEmailsOption")]
public virtual bool DisplaySendConnectionEmailsOption { get; set; }
public virtual ResponseStatus ResponseStatus { get; set; }
}
}
namespace ServiceStack
{
[DataContract]
public partial class ResponseStatus
: IMeta
{
[DataMember(Order=1)]
public virtual string ErrorCode { get; set; }
[DataMember(Order=2)]
public virtual string Message { get; set; }
[DataMember(Order=3)]
public virtual string StackTrace { get; set; }
[DataMember(Order=4)]
public virtual List Errors { get; set; }
[DataMember(Order=5)]
public virtual Dictionary Meta { get; set; }
}
}