| GET | /v1.1/users/get | ||
|---|---|---|---|
| GET | /v1.2/users/get |
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetUser extends GetUser implements IReturnLegacyException
{
}
public static class UserInformation
{
public String BHSupportEmail = null;
public String BHSupportPhone = null;
public String BHIVRPhone = null;
public Integer Id = null;
public String FirstName = null;
public String LastName = null;
public String DisplayName = null;
public String EmailAddress = null;
public String AffiliationName = null;
public Integer GroupId = null;
public String GroupName = null;
public String GroupNickname = null;
public Integer ClientId = null;
public String getBhSupportEmail() { return BHSupportEmail; }
public UserInformation setBhSupportEmail(String value) { this.BHSupportEmail = value; return this; }
public String getBhSupportPhone() { return BHSupportPhone; }
public UserInformation setBhSupportPhone(String value) { this.BHSupportPhone = value; return this; }
public String getBhivrPhone() { return BHIVRPhone; }
public UserInformation setBhivrPhone(String value) { this.BHIVRPhone = value; return this; }
public Integer getId() { return Id; }
public UserInformation setId(Integer value) { this.Id = value; return this; }
public String getFirstName() { return FirstName; }
public UserInformation setFirstName(String value) { this.FirstName = value; return this; }
public String getLastName() { return LastName; }
public UserInformation setLastName(String value) { this.LastName = value; return this; }
public String getDisplayName() { return DisplayName; }
public UserInformation setDisplayName(String value) { this.DisplayName = value; return this; }
public String getEmailAddress() { return EmailAddress; }
public UserInformation setEmailAddress(String value) { this.EmailAddress = value; return this; }
public String getAffiliationName() { return AffiliationName; }
public UserInformation setAffiliationName(String value) { this.AffiliationName = value; return this; }
public Integer getGroupId() { return GroupId; }
public UserInformation setGroupId(Integer value) { this.GroupId = value; return this; }
public String getGroupName() { return GroupName; }
public UserInformation setGroupName(String value) { this.GroupName = value; return this; }
public String getGroupNickname() { return GroupNickname; }
public UserInformation setGroupNickname(String value) { this.GroupNickname = value; return this; }
public Integer getClientId() { return ClientId; }
public UserInformation setClientId(Integer value) { this.ClientId = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1.1/users/get HTTP/1.1 Host: devapi.billhighway.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"BHSupportEmail":"support@billhighway.com","BHSupportPhone":"866-245-5499","BHIVRPhone":"877-336-6007","Id":0,"FirstName":"String","LastName":"String","DisplayName":"String, String","EmailAddress":"String","AffiliationName":"String","GroupId":0,"GroupName":"String","GroupNickname":"String","ClientId":0}