| GET | /v1.1/users/get | ||
|---|---|---|---|
| GET | /v1.2/users/get |
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports BH.CloudAPI.Common4.DTO
Imports BH.CloudAPI.Common.Models
Namespace Global
Namespace BH.CloudAPI.Common.Models
Public Partial Class UserInformation
Public Overridable Property BHSupportEmail As String
Public Overridable Property BHSupportPhone As String
Public Overridable Property BHIVRPhone As String
Public Overridable Property Id As Integer
Public Overridable Property FirstName As String
Public Overridable Property LastName As String
Public Overridable Property DisplayName As String
Public Overridable Property EmailAddress As String
Public Overridable Property AffiliationName As String
Public Overridable Property GroupId As Integer
Public Overridable Property GroupName As String
Public Overridable Property GroupNickname As String
Public Overridable Property ClientId As Nullable(Of Integer)
End Class
End Namespace
Namespace BH.CloudAPI.Common4.DTO
Public Partial Class GetUser
Inherits GetUser
Implements IReturnLegacyException
End Class
End Namespace
End Namespace
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.
GET /v1.1/users/get HTTP/1.1 Host: devapi.billhighway.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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}