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
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class CRMAccountUpdateNonBioAddressRequest
    {
        public String guid = null;
        public Integer regent_id = null;
        public String solicitation_method = null;
        public String institution_names = null;
        public String accreditation_status = null;
        public String accreditation_status_notes = null;
        public Boolean campaign_monitor_optin = null;
        public Boolean campaign_monitor_suppressed = null;
        public String consent_to_receive_bulk_email = null;
        public String campaign_monitor_lists = null;
        public String business_type = null;
        
        public String getGuid() { return guid; }
        public CRMAccountUpdateNonBioAddressRequest setGuid(String value) { this.guid = value; return this; }
        public Integer getRegentId() { return regent_id; }
        public CRMAccountUpdateNonBioAddressRequest setRegentId(Integer value) { this.regent_id = value; return this; }
        public String getSolicitationMethod() { return solicitation_method; }
        public CRMAccountUpdateNonBioAddressRequest setSolicitationMethod(String value) { this.solicitation_method = value; return this; }
        public String getInstitutionNames() { return institution_names; }
        public CRMAccountUpdateNonBioAddressRequest setInstitutionNames(String value) { this.institution_names = value; return this; }
        public String getAccreditationStatus() { return accreditation_status; }
        public CRMAccountUpdateNonBioAddressRequest setAccreditationStatus(String value) { this.accreditation_status = value; return this; }
        public String getAccreditationStatusNotes() { return accreditation_status_notes; }
        public CRMAccountUpdateNonBioAddressRequest setAccreditationStatusNotes(String value) { this.accreditation_status_notes = value; return this; }
        public Boolean isCampaignMonitorOptin() { return campaign_monitor_optin; }
        public CRMAccountUpdateNonBioAddressRequest setCampaignMonitorOptin(Boolean value) { this.campaign_monitor_optin = value; return this; }
        public Boolean isCampaignMonitorSuppressed() { return campaign_monitor_suppressed; }
        public CRMAccountUpdateNonBioAddressRequest setCampaignMonitorSuppressed(Boolean value) { this.campaign_monitor_suppressed = value; return this; }
        public String getConsentToReceiveBulkEmail() { return consent_to_receive_bulk_email; }
        public CRMAccountUpdateNonBioAddressRequest setConsentToReceiveBulkEmail(String value) { this.consent_to_receive_bulk_email = value; return this; }
        public String getCampaignMonitorLists() { return campaign_monitor_lists; }
        public CRMAccountUpdateNonBioAddressRequest setCampaignMonitorLists(String value) { this.campaign_monitor_lists = value; return this; }
        public String getBusinessType() { return business_type; }
        public CRMAccountUpdateNonBioAddressRequest setBusinessType(String value) { this.business_type = value; return this; }
    }

}

Java CRMAccountUpdateNonBioAddressRequest DTOs

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

HTTP + JSV

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/jsv
Content-Type: text/jsv
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/jsv
Content-Length: length

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