/* Options: Date: 2024-12-29 02:55:22 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //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: True //ExportValueTypes: False IncludeTypes: CRMContactSpouseRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using regis.DynamicsCRM.Requests; using regis.DynamicsCRM.Responses; namespace regis.DynamicsCRM.Requests { [Route("/DynamicsCRM/Contact/{regent_id}/Spouse", "POST")] public partial class CRMContactSpouseRequest : IReturn { public virtual int regent_id { get; set; } } } namespace regis.DynamicsCRM.Responses { public partial class CRMContactResponse { public virtual ResponseStatus ResponseStatus { get; set; } public virtual string guid { get; set; } public virtual int regent_id { get; set; } public virtual string full_name { get; set; } public virtual string first_name { get; set; } public virtual string last_name { get; set; } public virtual string middle_name { get; set; } public virtual string preferred_name { get; set; } public virtual string former_name { get; set; } public virtual string prefix { get; set; } public virtual string addressee { get; set; } public virtual string primary_salutation { get; set; } public virtual string spouse_name { get; set; } public virtual bool spouse_is_main_contact { get; set; } public virtual string addr1 { get; set; } public virtual string addr2 { get; set; } public virtual string city { get; set; } public virtual string state { get; set; } public virtual string country { get; set; } public virtual string code { get; set; } public virtual string citizenship { get; set; } public virtual string citizenship_other { get; set; } public virtual string permanent_resident { get; set; } public virtual DateTime? dob { get; set; } public virtual string birth_month { get; set; } public virtual DateTime? deceased_date { get; set; } public virtual int? age { get; set; } public virtual string denomination { get; set; } public virtual string connection_to_regent { get; set; } public virtual string student_status { get; set; } public virtual string student_segment { get; set; } public virtual int? engagement_score { get; set; } public virtual string reason_added { get; set; } public virtual string gender { get; set; } public virtual string marital_status { get; set; } public virtual bool financial_aid_received { get; set; } public virtual bool is_applicant { get; set; } public virtual string solicitation_method { get; set; } public virtual string solicitation_exceptions { get; set; } public virtual bool campaign_monitor_optin { get; set; } public virtual bool campaign_monitor_suppressed { get; set; } public virtual DateTime? campaign_monitor_last_event_date { get; set; } public virtual DateTime? campaign_monitor_last_reframe_purchase_dt { get; set; } public virtual string consent_to_receive_bulk_email { get; set; } public virtual string last_consent_source { get; set; } public virtual DateTime? last_consent_date { get; set; } public virtual string campaign_monitor_lists { get; set; } public virtual string email { get; set; } public virtual string email_secondary { get; set; } public virtual string phone_home { get; set; } public virtual string phone_bus { get; set; } public virtual string phone_cell { get; set; } public virtual bool no_mail { get; set; } public virtual bool no_email { get; set; } public virtual bool no_bulk_email { get; set; } public virtual bool no_phone { get; set; } public virtual bool no_marketing_materials { get; set; } public virtual bool prefers_email { get; set; } public virtual bool prefers_phone { get; set; } public virtual string added_by { get; set; } public virtual DateTime? added_date { get; set; } public virtual string changed_by { get; set; } public virtual DateTime? changed_date { get; set; } public virtual string current_program { get; set; } public virtual decimal? total_audit_hours { get; set; } public virtual decimal? total_credit_hours { get; set; } public virtual DateTime? last_credit_class { get; set; } public virtual DateTime? last_audit_class { get; set; } public virtual DateTime? last_oncampus_class { get; set; } public virtual DateTime? last_distance_education_class { get; set; } public virtual DateTime? last_evening_weekend_class { get; set; } public virtual DateTime? last_summer_class { get; set; } public virtual DateTime? last_marketplace_class { get; set; } public virtual DateTime? last_anglican_studies_class { get; set; } public virtual string all_terms_registered { get; set; } public virtual string all_terms_registered_onsite { get; set; } public virtual string all_terms_registered_online { get; set; } public virtual bool has_regent_degree { get; set; } public virtual string owner_full_name { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { public ResponseStatus() { Errors = new List{}; Meta = new Dictionary{}; } [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; } } }