regis

<back to all web services

AddressAndBioUpdateRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/person/{uuid}/addressandbio/update
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class AddressAndBioUpdateRequest
    {
        public String uuid = null;
        public Integer spouse_regent_id = null;
        public String first_name = null;
        public String middle_name = null;
        public String last_name = null;
        public String preferred_name = null;
        public String birth_name = null;
        public String addr1 = null;
        public String addr2 = null;
        public String country = null;
        public String state = null;
        public String city = null;
        public String code = null;
        public String phone_home = null;
        public String phone_cell = null;
        public String phone_bus = null;
        public String email = null;
        public String prefix = null;
        public Date dob = null;
        public String citizenship = null;
        public String citizenship_other = null;
        public String permanent_resident = null;
        public String denomination = null;
        public String occupation = null;
        public String ethnicity = null;
        public String gender = null;
        public String marital_status = null;
        public Date deceased_date = null;
        public String tax_number = null;
        public Boolean update_re_and_sugar = null;
        public String regent_title = null;
        public String regent_department = null;
        public String regent_faculty_profile_url = null;
        public String regent_image_url = null;
        public Boolean include_on_website = null;
        public String authorizing_uuid = null;
        
        public String getUuid() { return uuid; }
        public AddressAndBioUpdateRequest setUuid(String value) { this.uuid = value; return this; }
        public Integer getSpouseRegentId() { return spouse_regent_id; }
        public AddressAndBioUpdateRequest setSpouseRegentId(Integer value) { this.spouse_regent_id = value; return this; }
        public String getFirstName() { return first_name; }
        public AddressAndBioUpdateRequest setFirstName(String value) { this.first_name = value; return this; }
        public String getMiddleName() { return middle_name; }
        public AddressAndBioUpdateRequest setMiddleName(String value) { this.middle_name = value; return this; }
        public String getLastName() { return last_name; }
        public AddressAndBioUpdateRequest setLastName(String value) { this.last_name = value; return this; }
        public String getPreferredName() { return preferred_name; }
        public AddressAndBioUpdateRequest setPreferredName(String value) { this.preferred_name = value; return this; }
        public String getBirthName() { return birth_name; }
        public AddressAndBioUpdateRequest setBirthName(String value) { this.birth_name = value; return this; }
        public String getAddr1() { return addr1; }
        public AddressAndBioUpdateRequest setAddr1(String value) { this.addr1 = value; return this; }
        public String getAddr2() { return addr2; }
        public AddressAndBioUpdateRequest setAddr2(String value) { this.addr2 = value; return this; }
        public String getCountry() { return country; }
        public AddressAndBioUpdateRequest setCountry(String value) { this.country = value; return this; }
        public String getState() { return state; }
        public AddressAndBioUpdateRequest setState(String value) { this.state = value; return this; }
        public String getCity() { return city; }
        public AddressAndBioUpdateRequest setCity(String value) { this.city = value; return this; }
        public String getCode() { return code; }
        public AddressAndBioUpdateRequest setCode(String value) { this.code = value; return this; }
        public String getPhoneHome() { return phone_home; }
        public AddressAndBioUpdateRequest setPhoneHome(String value) { this.phone_home = value; return this; }
        public String getPhoneCell() { return phone_cell; }
        public AddressAndBioUpdateRequest setPhoneCell(String value) { this.phone_cell = value; return this; }
        public String getPhoneBus() { return phone_bus; }
        public AddressAndBioUpdateRequest setPhoneBus(String value) { this.phone_bus = value; return this; }
        public String getEmail() { return email; }
        public AddressAndBioUpdateRequest setEmail(String value) { this.email = value; return this; }
        public String getPrefix() { return prefix; }
        public AddressAndBioUpdateRequest setPrefix(String value) { this.prefix = value; return this; }
        public Date getDob() { return dob; }
        public AddressAndBioUpdateRequest setDob(Date value) { this.dob = value; return this; }
        public String getCitizenship() { return citizenship; }
        public AddressAndBioUpdateRequest setCitizenship(String value) { this.citizenship = value; return this; }
        public String getCitizenshipOther() { return citizenship_other; }
        public AddressAndBioUpdateRequest setCitizenshipOther(String value) { this.citizenship_other = value; return this; }
        public String getPermanentResident() { return permanent_resident; }
        public AddressAndBioUpdateRequest setPermanentResident(String value) { this.permanent_resident = value; return this; }
        public String getDenomination() { return denomination; }
        public AddressAndBioUpdateRequest setDenomination(String value) { this.denomination = value; return this; }
        public String getOccupation() { return occupation; }
        public AddressAndBioUpdateRequest setOccupation(String value) { this.occupation = value; return this; }
        public String getEthnicity() { return ethnicity; }
        public AddressAndBioUpdateRequest setEthnicity(String value) { this.ethnicity = value; return this; }
        public String getGender() { return gender; }
        public AddressAndBioUpdateRequest setGender(String value) { this.gender = value; return this; }
        public String getMaritalStatus() { return marital_status; }
        public AddressAndBioUpdateRequest setMaritalStatus(String value) { this.marital_status = value; return this; }
        public Date getDeceasedDate() { return deceased_date; }
        public AddressAndBioUpdateRequest setDeceasedDate(Date value) { this.deceased_date = value; return this; }
        public String getTaxNumber() { return tax_number; }
        public AddressAndBioUpdateRequest setTaxNumber(String value) { this.tax_number = value; return this; }
        public Boolean isUpdateReAndSugar() { return update_re_and_sugar; }
        public AddressAndBioUpdateRequest setUpdateReAndSugar(Boolean value) { this.update_re_and_sugar = value; return this; }
        public String getRegentTitle() { return regent_title; }
        public AddressAndBioUpdateRequest setRegentTitle(String value) { this.regent_title = value; return this; }
        public String getRegentDepartment() { return regent_department; }
        public AddressAndBioUpdateRequest setRegentDepartment(String value) { this.regent_department = value; return this; }
        public String getRegentFacultyProfileUrl() { return regent_faculty_profile_url; }
        public AddressAndBioUpdateRequest setRegentFacultyProfileUrl(String value) { this.regent_faculty_profile_url = value; return this; }
        public String getRegentImageUrl() { return regent_image_url; }
        public AddressAndBioUpdateRequest setRegentImageUrl(String value) { this.regent_image_url = value; return this; }
        public Boolean isIncludeOnWebsite() { return include_on_website; }
        public AddressAndBioUpdateRequest setIncludeOnWebsite(Boolean value) { this.include_on_website = value; return this; }
        public String getAuthorizingUuid() { return authorizing_uuid; }
        public AddressAndBioUpdateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
    }

    public static class AddressAndBioUpdateResponse
    {
        public ResponseStatus responseStatus = null;
        public Boolean update_success = null;
        public ArrayList<String> messages = null;
        
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public AddressAndBioUpdateResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
        public Boolean isUpdateSuccess() { return update_success; }
        public AddressAndBioUpdateResponse setUpdateSuccess(Boolean value) { this.update_success = value; return this; }
        public ArrayList<String> getMessages() { return messages; }
        public AddressAndBioUpdateResponse setMessages(ArrayList<String> value) { this.messages = value; return this; }
    }

}

