Billhighway Cloud API

<back to all web services

FormBuilderMembershipPipelineRevenuePricingRq

The following routes are available for this service:
GET/signup/api/nat/{nationalId}/group/{groupId}/templateType/{workflowTemplateTypeId}/key/{workflowCategoryKey}/type/{workflowTypeId}/revenue/{revenue}/subscription/{subscriptionInvoiceId}/years/{yearsOfService}/term/{termTypeId}
import 'package:servicestack/servicestack.dart';
import 'dart:collection';

class FormBuilderMembershipPipelineRevenuePricingRq implements IConvertible
{
    int? nationalId;
    int? groupId;
    int? workflowTemplateTypeId;
    String? workflowCategoryKey;
    int? workflowTypeId;
    String? revenue;
    String? subscriptionInvoiceId;
    String? yearsOfService;
    String? termTypeId;

    FormBuilderMembershipPipelineRevenuePricingRq({this.nationalId,this.groupId,this.workflowTemplateTypeId,this.workflowCategoryKey,this.workflowTypeId,this.revenue,this.subscriptionInvoiceId,this.yearsOfService,this.termTypeId});
    FormBuilderMembershipPipelineRevenuePricingRq.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        nationalId = json['nationalId'];
        groupId = json['groupId'];
        workflowTemplateTypeId = json['workflowTemplateTypeId'];
        workflowCategoryKey = json['workflowCategoryKey'];
        workflowTypeId = json['workflowTypeId'];
        revenue = json['revenue'];
        subscriptionInvoiceId = json['subscriptionInvoiceId'];
        yearsOfService = json['yearsOfService'];
        termTypeId = json['termTypeId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'nationalId': nationalId,
        'groupId': groupId,
        'workflowTemplateTypeId': workflowTemplateTypeId,
        'workflowCategoryKey': workflowCategoryKey,
        'workflowTypeId': workflowTypeId,
        'revenue': revenue,
        'subscriptionInvoiceId': subscriptionInvoiceId,
        'yearsOfService': yearsOfService,
        'termTypeId': termTypeId
    };

    getTypeName() => "FormBuilderMembershipPipelineRevenuePricingRq";
    TypeContext? context = _ctx;
}

class BhWorkflowOutputDto implements IConvertible
{
    String? name;
    String? value;

    BhWorkflowOutputDto({this.name,this.value});
    BhWorkflowOutputDto.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        name = json['name'];
        value = json['value'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'name': name,
        'value': value
    };

    getTypeName() => "BhWorkflowOutputDto";
    TypeContext? context = _ctx;
}

class BhWorkflowComponentDto implements IConvertible
{
    String? ComponentName;
    bool? HasServerError;
    bool? HasClientError;
    bool? HasWarningError;
    List<String>? Warnings;

    BhWorkflowComponentDto({this.ComponentName,this.HasServerError,this.HasClientError,this.HasWarningError,this.Warnings});
    BhWorkflowComponentDto.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ComponentName = json['ComponentName'];
        HasServerError = json['HasServerError'];
        HasClientError = json['HasClientError'];
        HasWarningError = json['HasWarningError'];
        Warnings = JsonConverters.fromJson(json['Warnings'],'List<String>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ComponentName': ComponentName,
        'HasServerError': HasServerError,
        'HasClientError': HasClientError,
        'HasWarningError': HasWarningError,
        'Warnings': JsonConverters.toJson(Warnings,'List<String>',context!)
    };

    getTypeName() => "BhWorkflowComponentDto";
    TypeContext? context = _ctx;
}

class FormBuilderMembershipPipelineRs implements IConvertible
{
    int? workflowId;
    bool? isValid;
    bool? hasServerError;
    bool? hasClientError;
    bool? hasWarningError;
    String? clientErrors;
    String? warningErrors;
    List<BhWorkflowOutputDto>? outputs;
    List<BhWorkflowComponentDto>? components;

    FormBuilderMembershipPipelineRs({this.workflowId,this.isValid,this.hasServerError,this.hasClientError,this.hasWarningError,this.clientErrors,this.warningErrors,this.outputs,this.components});
    FormBuilderMembershipPipelineRs.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        workflowId = json['workflowId'];
        isValid = json['isValid'];
        hasServerError = json['hasServerError'];
        hasClientError = json['hasClientError'];
        hasWarningError = json['hasWarningError'];
        clientErrors = json['clientErrors'];
        warningErrors = json['warningErrors'];
        outputs = JsonConverters.fromJson(json['outputs'],'List<BhWorkflowOutputDto>',context!);
        components = JsonConverters.fromJson(json['components'],'List<BhWorkflowComponentDto>',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'workflowId': workflowId,
        'isValid': isValid,
        'hasServerError': hasServerError,
        'hasClientError': hasClientError,
        'hasWarningError': hasWarningError,
        'clientErrors': clientErrors,
        'warningErrors': warningErrors,
        'outputs': JsonConverters.toJson(outputs,'List<BhWorkflowOutputDto>',context!),
        'components': JsonConverters.toJson(components,'List<BhWorkflowComponentDto>',context!)
    };

    getTypeName() => "FormBuilderMembershipPipelineRs";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: <String, TypeInfo> {
    'FormBuilderMembershipPipelineRevenuePricingRq': TypeInfo(TypeOf.Class, create:() => FormBuilderMembershipPipelineRevenuePricingRq()),
    'BhWorkflowOutputDto': TypeInfo(TypeOf.Class, create:() => BhWorkflowOutputDto()),
    'BhWorkflowComponentDto': TypeInfo(TypeOf.Class, create:() => BhWorkflowComponentDto()),
    'FormBuilderMembershipPipelineRs': TypeInfo(TypeOf.Class, create:() => FormBuilderMembershipPipelineRs()),
    'List<BhWorkflowOutputDto>': TypeInfo(TypeOf.Class, create:() => <BhWorkflowOutputDto>[]),
    'List<BhWorkflowComponentDto>': TypeInfo(TypeOf.Class, create:() => <BhWorkflowComponentDto>[]),
});

Dart FormBuilderMembershipPipelineRevenuePricingRq DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /signup/api/nat/{nationalId}/group/{groupId}/templateType/{workflowTemplateTypeId}/key/{workflowCategoryKey}/type/{workflowTypeId}/revenue/{revenue}/subscription/{subscriptionInvoiceId}/years/{yearsOfService}/term/{termTypeId} HTTP/1.1 
Host: devapi.billhighway.com 
Accept: application/xml
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>