| GET | /v1.1/users/get | ||
|---|---|---|---|
| GET | /v1.2/users/get |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using BH.CloudAPI.Common4.DTO;
using BH.CloudAPI.Common.Models;
namespace BH.CloudAPI.Common.Models
{
public partial class UserInformation
{
public virtual string BHSupportEmail { get; set; }
public virtual string BHSupportPhone { get; set; }
public virtual string BHIVRPhone { get; set; }
public virtual int Id { get; set; }
public virtual string FirstName { get; set; }
public virtual string LastName { get; set; }
public virtual string DisplayName { get; set; }
public virtual string EmailAddress { get; set; }
public virtual string AffiliationName { get; set; }
public virtual int GroupId { get; set; }
public virtual string GroupName { get; set; }
public virtual string GroupNickname { get; set; }
public virtual int? ClientId { get; set; }
}
}
namespace BH.CloudAPI.Common4.DTO
{
public partial class GetUser
: GetUser, IReturnLegacyException
{
}
}
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}