regis

<back to all web services

DirectorySettingsUpdateRequest

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

public class dtos
{

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

}

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

{
	directory_uuid: String,
	waiver: String,
	bday: 0001-01-01,
	spouse_bday: 0001-01-01,
	spouse_name: String,
	wedding_date: 0001-01-01,
	kids: String,
	home_country: String,
	quote: String,
	bio: String,
	interests: String,
	category: String,
	field_of_work: String,
	church: 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
	}
}