| POST | /signup/api/nat/{nationalId}/group/{chapId}/membershipPipeline |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports BH.CloudAPI.Common4.DTO.FormBuilder.Request
Imports BH.API.DataAccess.Pipeline
Imports BH.CloudAPI.Common4.DTO.FormBuilder.Response
Namespace Global
Namespace BH.API.DataAccess.Pipeline
Public Partial Class BhWorkflowComponentDto
Public Sub New()
Warnings = New List(Of String)
End Sub
Public Overridable Property ComponentName As String
Public Overridable Property HasServerError As Boolean
Public Overridable Property HasClientError As Boolean
Public Overridable Property HasWarningError As Boolean
Public Overridable Property Warnings As List(Of String)
End Class
Public Partial Class BhWorkflowOutputDto
Public Overridable Property name As String
Public Overridable Property value As String
End Class
Public Partial Class BhWorkflowPropertyDto
Public Overridable Property name As String
Public Overridable Property value As String
Public Overridable Property propertyNamespace As String
End Class
End Namespace
Namespace BH.CloudAPI.Common4.DTO.FormBuilder.Request
Public Partial Class FormBuilderMembershipPipelineRq
Implements IApiRequest
Public Sub New()
properties = New List(Of BhWorkflowPropertyDto)
End Sub
Public Overridable Property nationalId As Integer
Public Overridable Property chapId As Integer
Public Overridable Property workflowTemplateTypeId As Integer
Public Overridable Property workflowCategoryKey As String
Public Overridable Property createdBy As Integer
Public Overridable Property properties As List(Of BhWorkflowPropertyDto)
End Class
End Namespace
Namespace BH.CloudAPI.Common4.DTO.FormBuilder.Response
Public Partial Class FormBuilderMembershipPipelineRs
Public Sub New()
outputs = New List(Of BhWorkflowOutputDto)
components = New List(Of BhWorkflowComponentDto)
End Sub
Public Overridable Property workflowId As Long
Public Overridable Property isValid As Boolean
Public Overridable Property hasServerError As Boolean
Public Overridable Property hasClientError As Boolean
Public Overridable Property hasWarningError As Boolean
Public Overridable Property clientErrors As String
Public Overridable Property warningErrors As String
Public Overridable Property outputs As List(Of BhWorkflowOutputDto)
Public Overridable Property components As List(Of BhWorkflowComponentDto)
End Class
End Namespace
End Namespace
VB.NET FormBuilderMembershipPipelineRq DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /signup/api/nat/{nationalId}/group/{chapId}/membershipPipeline HTTP/1.1
Host: devapi.billhighway.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<FormBuilderMembershipPipelineRq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.FormBuilder.Request">
<chapId>0</chapId>
<createdBy>0</createdBy>
<nationalId>0</nationalId>
<properties xmlns:d2p1="http://schemas.datacontract.org/2004/07/BH.API.DataAccess.Pipeline">
<d2p1:BhWorkflowPropertyDto>
<d2p1:name>String</d2p1:name>
<d2p1:propertyNamespace>String</d2p1:propertyNamespace>
<d2p1:value>String</d2p1:value>
</d2p1:BhWorkflowPropertyDto>
</properties>
<workflowCategoryKey>String</workflowCategoryKey>
<workflowTemplateTypeId>0</workflowTemplateTypeId>
</FormBuilderMembershipPipelineRq>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<FormBuilderMembershipPipelineRs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.FormBuilder.Response">
<clientErrors>String</clientErrors>
<components xmlns:d2p1="http://schemas.datacontract.org/2004/07/BH.API.DataAccess.Pipeline">
<d2p1:BhWorkflowComponentDto>
<d2p1:ComponentName>String</d2p1:ComponentName>
<d2p1:HasClientError>false</d2p1:HasClientError>
<d2p1:HasServerError>false</d2p1:HasServerError>
<d2p1:HasWarningError>false</d2p1:HasWarningError>
<d2p1:Warnings xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</d2p1:Warnings>
</d2p1:BhWorkflowComponentDto>
</components>
<hasClientError>false</hasClientError>
<hasServerError>false</hasServerError>
<hasWarningError>false</hasWarningError>
<isValid>false</isValid>
<outputs xmlns:d2p1="http://schemas.datacontract.org/2004/07/BH.API.DataAccess.Pipeline">
<d2p1:BhWorkflowOutputDto>
<d2p1:name>String</d2p1:name>
<d2p1:value>String</d2p1:value>
</d2p1:BhWorkflowOutputDto>
</outputs>
<warningErrors>String</warningErrors>
<workflowId>0</workflowId>
</FormBuilderMembershipPipelineRs>