| GET | /v1.1/users/get | ||
|---|---|---|---|
| GET | /v1.2/users/get |
namespace BH.CloudAPI.Common.Models
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type UserInformation() =
member val BHSupportEmail:String = null with get,set
member val BHSupportPhone:String = null with get,set
member val BHIVRPhone:String = null with get,set
member val Id:Int32 = new Int32() with get,set
member val FirstName:String = null with get,set
member val LastName:String = null with get,set
member val DisplayName:String = null with get,set
member val EmailAddress:String = null with get,set
member val AffiliationName:String = null with get,set
member val GroupId:Int32 = new Int32() with get,set
member val GroupName:String = null with get,set
member val GroupNickname:String = null with get,set
member val ClientId:Nullable<Int32> = new Nullable<Int32>() with get,set
[<AllowNullLiteral>]
type GetUser() =
inherit GetUser()
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}