Required permission: | ActiveDirectory |
POST | /Person/{uuid}/RegentLoginAssigned/Email |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class RegentLoginAssignedEmailRequest
{
public String uuid = null;
public String preferred_name = null;
public String regent_login = null;
public String email = null;
public Boolean is_landlord = null;
public String set_password_url = null;
public String getUuid() { return uuid; }
public RegentLoginAssignedEmailRequest setUuid(String value) { this.uuid = value; return this; }
public String getPreferredName() { return preferred_name; }
public RegentLoginAssignedEmailRequest setPreferredName(String value) { this.preferred_name = value; return this; }
public String getRegentLogin() { return regent_login; }
public RegentLoginAssignedEmailRequest setRegentLogin(String value) { this.regent_login = value; return this; }
public String getEmail() { return email; }
public RegentLoginAssignedEmailRequest setEmail(String value) { this.email = value; return this; }
public Boolean getIsLandlord() { return is_landlord; }
public RegentLoginAssignedEmailRequest setIsLandlord(Boolean value) { this.is_landlord = value; return this; }
public String getSetPasswordUrl() { return set_password_url; }
public RegentLoginAssignedEmailRequest setSetPasswordUrl(String value) { this.set_password_url = value; return this; }
}
}
Java RegentLoginAssignedEmailRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Person/{uuid}/RegentLoginAssigned/Email HTTP/1.1
Host: data.regent-college.edu
Accept: application/json
Content-Type: application/json
Content-Length: length
{"uuid":"String","preferred_name":"String","regent_login":"String","email":"String","is_landlord":false,"set_password_url":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}