POST api/form/ADUFiledsDynamicForm

Request Information

URI Parameters

None.

Body Parameters

FormDynamicFileds
NameDescriptionTypeAdditional information
_id

ObjectId

None.

signValue

string

None.

signedByCode

integer

None.

signedBy

string

None.

signedLicense

string

None.

signedOccupation

string

None.

sign1

Sign

None.

sign2

Sign

None.

more_signs

Collection of Sign

None.

form_num

integer

None.

filedsDynamic

Collection of DynamicFiled

None.

fetalAnatomy

Collection of FiledFetalAnatomy

None.

Request Formats

application/json, text/json

Sample:
{
  "_id": "000000000000000000000000",
  "signValue": "sample string 1",
  "signedByCode": 1,
  "signedBy": "sample string 2",
  "signedLicense": "sample string 3",
  "signedOccupation": "sample string 4",
  "sign1": {
    "signValue": "sample string 1",
    "signedByCode": 1,
    "signedBy": "sample string 2",
    "signedLicense": "sample string 3",
    "signedOccupation": "sample string 4"
  },
  "sign2": {
    "signValue": "sample string 1",
    "signedByCode": 1,
    "signedBy": "sample string 2",
    "signedLicense": "sample string 3",
    "signedOccupation": "sample string 4"
  },
  "more_signs": [
    {
      "signValue": "sample string 1",
      "signedByCode": 1,
      "signedBy": "sample string 2",
      "signedLicense": "sample string 3",
      "signedOccupation": "sample string 4"
    },
    {
      "signValue": "sample string 1",
      "signedByCode": 1,
      "signedBy": "sample string 2",
      "signedLicense": "sample string 3",
      "signedOccupation": "sample string 4"
    }
  ],
  "form_num": 5,
  "filedsDynamic": [
    null,
    {
      "Id": "000000000000000000000000",
      "name": null,
      "value": null,
      "valueCode": null,
      "type": "dropdown",
      "usingType": null
    }
  ],
  "fetalAnatomy": [
    {
      "prime_code": 1,
      "table_code": 2,
      "table_text": "sample string 3",
      "isDisplay": "sample string 4",
      "description": "sample string 5"
    },
    {
      "prime_code": 1,
      "table_code": 2,
      "table_text": "sample string 3",
      "isDisplay": "sample string 4",
      "description": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<FormDynamicFileds xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical">
  <_id xmlns:d2p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson">
    <d2p1:_a>0</d2p1:_a>
    <d2p1:_b>0</d2p1:_b>
    <d2p1:_c>0</d2p1:_c>
  </_id>
  <fetalAnatomy>
    <FiledFetalAnatomy>
      <description>sample string 5</description>
      <isDisplay>sample string 4</isDisplay>
      <prime_code>1</prime_code>
      <table_code>2</table_code>
      <table_text>sample string 3</table_text>
    </FiledFetalAnatomy>
    <FiledFetalAnatomy>
      <description>sample string 5</description>
      <isDisplay>sample string 4</isDisplay>
      <prime_code>1</prime_code>
      <table_code>2</table_code>
      <table_text>sample string 3</table_text>
    </FiledFetalAnatomy>
  </fetalAnatomy>
  <filedsDynamic>
    <DynamicFiled i:nil="true" />
    <DynamicFiled>
      <Id>000000000000000000000000</Id>
      <name i:nil="true" />
      <type>dropdown</type>
      <usingType i:nil="true" />
      <value i:nil="true" />
      <valueCode i:nil="true" />
    </DynamicFiled>
  </filedsDynamic>
  <form_num>5</form_num>
  <more_signs>
    <Sign>
      <signValue>sample string 1</signValue>
      <signedBy>sample string 2</signedBy>
      <signedByCode>1</signedByCode>
      <signedLicense>sample string 3</signedLicense>
      <signedOccupation>sample string 4</signedOccupation>
    </Sign>
    <Sign>
      <signValue>sample string 1</signValue>
      <signedBy>sample string 2</signedBy>
      <signedByCode>1</signedByCode>
      <signedLicense>sample string 3</signedLicense>
      <signedOccupation>sample string 4</signedOccupation>
    </Sign>
  </more_signs>
  <sign1>
    <signValue>sample string 1</signValue>
    <signedBy>sample string 2</signedBy>
    <signedByCode>1</signedByCode>
    <signedLicense>sample string 3</signedLicense>
    <signedOccupation>sample string 4</signedOccupation>
  </sign1>
  <sign2>
    <signValue>sample string 1</signValue>
    <signedBy>sample string 2</signedBy>
    <signedByCode>1</signedByCode>
    <signedLicense>sample string 3</signedLicense>
    <signedOccupation>sample string 4</signedOccupation>
  </sign2>
  <signValue>sample string 1</signValue>
  <signedBy>sample string 2</signedBy>
  <signedByCode>1</signedByCode>
  <signedLicense>sample string 3</signedLicense>
  <signedOccupation>sample string 4</signedOccupation>
</FormDynamicFileds>

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 'FormDynamicFileds'.

application/bson

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

Response Information

Resource Description

FormDynamicFileds
NameDescriptionTypeAdditional information
_id

ObjectId

None.

signValue

string

None.

signedByCode

integer

None.

signedBy

string

None.

signedLicense

string

None.

signedOccupation

string

None.

sign1

Sign

None.

sign2

Sign

None.

more_signs

Collection of Sign

None.

form_num

integer

None.

filedsDynamic

Collection of DynamicFiled

None.

fetalAnatomy

Collection of FiledFetalAnatomy

None.

Response Formats

application/json, text/json

Sample:
{
  "_id": "000000000000000000000000",
  "signValue": "sample string 1",
  "signedByCode": 1,
  "signedBy": "sample string 2",
  "signedLicense": "sample string 3",
  "signedOccupation": "sample string 4",
  "sign1": {
    "signValue": "sample string 1",
    "signedByCode": 1,
    "signedBy": "sample string 2",
    "signedLicense": "sample string 3",
    "signedOccupation": "sample string 4"
  },
  "sign2": {
    "signValue": "sample string 1",
    "signedByCode": 1,
    "signedBy": "sample string 2",
    "signedLicense": "sample string 3",
    "signedOccupation": "sample string 4"
  },
  "more_signs": [
    {
      "signValue": "sample string 1",
      "signedByCode": 1,
      "signedBy": "sample string 2",
      "signedLicense": "sample string 3",
      "signedOccupation": "sample string 4"
    },
    {
      "signValue": "sample string 1",
      "signedByCode": 1,
      "signedBy": "sample string 2",
      "signedLicense": "sample string 3",
      "signedOccupation": "sample string 4"
    }
  ],
  "form_num": 5,
  "filedsDynamic": [
    null,
    {
      "Id": "000000000000000000000000",
      "name": null,
      "value": null,
      "valueCode": null,
      "type": "dropdown",
      "usingType": null
    }
  ],
  "fetalAnatomy": [
    {
      "prime_code": 1,
      "table_code": 2,
      "table_text": "sample string 3",
      "isDisplay": "sample string 4",
      "description": "sample string 5"
    },
    {
      "prime_code": 1,
      "table_code": 2,
      "table_text": "sample string 3",
      "isDisplay": "sample string 4",
      "description": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<FormDynamicFileds xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical">
  <_id xmlns:d2p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson">
    <d2p1:_a>0</d2p1:_a>
    <d2p1:_b>0</d2p1:_b>
    <d2p1:_c>0</d2p1:_c>
  </_id>
  <fetalAnatomy>
    <FiledFetalAnatomy>
      <description>sample string 5</description>
      <isDisplay>sample string 4</isDisplay>
      <prime_code>1</prime_code>
      <table_code>2</table_code>
      <table_text>sample string 3</table_text>
    </FiledFetalAnatomy>
    <FiledFetalAnatomy>
      <description>sample string 5</description>
      <isDisplay>sample string 4</isDisplay>
      <prime_code>1</prime_code>
      <table_code>2</table_code>
      <table_text>sample string 3</table_text>
    </FiledFetalAnatomy>
  </fetalAnatomy>
  <filedsDynamic>
    <DynamicFiled i:nil="true" />
    <DynamicFiled>
      <Id>000000000000000000000000</Id>
      <name i:nil="true" />
      <type>dropdown</type>
      <usingType i:nil="true" />
      <value i:nil="true" />
      <valueCode i:nil="true" />
    </DynamicFiled>
  </filedsDynamic>
  <form_num>5</form_num>
  <more_signs>
    <Sign>
      <signValue>sample string 1</signValue>
      <signedBy>sample string 2</signedBy>
      <signedByCode>1</signedByCode>
      <signedLicense>sample string 3</signedLicense>
      <signedOccupation>sample string 4</signedOccupation>
    </Sign>
    <Sign>
      <signValue>sample string 1</signValue>
      <signedBy>sample string 2</signedBy>
      <signedByCode>1</signedByCode>
      <signedLicense>sample string 3</signedLicense>
      <signedOccupation>sample string 4</signedOccupation>
    </Sign>
  </more_signs>
  <sign1>
    <signValue>sample string 1</signValue>
    <signedBy>sample string 2</signedBy>
    <signedByCode>1</signedByCode>
    <signedLicense>sample string 3</signedLicense>
    <signedOccupation>sample string 4</signedOccupation>
  </sign1>
  <sign2>
    <signValue>sample string 1</signValue>
    <signedBy>sample string 2</signedBy>
    <signedByCode>1</signedByCode>
    <signedLicense>sample string 3</signedLicense>
    <signedOccupation>sample string 4</signedOccupation>
  </sign2>
  <signValue>sample string 1</signValue>
  <signedBy>sample string 2</signedBy>
  <signedByCode>1</signedByCode>
  <signedLicense>sample string 3</signedLicense>
  <signedOccupation>sample string 4</signedOccupation>
</FormDynamicFileds>

application/bson

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