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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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/json
Content-Type: application/json
Content-Length: length
{"guid":"String","regent_id":0,"birth_month":"String","age":0,"student_segment":"String","engagement_score":0,"financial_aid_received":false,"is_applicant":false,"solicitation_method":"String","campaign_monitor_optin":false,"campaign_monitor_suppressed":false,"campaign_monitor_last_event_date":"0001-01-01T00:00:00.0000000","campaign_monitor_last_reframe_purchase_dt":"0001-01-01T00:00:00.0000000","consent_to_receive_bulk_email":"String","last_consent_source":"String","last_consent_date":"0001-01-01T00:00:00.0000000","campaign_monitor_lists":"String","current_program":"String","total_audit_hours":0,"total_credit_hours":0,"last_credit_class":"0001-01-01T00:00:00.0000000","last_audit_class":"0001-01-01T00:00:00.0000000","last_oncampus_class":"0001-01-01T00:00:00.0000000","last_distance_education_class":"0001-01-01T00:00:00.0000000","last_evening_weekend_class":"0001-01-01T00:00:00.0000000","last_summer_class":"0001-01-01T00:00:00.0000000","last_marketplace_class":"0001-01-01T00:00:00.0000000","last_anglican_studies_class":"0001-01-01T00:00:00.0000000","all_terms_registered":"String","all_terms_registered_onsite":"String","all_terms_registered_online":"String","has_regent_degree":false}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}