Java AddressAndBioUpdateRequest DTOs

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

HTTP + XML

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

POST /person/{uuid}/addressandbio/update HTTP/1.1 
Host: data.regent-college.edu 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<AddressAndBioUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
  <addr1>String</addr1>
  <addr2>String</addr2>
  <authorizing_uuid>String</authorizing_uuid>
  <birth_name>String</birth_name>
  <citizenship>String</citizenship>
  <citizenship_other>String</citizenship_other>
  <city>String</city>
  <code>String</code>
  <country>String</country>
  <deceased_date>0001-01-01T00:00:00</deceased_date>
  <denomination>String</denomination>
  <dob>0001-01-01T00:00:00</dob>
  <email>String</email>
  <ethnicity>String</ethnicity>
  <first_name>String</first_name>
  <gender>String</gender>
  <include_on_website>false</include_on_website>
  <last_name>String</last_name>
  <marital_status>String</marital_status>
  <middle_name>String</middle_name>
  <occupation>String</occupation>
  <permanent_resident>String</permanent_resident>
  <phone_bus>String</phone_bus>
  <phone_cell>String</phone_cell>
  <phone_home>String</phone_home>
  <preferred_name>String</preferred_name>
  <prefix>String</prefix>
  <regent_department>String</regent_department>
  <regent_faculty_profile_url>String</regent_faculty_profile_url>
  <regent_image_url>String</regent_image_url>
  <regent_title>String</regent_title>
  <spouse_regent_id>0</spouse_regent_id>
  <state>String</state>
  <tax_number>String</tax_number>
  <update_re_and_sugar>false</update_re_and_sugar>
  <uuid>String</uuid>
</AddressAndBioUpdateRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AddressAndBioUpdateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Responses">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </messages>
  <update_success>false</update_success>
</AddressAndBioUpdateResponse>