/* Options:
Date: 2025-09-14 07:34:54
Version: 8.52
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://production-eros-platform-apisubscription.azurewebsites.net/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: GetLicenseeContactList.*
//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.Subtle.Canvara.WebAPIModel.Models;
using Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription;
namespace Eros.Subtle.Canvara.WebAPIModel.Models
{
public partial class ConnectedContactAddressModel
{
///
///A full address string of the address.
///
[ApiMember(DataType="string", Description="A full address string of the address.", Name="FullAddress")]
public virtual string FullAddress { get; set; }
///
///If true, this is the contacts primary address.
///
[ApiMember(DataType="bool", Description="If true, this is the contacts primary address.", Name="IsPrimary")]
public virtual bool IsPrimary { get; set; }
///
///If true, this is the contacts postal address.
///
[ApiMember(DataType="bool", Description="If true, this is the contacts postal address.", Name="IsPostal")]
public virtual bool IsPostal { get; set; }
///
///If true, this is the contacts registered address.
///
[ApiMember(DataType="bool", Description="If true, this is the contacts registered address.", Name="IsRegistered")]
public virtual bool IsRegistered { get; set; }
}
public partial class ConnectedContactConnectionsModel
{
///
///Guid of the role within Eros
///
[ApiMember(DataType="Guid", Description="Guid of the role within Eros", Name="RoleId")]
public virtual Guid RoleId { get; set; }
///
///Name of the role this contact is connected to the licensee with.
///
[ApiMember(DataType="string", Description="Name of the role this contact is connected to the licensee with.", Name="Role")]
public virtual string Role { get; set; }
///
///Guid of the role connections status within Eros.
///
[ApiMember(DataType="Guid", Description="Guid of the role connections status within Eros.", Name="StatusId")]
public virtual Guid StatusId { get; set; }
///
///Connection status of the role. It maybe active or pending.
///
[ApiMember(DataType="string", Description="Connection status of the role. It maybe active or pending.", Name="Status")]
public virtual string Status { get; set; }
}
public partial class ConnectedContactDetailModel
{
///
///The type of contact detail this is (email/mobile/fax/website etc)
///
[ApiMember(DataType="string", Description="The type of contact detail this is (email/mobile/fax/website etc)", Name="Type")]
public virtual string Type { get; set; }
///
///The contact detail. e.g (phone number or email address)
///
[ApiMember(DataType="string", Description="The contact detail. e.g (phone number or email address)", Name="ContactDetails")]
public virtual string ContactDetails { get; set; }
}
public partial class ConnectedContactModel
{
///
///Guid of the contact object within Eros.
///
[ApiMember(DataType="Guid", Description="Guid of the contact object within Eros.", Name="ContactId")]
public virtual Guid ContactId { get; set; }
///
///The salutation(preferred name) for the contact. Applies to a person contact type.
///
[ApiMember(DataType="string", Description="The salutation(preferred name) for the contact. Applies to a person contact type.", Name="Salutation")]
public virtual string Salutation { get; set; }
///
///The title for the contact. Applies to a person contact type.
///
[ApiMember(DataType="string", Description="The title for the contact. Applies to a person contact type.", Name="Title")]
public virtual string Title { get; set; }
///
///The first given name for the contact. Applies to a person contact type.
///
[ApiMember(DataType="string", Description="The first given name for the contact. Applies to a person contact type.", Name="FirstName")]
public virtual string FirstName { get; set; }
///
///Any middle names for the contact. Applies to a person contact type.
///
[ApiMember(DataType="string", Description="Any middle names for the contact. Applies to a person contact type.", Name="MiddleName")]
public virtual string MiddleName { get; set; }
///
///The surname for the contact. Applies to a person contact type.
///
[ApiMember(DataType="string", Description="The surname for the contact. Applies to a person contact type.", Name="Surname")]
public virtual string Surname { get; set; }
///
///The full name for the contact.
///
[ApiMember(DataType="string", Description="The full name for the contact.", Name="FullName")]
public virtual string FullName { get; set; }
///
///A legal name for the contact. Applies to an organisation contact type.
///
[ApiMember(DataType="string", Description="A legal name for the contact. Applies to an organisation contact type.", Name="LegalName")]
public virtual string LegalName { get; set; }
///
///A trading name for the contact. Applies to an organisation contact type.
///
[ApiMember(DataType="string", Description="A trading name for the contact. Applies to an organisation contact type.", Name="TradingName")]
public virtual string TradingName { get; set; }
///
///The birth date for the contact. Applies to a person contact type.
///
[ApiMember(DataType="DateTime?", Description="The birth date for the contact. Applies to a person contact type.", Name="BirthDate")]
public virtual DateTime? BirthDate { get; set; }
///
///Guid of the marital status within Eros.
///
[ApiMember(DataType="Guid?", Description="Guid of the marital status within Eros.", Name="MaritalStatusId")]
public virtual Guid? MaritalStatusId { get; set; }
///
///The contacts marital status if set.
///
[ApiMember(DataType="string", Description="The contacts marital status if set.", Name="MaritalStatusName")]
public virtual string MaritalStatusName { get; set; }
///
///Guid of the gender within Eros.
///
[ApiMember(DataType="Guid?", Description="Guid of the gender within Eros.", Name="GenderId")]
public virtual Guid? GenderId { get; set; }
///
///The contacts gender if set.
///
[ApiMember(DataType="string", Description="The contacts gender if set.", Name="GenderName")]
public virtual string GenderName { get; set; }
///
///Preferred language of the contact.
///
[ApiMember(DataType="string", Description="Preferred language of the contact.", Name="Language")]
public virtual string Language { get; set; }
///
///If true, the contact requires an interpreter.
///
[ApiMember(DataType="bool", Description="If true, the contact requires an interpreter.", Name="InterpreterRequired")]
public virtual bool InterpreterRequired { get; set; }
///
///Contact Type name of the contact.
///
[ApiMember(DataType="string", Description="Contact Type name of the contact.", Name="ContactTypeName")]
public virtual string ContactTypeName { get; set; }
///
///Guid of the Contact Type List Item object within Eros.
///
[ApiMember(DataType="Guid", Description="Guid of the Contact Type List Item object within Eros.", Name="ContactTypeId")]
public virtual Guid ContactTypeId { get; set; }
///
///Description of the contact for their external profile.
///
[ApiMember(DataType="string", Description="Description of the contact for their external profile.", Name="Description")]
public virtual string Description { get; set; }
///
///Contact 'Profession/Trade/Industry' details for their external profile.
///
[ApiMember(DataType="string", Description="Contact 'Profession/Trade/Industry' details for their external profile.", Name="EmploymentIndustry")]
public virtual string EmploymentIndustry { get; set; }
///
///Contact 'Working/Subcontracting for' details for their external profile.
///
[ApiMember(DataType="string", Description="Contact 'Working/Subcontracting for' details for their external profile.", Name="EmploymentRole")]
public virtual string EmploymentRole { get; set; }
///
///Contact 'Work Area/Suburbs' detail for their external profile.
///
[ApiMember(DataType="string", Description="Contact 'Work Area/Suburbs' detail for their external profile.", Name="EmploymentGeographicArea")]
public virtual string EmploymentGeographicArea { get; set; }
///
///The A.B.N for the contact.
///
[ApiMember(DataType="string", Description="The A.B.N for the contact.", Name="Abn")]
public virtual string Abn { get; set; }
///
///The A.C.N for the contact.
///
[ApiMember(DataType="string", Description="The A.C.N for the contact.", Name="Acn")]
public virtual string Acn { get; set; }
///
///The A.R.B.N for the contact.
///
[ApiMember(DataType="string", Description="The A.R.B.N for the contact.", Name="Arbn")]
public virtual string Arbn { get; set; }
///
///Timezone name that applies to the contact.
///
[ApiMember(DataType="string", Description="Timezone name that applies to the contact.", Name="TimezoneName")]
public virtual string TimezoneName { get; set; }
///
///A list of the contact details for the contact.
///
[ApiMember(DataType="List", Description="A list of the contact details for the contact.", Name="ContactDetails")]
public virtual List ContactDetails { get; set; }
///
///A list of the contact addresses for the contact
///
[ApiMember(DataType="List", Description="A list of the contact addresses for the contact", Name="ContactAddresses")]
public virtual List ContactAddresses { get; set; }
///
///True if this contact has at least 1 active connection to the licensee. Without an active connection only public profile information for the contact is returned.
///
[ApiMember(DataType="bool", Description="True if this contact has at least 1 active connection to the licensee. Without an active connection only public profile information for the contact is returned.", Name="IsContactConnected")]
public virtual bool IsContactConnected { get; set; }
///
///A list of connections this contact has with the licensee. May be active or a pending request to connect.
///
[ApiMember(DataType="List", Description="A list of connections this contact has with the licensee. May be active or a pending request to connect.", Name="Connections")]
public virtual List Connections { get; set; }
///
///A list of projects this contact is linked to as a customer.
///
[ApiMember(DataType="List", Description="A list of projects this contact is linked to as a customer.", Name="Projects")]
public virtual List Projects { get; set; }
///
///A list of integration subscriptions used to link this contact to external records in other licensee owned systems.
///
[ApiMember(DataType="List", Description="A list of integration subscriptions used to link this contact to external records in other licensee owned systems.", Name="Subscriptions")]
public virtual List Subscriptions { get; set; }
}
public partial class ConnectedContactSubscriptionsModel
{
///
///Guid of the datasource within Eros.
///
[ApiMember(DataType="Guid", Description="Guid of the datasource within Eros.", Name="DatasourceId")]
public virtual Guid DatasourceId { get; set; }
///
///Name of the datasource that is the external system with a record of this contact.
///
[ApiMember(DataType="string", Description="Name of the datasource that is the external system with a record of this contact.", Name="Datasource")]
public virtual string Datasource { get; set; }
///
///Foreign Key lookup of this contact in the external system the datasource represents.
///
[ApiMember(DataType="string", Description="Foreign Key lookup of this contact in the external system the datasource represents.", Name="AlternateKey")]
public virtual string AlternateKey { get; set; }
}
public partial class ContactLinkedCustomerProjectsModel
{
///
///Guid of the project within Eros.
///
[ApiMember(DataType="Guid", Description="Guid of the project within Eros.", Name="ProjectId")]
public virtual Guid ProjectId { get; set; }
///
///Name of the project.
///
[ApiMember(DataType="string", Description="Name of the project.", Name="Name")]
public virtual string Name { get; set; }
}
}
namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription
{
///
///Returns a list of contacts a licensee is linked to. Contacts are returned in batches.
///
[Route("/licensee/contacts", "GET")]
[Api(Description="Returns a list of contacts a licensee is linked to. Contacts are returned in batches.")]
public partial class GetLicenseeContactList
: IReturn
{
///
///Number of contacts to retrieve per call.
///
[ApiMember(DataType="int", Description="Number of contacts to retrieve per call.", IsRequired=true, Name="BatchSize")]
public virtual int BatchSize { get; set; }
///
///Call number (1=1st, 2=2nd) this should progress upwards until all contacts have been retrieved.
///
[ApiMember(DataType="int", Description="Call number (1=1st, 2=2nd) this should progress upwards until all contacts have been retrieved.", IsRequired=true, Name="BatchNumber")]
public virtual int BatchNumber { get; set; }
}
[ApiResponse(Description="List of Contacts")]
public partial class GetLicenseeContactListResponse
{
///
///List of contacts.
///
[ApiMember(DataType="List", Description="List of contacts.", Name="Contacts")]
public virtual List Contacts { get; set; }
///
///Details of the api response. Success/Fail.
///
[ApiMember(DataType="ResponseStatus", Description="Details of the api response. Success/Fail.", Name="ResponseStatus")]
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; }
}
}