Required role: | REGISUserRole |
POST | /admissions/{uuid}/address/sync/update |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class AddressSyncUpdateRequest
{
public String authorizing_uuid = null;
public String uuid = null;
public Boolean sugar_is_best = null;
public Boolean regis_is_best = null;
public Boolean re_is_best = null;
public String getAuthorizingUuid() { return authorizing_uuid; }
public AddressSyncUpdateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
public String getUuid() { return uuid; }
public AddressSyncUpdateRequest setUuid(String value) { this.uuid = value; return this; }
public Boolean isSugarIsBest() { return sugar_is_best; }
public AddressSyncUpdateRequest setSugarIsBest(Boolean value) { this.sugar_is_best = value; return this; }
public Boolean isRegisIsBest() { return regis_is_best; }
public AddressSyncUpdateRequest setRegisIsBest(Boolean value) { this.regis_is_best = value; return this; }
public Boolean isReIsBest() { return re_is_best; }
public AddressSyncUpdateRequest setReIsBest(Boolean value) { this.re_is_best = value; return this; }
}
}
Java AddressSyncUpdateRequest 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 /admissions/{uuid}/address/sync/update HTTP/1.1
Host: data.regent-college.edu
Accept: application/json
Content-Type: application/json
Content-Length: length
{"authorizing_uuid":"String","uuid":"String","sugar_is_best":false,"regis_is_best":false,"re_is_best":false}
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"}}