POST CustomForm/SaveCustomFormResponse

Request Information

URI Parameters

None.

Body Parameters

CustomForm
NameDescriptionTypeAdditional information
Id

integer

None.

ResponseKey

integer

None.

FormStatus

CustomFormStatus

None.

StatusReason

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

WhoLastChanged

string

None.

WhenLastChanged

date

None.

isActive

boolean

None.

StatusDesc

string

None.

MemberName

string

None.

Notes

string

None.

FormSection

Collection of CustomFormSection

None.

EnrollmentPeriod

EnrollmentDates

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'VHCSAPIModels.Models.CustomForm.CustomFormContentType'. Path 'FormSection[0].ContentType[0].ContentOptions[0].ContentType'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'VHCSAPIModels.Models.CustomForm.CustomFormContentType'. Path 'FormSection[0].ContentType[0].ContentOptions[0].ContentType'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[VHCSAPIModels.Models.CustomForm.CustomFormContentType, VHCSAPIModels, Version=1.8.0.15339, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[VHCSAPIModels.Models.CustomForm.CustomFormContentType, VHCSAPIModels, Version=1.8.0.15339, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomForm'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.