regis

<back to all web services

DirectorySettingsAndActivePersonLookupRequest

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

public class dtos
{

    public static class DirectorySettingsAndActivePersonLookupRequest
    {
        public String uuid = null;
        
        public String getUuid() { return uuid; }
        public DirectorySettingsAndActivePersonLookupRequest setUuid(String value) { this.uuid = value; return this; }
    }

    public static class DirectorySettingsAndPersonLookupResponse
    {
        public ResponseStatus responseStatus = null;
        public Integer regent_id = null;
        public String uuid = null;
        public DirectoryResponse directory_settings = null;
        public DirectoryShareSettingsResponse directory_share_settings = null;
        public ArrayList<DirectoryPersonLookupResponse> person_lookup = null;
        
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public DirectorySettingsAndPersonLookupResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
        public Integer getRegentId() { return regent_id; }
        public DirectorySettingsAndPersonLookupResponse setRegentId(Integer value) { this.regent_id = value; return this; }
        public String getUuid() { return uuid; }
        public DirectorySettingsAndPersonLookupResponse setUuid(String value) { this.uuid = value; return this; }
        public DirectoryResponse getDirectorySettings() { return directory_settings; }
        public DirectorySettingsAndPersonLookupResponse setDirectorySettings(DirectoryResponse value) { this.directory_settings = value; return this; }
        public DirectoryShareSettingsResponse getDirectoryShareSettings() { return directory_share_settings; }
        public DirectorySettingsAndPersonLookupResponse setDirectoryShareSettings(DirectoryShareSettingsResponse value) { this.directory_share_settings = value; return this; }
        public ArrayList<DirectoryPersonLookupResponse> getPersonLookup() { return person_lookup; }
        public DirectorySettingsAndPersonLookupResponse setPersonLookup(ArrayList<DirectoryPersonLookupResponse> value) { this.person_lookup = value; return this; }
    }

    public static class DirectoryResponse
    {
        public String directory_uuid = null;
        public String waiver = null;
        public Date bday = null;
        public Date spouse_bday = null;
        public String spouse_name = null;
        public Date wedding_date = null;
        public String kids = null;
        public String home_country = null;
        public String quote = null;
        public String bio = null;
        public String interests = null;
        public String category = null;
        public String field_of_work = null;
        public String church = null;
        
        public String getDirectoryUuid() { return directory_uuid; }
        public DirectoryResponse setDirectoryUuid(String value) { this.directory_uuid = value; return this; }
        public String getWaiver() { return waiver; }
        public DirectoryResponse setWaiver(String value) { this.waiver = value; return this; }
        public Date getBday() { return bday; }
        public DirectoryResponse setBday(Date value) { this.bday = value; return this; }
        public Date getSpouseBday() { return spouse_bday; }
        public DirectoryResponse setSpouseBday(Date value) { this.spouse_bday = value; return this; }
        public String getSpouseName() { return spouse_name; }
        public DirectoryResponse setSpouseName(String value) { this.spouse_name = value; return this; }
        public Date getWeddingDate() { return wedding_date; }
        public DirectoryResponse setWeddingDate(Date value) { this.wedding_date = value; return this; }
        public String getKids() { return kids; }
        public DirectoryResponse setKids(String value) { this.kids = value; return this; }
        public String getHomeCountry() { return home_country; }
        public DirectoryResponse setHomeCountry(String value) { this.home_country = value; return this; }
        public String getQuote() { return quote; }
        public DirectoryResponse setQuote(String value) { this.quote = value; return this; }
        public String getBio() { return bio; }
        public DirectoryResponse setBio(String value) { this.bio = value; return this; }
        public String getInterests() { return interests; }
        public DirectoryResponse setInterests(String value) { this.interests = value; return this; }
        public String getCategory() { return category; }
        public DirectoryResponse setCategory(String value) { this.category = value; return this; }
        public String getFieldOfWork() { return field_of_work; }
        public DirectoryResponse setFieldOfWork(String value) { this.field_of_work = value; return this; }
        public String getChurch() { return church; }
        public DirectoryResponse setChurch(String value) { this.church = value; return this; }
    }

    public static class DirectoryShareSettingsResponse
    {
        public String directory_uuid = null;
        public Boolean share_full_name = null;
        public Boolean share_bday = null;
        public Boolean share_home_phone = null;
        public Boolean share_cell_phone = null;
        public Boolean share_email = null;
        public Boolean share_address = null;
        public Boolean share_quote = null;
        public Boolean share_bio = null;
        public Boolean share_interests = null;
        public Boolean share_home_country = null;
        public Boolean share_program = null;
        public Boolean share_picture = null;
        public Boolean share_spouse_name = null;
        public Boolean share_spouse_bday = null;
        public Boolean share_wedding_date = null;
        public Boolean share_kids = null;
        public Boolean share_field_of_work = null;
        public Boolean share_church = null;
        
