Required permission: | SearchOrganization |
POST | /organizations |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
public static class OrganizationsRequest
{
public Boolean is_vendor = null;
public Boolean getIsVendor() { return is_vendor; }
public OrganizationsRequest setIsVendor(Boolean value) { this.is_vendor = value; return this; }
}
}
Java OrganizationsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /organizations HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"is_vendor":false}
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"}},"organization_id":0,"organization_name":"String","email":"String","addr1":"String","addr2":"String","city":"String","state":"String","country":"String","code":"String","phone_cell":"String","phone_bus":"String","phone_home":"String","is_institution":false,"is_vendor":false,"is_re":false}]