| GET | /signup/api/forms/templates/nat/{nationalID}/clientmap |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports BH.Client.Configuration.Service
Imports BH.Client.Configuration
Namespace Global
Namespace BH.Client.Configuration
Public Partial Class FormTemplateClientMap
Public Overridable Property NationalID As Integer
Public Overridable Property ChapID As Nullable(Of Integer)
Public Overridable Property FormTemplateID As Integer
Public Overridable Property FormBuilder As Nullable(Of Boolean)
Public Overridable Property RelativeGroupInfoServiceApi As String
Public Overridable Property RelativeGroupInfoServiceWithUserApi As String
Public Overridable Property MemberInfoIntegrationPartnerApi As IntegratedPartner
Public Overridable Property RequirePreAuthenticatedMember As Boolean
End Class
Public Partial Class IntegratedPartner
Public Overridable Property IntegrationPartnerId As Integer
Public Overridable Property Name As String
Public Overridable Property Description As String
Public Overridable Property Uri As String
Public Overridable Property Username As String
Public Overridable Property Password As String
Public Overridable Property ApiKey As String
Public Overridable Property Scope As String
End Class
End Namespace
Namespace BH.Client.Configuration.Service
Public Partial Class FormTemplateClientMapRq
Implements IApiRequest
Public Overridable Property NationalID As Integer
End Class
Public Partial Class FormTemplateClientMapRs
Implements IApiResponse
Public Sub New()
TemplateMaps = New List(Of FormTemplateClientMap)
End Sub
Public Overridable Property TemplateMaps As List(Of FormTemplateClientMap)
End Class
End Namespace
End Namespace
VB.NET FormTemplateClientMapRq DTOs
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 /signup/api/forms/templates/nat/{nationalID}/clientmap HTTP/1.1
Host: devapi.billhighway.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
TemplateMaps:
[
{
NationalID: 0,
ChapID: 0,
FormTemplateID: 0,
FormBuilder: False,
RelativeGroupInfoServiceApi: String,
RelativeGroupInfoServiceWithUserApi: String,
MemberInfoIntegrationPartnerApi:
{
IntegrationPartnerId: 0,
Name: String,
Description: String,
Uri: String,
Username: String,
Password: String,
ApiKey: String,
Scope: String
},
RequirePreAuthenticatedMember: False
}
]
}