POST api/form/UpdateFormsTypeList

Request Information

URI Parameters

None.

Body Parameters

Collection of FormType
NameDescriptionTypeAdditional information
form_code

integer

None.

form_name

string

Required

String length: inclusive between 0 and 25

preference

integer

None.

picture

string

String length: inclusive between 0 and 30

active

string

String length: inclusive between 0 and 1

is_single_in_visit

string

String length: inclusive between 0 and 1

is_memografya

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

MainForms

Collection of MainForm

None.

FormTypesOpers

Collection of FormTypesOpers

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 for property 'Debits' with type 'CustDemog.Debit'. Path '[0].MainForms[0].Debits.AnswerStatusHistory[0]'.

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 for property 'Debits' with type 'CustDemog.Debit'. Path '[0].MainForms[0].Debits.AnswerStatusHistory[0]'.

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[[CustDemog.FormTypesOpers, CustDemog, Version=1.0.0.0, 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[[CustDemog.FormTypesOpers, CustDemog, Version=1.0.0.0, 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 'List`1'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.