| GET | /signup/api/forms/templates/nat/{nationalID}/chap/{chapID}/formBuilderPlanTypeID/{formBuilderPlanTypeID}/formBuilderPlanType |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using BH.Client.Configuration.Service;
using BH.Client.Configuration;
namespace BH.Client.Configuration
{
public partial class FormBuilderPlanType
{
public virtual int NationalID { get; set; }
public virtual int? ChapID { get; set; }
public virtual int? FormBuilderPlanTypeID { get; set; }
public virtual int ThemeID { get; set; }
public virtual string RelativeGroupInfoServiceApi { get; set; }
public virtual string RelativeGroupInfoServiceWithUserApi { get; set; }
}
}
namespace BH.Client.Configuration.Service
{
public partial class FormBuilderPlanTypeRq
: IApiRequest
{
public virtual int NationalID { get; set; }
public virtual int? ChapID { get; set; }
public virtual int? FormBuilderPlanTypeID { get; set; }
}
public partial class FormBuilderPlanTypeRs
: IApiResponse
{
public FormBuilderPlanTypeRs()
{
FormBuilderPlanTypes = new List<FormBuilderPlanType>{};
}
public virtual List<FormBuilderPlanType> FormBuilderPlanTypes { get; set; }
}
}
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}/chap/{chapID}/formBuilderPlanTypeID/{formBuilderPlanTypeID}/formBuilderPlanType HTTP/1.1
Host: devapi.billhighway.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
FormBuilderPlanTypes:
[
{
NationalID: 0,
ChapID: 0,
FormBuilderPlanTypeID: 0,
ThemeID: 0,
RelativeGroupInfoServiceApi: String,
RelativeGroupInfoServiceWithUserApi: String
}
]
}