Required role: | REGISUserRole |
POST | /DynamicsCRM/Contact/{guid}/UpdateNonBioAddress |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class CRMContactUpdateNonBioAddressRequest
{
public String guid = null;
public Integer regent_id = null;
public String birth_month = null;
public Integer age = null;
public String student_segment = null;
public Integer engagement_score = null;
public Boolean financial_aid_received = null;
public Boolean is_applicant = null;
public String solicitation_method = null;
public Boolean campaign_monitor_optin = null;
public Boolean campaign_monitor_suppressed = null;
public Date campaign_monitor_last_event_date = null;
public Date campaign_monitor_last_reframe_purchase_dt = null;
public String consent_to_receive_bulk_email = null;
public String last_consent_source = null;
public Date last_consent_date = null;
public String campaign_monitor_lists = null;
public String current_program = null;
public BigDecimal total_audit_hours = null;
public BigDecimal total_credit_hours = null;
public Date last_credit_class = null;
public Date last_audit_class = null;
public Date last_oncampus_class = null;
public Date last_distance_education_class = null;
public Date last_evening_weekend_class = null;
public Date last_summer_class = null;
public Date last_marketplace_class = null;
public Date last_anglican_studies_class = null;
public String all_terms_registered = null;
public String all_terms_registered_onsite = null;
public String all_terms_registered_online = null;
public Boolean has_regent_degree = null;
public String getGuid() { return guid; }
public CRMContactUpdateNonBioAddressRequest setGuid(String value) { this.guid = value; return this; }
public Integer getRegentId() { return regent_id; }
public CRMContactUpdateNonBioAddressRequest setRegentId(Integer value) { this.regent_id = value; return this; }
public String getBirthMonth() { return birth_month; }
public CRMContactUpdateNonBioAddressRequest setBirthMonth(String value) { this.birth_month = value; return this; }
public Integer getAge() { return age; }
public CRMContactUpdateNonBioAddressRequest setAge(Integer value) { this.age = value; return this; }
public String getStudentSegment() { return student_segment; }
public CRMContactUpdateNonBioAddressRequest setStudentSegment(String value) { this.student_segment = value; return this; }
public Integer getEngagementScore() { return engagement_score; }
public CRMContactUpdateNonBioAddressRequest setEngagementScore(Integer value) { this.engagement_score = value; return this; }
public Boolean isFinancialAidReceived() { return financial_aid_received; }
public CRMContactUpdateNonBioAddressRequest setFinancialAidReceived(Boolean value) { this.financial_aid_received = value; return this; }
public Boolean getIsApplicant() { return is_applicant; }
public CRMContactUpdateNonBioAddressRequest setIsApplicant(Boolean value) { this.is_applicant = value; return this; }
public String getSolicitationMethod() { return solicitation_method; }
public CRMContactUpdateNonBioAddressRequest setSolicitationMethod(String value) { this.solicitation_method = value; return this; }
public Boolean isCampaignMonitorOptin() { return campaign_monitor_optin; }
public CRMContactUpdateNonBioAddressRequest setCampaignMonitorOptin(Boolean value) { this.campaign_monitor_optin = value; return this; }
public Boolean isCampaignMonitorSuppressed() { return campaign_monitor_suppressed; }
public CRMContactUpdateNonBioAddressRequest setCampaignMonitorSuppressed(Boolean value) { this.campaign_monitor_suppressed = value; return this; }
public Date getCampaignMonitorLastEventDate() { return campaign_monitor_last_event_date; }
public CRMContactUpdateNonBioAddressRequest setCampaignMonitorLastEventDate(Date value) { this.campaign_monitor_last_event_date = value; return this; }
public Date getCampaignMonitorLastReframePurchaseDt() { return campaign_monitor_last_reframe_purchase_dt; }
public CRMContactUpdateNonBioAddressRequest setCampaignMonitorLastReframePurchaseDt(Date value) { this.campaign_monitor_last_reframe_purchase_dt = value; return this; }
public String getConsentToReceiveBulkEmail() { return consent_to_receive_bulk_email; }
public CRMContactUpdateNonBioAddressRequest setConsentToReceiveBulkEmail(String value) { this.consent_to_receive_bulk_email = value; return this; }
public String getLastConsentSource() { return last_consent_source; }
public CRMContactUpdateNonBioAddressRequest setLastConsentSource(String value) { this.last_consent_source = value; return this; }
public Date getLastConsentDate() { return last_consent_date; }
public CRMContactUpdateNonBioAddressRequest setLastConsentDate(Date value) { this.last_consent_date = value; return this; }
public String getCampaignMonitorLists() { return campaign_monitor_lists; }
public CRMContactUpdateNonBioAddressRequest setCampaignMonitorLists(String value) { this.campaign_monitor_lists = value; return this; }
public String getCurrentProgram() { return current_program; }
public CRMContactUpdateNonBioAddressRequest setCurrentProgram(String value) { this.current_program = value; return this; }
public BigDecimal getTotalAuditHours() { return total_audit_hours; }
public CRMContactUpdateNonBioAddressRequest setTotalAuditHours(BigDecimal value) { this.total_audit_hours = value; return this; }
public BigDecimal getTotalCreditHours() { return total_credit_hours; }
public CRMContactUpdateNonBioAddressRequest setTotalCreditHours(BigDecimal value) { this.total_credit_hours = value; return this; }
public Date getLastCreditClass() { return last_credit_class; }
public CRMContactUpdateNonBioAddressRequest setLastCreditClass(Date value) { this.last_credit_class = value; return this; }
public Date getLastAuditClass() { return last_audit_class; }
public CRMContactUpdateNonBioAddressRequest setLastAuditClass(Date value) { this.last_audit_class = value; return this; }
public Date getLastOncampusClass() { return last_oncampus_class; }
public CRMContactUpdateNonBioAddressRequest setLastOncampusClass(Date value) { this.last_oncampus_class = value; return this; }
public Date getLastDistanceEducationClass() { return last_distance_education_class; }
public CRMContactUpdateNonBioAddressRequest setLastDistanceEducationClass(Date value) { this.last_distance_education_class = value; return this; }
public Date getLastEveningWeekendClass() { return last_evening_weekend_class; }
public CRMContactUpdateNonBioAddressRequest setLastEveningWeekendClass(Date value) { this.last_evening_weekend_class = value; return this; }
public Date getLastSummerClass() { return last_summer_class; }
public CRMContactUpdateNonBioAddressRequest setLastSummerClass(Date value) { this.last_summer_class = value; return this; }
public Date getLastMarketplaceClass() { return last_marketplace_class; }
public CRMContactUpdateNonBioAddressRequest setLastMarketplaceClass(Date value) { this.last_marketplace_class = value; return this; }
public Date getLastAnglicanStudiesClass() { return last_anglican_studies_class; }
public CRMContactUpdateNonBioAddressRequest setLastAnglicanStudiesClass(Date value) { this.last_anglican_studies_class = value; return this; }
public String getAllTermsRegistered() { return all_terms_registered; }
public CRMContactUpdateNonBioAddressRequest setAllTermsRegistered(String value) { this.all_terms_registered = value; return this; }
public String getAllTermsRegisteredOnsite() { return all_terms_registered_onsite; }
public CRMContactUpdateNonBioAddressRequest setAllTermsRegisteredOnsite(String value) { this.all_terms_registered_onsite = value; return this; }
public String getAllTermsRegisteredOnline() { return all_terms_registered_online; }
public CRMContactUpdateNonBioAddressRequest setAllTermsRegisteredOnline(String value) { this.all_terms_registered_online = value; return this; }
public Boolean isHasRegentDegree() { return has_regent_degree; }
public CRMContactUpdateNonBioAddressRequest setHasRegentDegree(Boolean value) { this.has_regent_degree = value; return this; }
}
}
Java CRMContactUpdateNonBioAddressRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /DynamicsCRM/Contact/{guid}/UpdateNonBioAddress HTTP/1.1
Host: data.regent-college.edu
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CRMContactUpdateNonBioAddressRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.DynamicsCRM.Requests">
<age>0</age>
<all_terms_registered>String</all_terms_registered>
<all_terms_registered_online>String</all_terms_registered_online>
<all_terms_registered_onsite>String</all_terms_registered_onsite>
<birth_month>String</birth_month>
<campaign_monitor_last_event_date>0001-01-01T00:00:00</campaign_monitor_last_event_date>
<campaign_monitor_last_reframe_purchase_dt>0001-01-01T00:00:00</campaign_monitor_last_reframe_purchase_dt>
<campaign_monitor_lists>String</campaign_monitor_lists>
<campaign_monitor_optin>false</campaign_monitor_optin>
<campaign_monitor_suppressed>false</campaign_monitor_suppressed>
<consent_to_receive_bulk_email>String</consent_to_receive_bulk_email>
<current_program>String</current_program>
<engagement_score>0</engagement_score>
<financial_aid_received>false</financial_aid_received>
<guid>String</guid>
<has_regent_degree>false</has_regent_degree>
<is_applicant>false</is_applicant>
<last_anglican_studies_class>0001-01-01T00:00:00</last_anglican_studies_class>
<last_audit_class>0001-01-01T00:00:00</last_audit_class>
<last_consent_date>0001-01-01T00:00:00</last_consent_date>
<last_consent_source>String</last_consent_source>
<last_credit_class>0001-01-01T00:00:00</last_credit_class>
<last_distance_education_class>0001-01-01T00:00:00</last_distance_education_class>
<last_evening_weekend_class>0001-01-01T00:00:00</last_evening_weekend_class>
<last_marketplace_class>0001-01-01T00:00:00</last_marketplace_class>
<last_oncampus_class>0001-01-01T00:00:00</last_oncampus_class>
<last_summer_class>0001-01-01T00:00:00</last_summer_class>
<regent_id>0</regent_id>
<solicitation_method>String</solicitation_method>
<student_segment>String</student_segment>
<total_audit_hours>0</total_audit_hours>
<total_credit_hours>0</total_credit_hours>
</CRMContactUpdateNonBioAddressRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ResponseStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types"> <ErrorCode>String</ErrorCode> <Message>String</Message> <StackTrace>String</StackTrace> <Errors> <ResponseError> <ErrorCode>String</ErrorCode> <FieldName>String</FieldName> <Message>String</Message> <Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringstring> <d4p1:Key>String</d4p1:Key> <d4p1:Value>String</d4p1:Value> </d4p1:KeyValueOfstringstring> </Meta> </ResponseError> </Errors> <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>String</d2p1:Key> <d2p1:Value>String</d2p1:Value> </d2p1:KeyValueOfstringstring> </Meta> </ResponseStatus>