        public String getDirectoryUuid() { return directory_uuid; }
        public DirectoryShareSettingsResponse setDirectoryUuid(String value) { this.directory_uuid = value; return this; }
        public Boolean isShareFullName() { return share_full_name; }
        public DirectoryShareSettingsResponse setShareFullName(Boolean value) { this.share_full_name = value; return this; }
        public Boolean isShareBday() { return share_bday; }
        public DirectoryShareSettingsResponse setShareBday(Boolean value) { this.share_bday = value; return this; }
        public Boolean isShareHomePhone() { return share_home_phone; }
        public DirectoryShareSettingsResponse setShareHomePhone(Boolean value) { this.share_home_phone = value; return this; }
        public Boolean isShareCellPhone() { return share_cell_phone; }
        public DirectoryShareSettingsResponse setShareCellPhone(Boolean value) { this.share_cell_phone = value; return this; }
        public Boolean isShareEmail() { return share_email; }
        public DirectoryShareSettingsResponse setShareEmail(Boolean value) { this.share_email = value; return this; }
        public Boolean isShareAddress() { return share_address; }
        public DirectoryShareSettingsResponse setShareAddress(Boolean value) { this.share_address = value; return this; }
        public Boolean isShareQuote() { return share_quote; }
        public DirectoryShareSettingsResponse setShareQuote(Boolean value) { this.share_quote = value; return this; }
        public Boolean isShareBio() { return share_bio; }
        public DirectoryShareSettingsResponse setShareBio(Boolean value) { this.share_bio = value; return this; }
        public Boolean isShareInterests() { return share_interests; }
        public DirectoryShareSettingsResponse setShareInterests(Boolean value) { this.share_interests = value; return this; }
        public Boolean isShareHomeCountry() { return share_home_country; }
        public DirectoryShareSettingsResponse setShareHomeCountry(Boolean value) { this.share_home_country = value; return this; }
        public Boolean isShareProgram() { return share_program; }
        public DirectoryShareSettingsResponse setShareProgram(Boolean value) { this.share_program = value; return this; }
        public Boolean isSharePicture() { return share_picture; }
        public DirectoryShareSettingsResponse setSharePicture(Boolean value) { this.share_picture = value; return this; }
        public Boolean isShareSpouseName() { return share_spouse_name; }
        public DirectoryShareSettingsResponse setShareSpouseName(Boolean value) { this.share_spouse_name = value; return this; }
        public Boolean isShareSpouseBday() { return share_spouse_bday; }
        public DirectoryShareSettingsResponse setShareSpouseBday(Boolean value) { this.share_spouse_bday = value; return this; }
        public Boolean isShareWeddingDate() { return share_wedding_date; }
        public DirectoryShareSettingsResponse setShareWeddingDate(Boolean value) { this.share_wedding_date = value; return this; }
        public Boolean isShareKids() { return share_kids; }
        public DirectoryShareSettingsResponse setShareKids(Boolean value) { this.share_kids = value; return this; }
        public Boolean isShareFieldOfWork() { return share_field_of_work; }
        public DirectoryShareSettingsResponse setShareFieldOfWork(Boolean value) { this.share_field_of_work = value; return this; }
        public Boolean isShareChurch() { return share_church; }
        public DirectoryShareSettingsResponse setShareChurch(Boolean value) { this.share_church = value; return this; }
    }

    public static class DirectoryPersonLookupResponse
    {
        public String directory_uuid = null;
        public String name = null;
        public Boolean is_active = null;
        
        public String getDirectoryUuid() { return directory_uuid; }
        public DirectoryPersonLookupResponse setDirectoryUuid(String value) { this.directory_uuid = value; return this; }
        public String getName() { return name; }
        public DirectoryPersonLookupResponse setName(String value) { this.name = value; return this; }
        public Boolean getIsActive() { return is_active; }
        public DirectoryPersonLookupResponse setIsActive(Boolean value) { this.is_active = value; return this; }
    }

}

Java DirectorySettingsAndActivePersonLookupRequest 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 /Directory/Settings/{uuid} HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"uuid":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"regent_id":0,"uuid":"String","directory_settings":{"directory_uuid":"String","waiver":"String","bday":"0001-01-01T00:00:00.0000000","spouse_bday":"0001-01-01T00:00:00.0000000","spouse_name":"String","wedding_date":"0001-01-01T00:00:00.0000000","kids":"String","home_country":"String","quote":"String","bio":"String","interests":"String","category":"String","field_of_work":"String","church":"String"},"directory_share_settings":{"directory_uuid":"String","share_full_name":false,"share_bday":false,"share_home_phone":false,"share_cell_phone":false,"share_email":false,"share_address":false,"share_quote":false,"share_bio":false,"share_interests":false,"share_home_country":false,"share_program":false,"share_picture":false,"share_spouse_name":false,"share_spouse_bday":false,"share_wedding_date":false,"share_kids":false,"share_field_of_work":false,"share_church":false},"person_lookup":[{"directory_uuid":"String","name":"String","is_active":false}]}