| GET | /signup/api/nat/{natID}/standardSignup/info | ||
|---|---|---|---|
| GET | /signup/api/nat/{natID}/group/{groupId}/{usertype}/user/{userid}/standardSignup/info |
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports BH.CloudAPI.Common4.DTO.StandardSignupForm.Request
Imports BH.CloudAPI.Common4.DTO.StandardSignupForm.Response
Imports BH.CloudAPI.Common4.DTO.StandardSignupForm
Imports BH.API.DataAccess.Dto
Imports BH.API.CloudApi.Core
Namespace Global
Namespace BH.API.CloudApi.Core
Public Partial Class Link
Public Overridable Property Rel As String
Public Overridable Property Url As String
End Class
End Namespace
Namespace BH.API.DataAccess.Dto
Public Partial Class ChapterDto
Public Overridable Property ChapId As Integer
Public Overridable Property College As String
Public Overridable Property Designation As String
End Class
Public Partial Class ContextualHelpDto
Public Overridable Property ControlName As String
Public Overridable Property LabelText As String
Public Overridable Property IsVisible As Boolean
Public Overridable Property IsRequired As Boolean
End Class
Public Partial Class CountryDto
Public Overridable Property CountryID As Integer
Public Overridable Property FullName As String
Public Overridable Property Abbr As String
End Class
Public Partial Class MemberType
Public Overridable Property MemTypeId As Integer
Public Overridable Property NationalId As Integer
Public Overridable Property ChapId As Integer
Public Overridable Property Description As String
Public Overridable Property IsPrimary As Boolean
End Class
Public Partial Class StateDto
Public Overridable Property StateID As Integer
Public Overridable Property CountryID As Integer
Public Overridable Property FullName As String
Public Overridable Property Abbr As String
End Class
End Namespace
Namespace BH.CloudAPI.Common4.DTO.StandardSignupForm
Public Partial Class StandardSignupFormInfo
Public Sub New()
ContextualHelp = New List(Of ContextualHelpDto)
Countries = New List(Of CountryDto)
States = New List(Of StateDto)
Chapters = New List(Of ChapterDto)
MemberTypes = New List(Of MemberType)
End Sub
Public Overridable Property ContextualHelp As List(Of ContextualHelpDto)
Public Overridable Property Countries As List(Of CountryDto)
Public Overridable Property States As List(Of StateDto)
Public Overridable Property Chapters As List(Of ChapterDto)
Public Overridable Property MemberTypes As List(Of MemberType)
End Class
End Namespace
Namespace BH.CloudAPI.Common4.DTO.StandardSignupForm.Request
Public Partial Class StandardSignupFormInfoGetRq
Implements IApiRequest
Public Overridable Property NatID As Integer
Public Overridable Property GroupId As Integer
Public Overridable Property UserId As String
Public Overridable Property UserType As String
End Class
End Namespace
Namespace BH.CloudAPI.Common4.DTO.StandardSignupForm.Response
Public Partial Class StandardSignupFormInfoGetRs
Implements IApiResponse
Public Sub New()
Links = New List(Of Link)
End Sub
Public Overridable Property StandardSignupFormInfo As StandardSignupFormInfo
Public Overridable Property Links As List(Of Link)
End Class
End Namespace
End Namespace
VB.NET StandardSignupFormInfoGetRq DTOs
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 /signup/api/nat/{natID}/standardSignup/info HTTP/1.1
Host: devapi.billhighway.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"StandardSignupFormInfo":{"ContextualHelp":[{"ControlName":"String","LabelText":"String","IsVisible":false,"IsRequired":false}],"Countries":[{"CountryID":0,"FullName":"String","Abbr":"String"}],"States":[{"StateID":0,"CountryID":0,"FullName":"String","Abbr":"String"}],"Chapters":[{"ChapId":0,"College":"String","Designation":"String"}],"MemberTypes":[{"MemTypeId":0,"NationalId":0,"ChapId":0,"Description":"String","IsPrimary":false}]},"Links":[{"Rel":"String","Url":"String"}]}