Required role: | REGISUserRole |
POST | /DynamicsCRM/Contact/{guid}/UpdateNonBioAddress |
---|
"use strict";
export class CRMContactUpdateNonBioAddressRequest {
/** @param {{guid?:string,regent_id?:number,birth_month?:string,age?:number,student_segment?:string,engagement_score?:number,financial_aid_received?:boolean,is_applicant?:boolean,solicitation_method?:string,campaign_monitor_optin?:boolean,campaign_monitor_suppressed?:boolean,campaign_monitor_last_event_date?:string,campaign_monitor_last_reframe_purchase_dt?:string,consent_to_receive_bulk_email?:string,last_consent_source?:string,last_consent_date?:string,campaign_monitor_lists?:string,current_program?:string,total_audit_hours?:number,total_credit_hours?:number,last_credit_class?:string,last_audit_class?:string,last_oncampus_class?:string,last_distance_education_class?:string,last_evening_weekend_class?:string,last_summer_class?:string,last_marketplace_class?:string,last_anglican_studies_class?:string,all_terms_registered?:string,all_terms_registered_onsite?:string,all_terms_registered_online?:string,has_regent_degree?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
guid;
/** @type {number} */
regent_id;
/** @type {string} */
birth_month;
/** @type {?number} */
age;
/** @type {string} */
student_segment;
/** @type {?number} */
engagement_score;
/** @type {boolean} */
financial_aid_received;
/** @type {boolean} */
is_applicant;
/** @type {string} */
solicitation_method;
/** @type {boolean} */
campaign_monitor_optin;
/** @type {boolean} */
campaign_monitor_suppressed;
/** @type {?string} */
campaign_monitor_last_event_date;
/** @type {?string} */
campaign_monitor_last_reframe_purchase_dt;
/** @type {string} */
consent_to_receive_bulk_email;
/** @type {string} */
last_consent_source;
/** @type {?string} */
last_consent_date;
/** @type {string} */
campaign_monitor_lists;
/** @type {string} */
current_program;
/** @type {?number} */
total_audit_hours;
/** @type {?number} */
total_credit_hours;
/** @type {?string} */
last_credit_class;
/** @type {?string} */
last_audit_class;
/** @type {?string} */
last_oncampus_class;
/** @type {?string} */
last_distance_education_class;
/** @type {?string} */
last_evening_weekend_class;
/** @type {?string} */
last_summer_class;
/** @type {?string} */
last_marketplace_class;
/** @type {?string} */
last_anglican_studies_class;
/** @type {string} */
all_terms_registered;
/** @type {string} */
all_terms_registered_onsite;
/** @type {string} */
all_terms_registered_online;
/** @type {boolean} */
has_regent_degree;
}
JavaScript 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"}}