regis

<back to all web services

CRMAccountUpdateNonBioAddressRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/DynamicsCRM/Account/{guid}/UpdateNonBioAddress
"use strict";
export class CRMAccountUpdateNonBioAddressRequest {
    /** @param {{guid?:string,regent_id?:number,solicitation_method?:string,institution_names?:string,accreditation_status?:string,accreditation_status_notes?:string,campaign_monitor_optin?:boolean,campaign_monitor_suppressed?:boolean,consent_to_receive_bulk_email?:string,campaign_monitor_lists?:string,business_type?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    guid;
    /** @type {number} */
    regent_id;
    /** @type {string} */
    solicitation_method;
    /** @type {string} */
    institution_names;
    /** @type {string} */
    accreditation_status;
    /** @type {string} */
    accreditation_status_notes;
    /** @type {boolean} */
    campaign_monitor_optin;
    /** @type {boolean} */
    campaign_monitor_suppressed;
    /** @type {string} */
    consent_to_receive_bulk_email;
    /** @type {string} */
    campaign_monitor_lists;
    /** @type {string} */
    business_type;
}

JavaScript CRMAccountUpdateNonBioAddressRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /DynamicsCRM/Account/{guid}/UpdateNonBioAddress HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"guid":"String","regent_id":0,"solicitation_method":"String","institution_names":"String","accreditation_status":"String","accreditation_status_notes":"String","campaign_monitor_optin":false,"campaign_monitor_suppressed":false,"consent_to_receive_bulk_email":"String","campaign_monitor_lists":"String","business_type":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}