POST api/form/UpdateFormsTemplate?_id={_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
_id

string

None.

Body Parameters

FormTemplate
NameDescriptionTypeAdditional information
_id

ObjectId

None.

formName

string

None.

formType

integer

None.

active

boolean

None.

tabs

Collection of TabsForm

None.

CreationTime

date

None.

updationTime

date

None.

is_start_oper

boolean

None.

is_finish_oper

boolean

None.

is_release_date

boolean

None.

is_start_counting

boolean

None.

is_digital_signature

boolean

None.

is_copy_from_old

boolean

None.

defaultIcd9

boolean

None.

copy_form_Type

Collection of integer

None.

updateBy

string

None.

staffs

Collection of StaffTamplate

None.

displayStaffLandscape

boolean

None.

images

Collection of ImageTamplate

None.

dynamicFields

Collection of DynamicFiledTemplate

None.

icd9Settings

Collection of Icd9Settings

None.

Request Formats

application/json, text/json

Sample:
{
  "_id": "000000000000000000000000",
  "formName": "sample string 1",
  "formType": 2,
  "active": true,
  "tabs": [
    {
      "name": "sample string 1",
      "text": "sample string 2",
      "active": true
    },
    {
      "name": "sample string 1",
      "text": "sample string 2",
      "active": true
    }
  ],
  "CreationTime": "2019-10-15T02:10:39.5270056+03:00",
  "updationTime": "2019-10-15T02:10:39.5270056+03:00",
  "is_start_oper": true,
  "is_finish_oper": true,
  "is_release_date": true,
  "is_start_counting": true,
  "is_digital_signature": true,
  "is_copy_from_old": true,
  "defaultIcd9": true,
  "copy_form_Type": [
    1,
    2
  ],
  "updateBy": "sample string 13",
  "staffs": [
    {
      "Tamplate": "000000000000000000000000",
      "Key": "sample string 1",
      "staff_name": "sample string 2",
      "isDisplayTimeArrive": "sample string 3",
      "isDisplayTimeEnterExit": "sample string 4",
      "isDisplayPresent": "sample string 5",
      "occup": 6,
      "occupName": "sample string 7",
      "occupFunction": 1,
      "occupFunctionsName": "sample string 8",
      "defualtValue": 9,
      "defualtValuesName": "sample string 10",
      "isSign": "sample string 11",
      "staffTamplate": 1,
      "staffTamplateName": "sample string 12",
      "isRequired": true
    },
    {
      "Tamplate": "000000000000000000000000",
      "Key": "sample string 1",
      "staff_name": "sample string 2",
      "isDisplayTimeArrive": "sample string 3",
      "isDisplayTimeEnterExit": "sample string 4",
      "isDisplayPresent": "sample string 5",
      "occup": 6,
      "occupName": "sample string 7",
      "occupFunction": 1,
      "occupFunctionsName": "sample string 8",
      "defualtValue": 9,
      "defualtValuesName": "sample string 10",
      "isSign": "sample string 11",
      "staffTamplate": 1,
      "staffTamplateName": "sample string 12",
      "isRequired": true
    }
  ],
  "displayStaffLandscape": true,
  "images": [
    {
      "ImageTamplateId": "000000000000000000000000",
      "Key": "sample string 1",
      "title": "sample string 2",
      "isFromTemplate": "sample string 3",
      "templateId": 4,
      "isCanDraw": "sample string 5"
    },
    {
      "ImageTamplateId": "000000000000000000000000",
      "Key": "sample string 1",
      "title": "sample string 2",
      "isFromTemplate": "sample string 3",
      "templateId": 4,
      "isCanDraw": "sample string 5"
    }
  ],
  "dynamicFields": [
    {
      "name": "sample string 1",
      "category": "sample string 2",
      "subCategory": "sample string 3",
      "usingType": 4,
      "text": "sample string 5",
      "type": "dropdown",
      "withNewType": true,
      "isSymmetry": true,
      "nameSymmetry": "sample string 8",
      "withMultiSelect": true,
      "withAddNewType": true,
      "withNull": true,
      "DisabledInClient": true,
      "isMammography": true,
      "optionRR": "sample string 14",
      "optionsValue": [
        "sample string 1",
        "sample string 2"
      ],
      "optionText": [
        "sample string 1",
        "sample string 2"
      ],
      "minValue": 15.1,
      "maxValue": 16.1,
      "minlength": 17,
      "maxlength": 18,
      "minValueToWarning": 19.1,
      "maxValueToWarning": 20.1,
      "defualtValue": "sample string 21",
      "maskFiled": "sample string 22",
      "patternFiled": "sample string 23",
      "functionValid": "sample string 24",
      "valideByFiled": {
        "filedName": "sample string 1",
        "symbol": "sample string 2",
        "value1": "sample string 3",
        "value2": "sample string 4"
      },
      "displayByFiled": {
        "filedName": "sample string 1",
        "symbol": "sample string 2",
        "value1": "sample string 3",
        "value2": "sample string 4"
      },
      "eventFiled": [
        {
          "eventTime": "sample string 1",
          "eventName": "sample string 2",
          "eventResult": "sample string 3",
          "parameters": [
            {
              "name": "sample string 1",
              "filedName": "sample string 2"
            },
            {
              "name": "sample string 1",
              "filedName": "sample string 2"
            }
          ],
          "moreParameters": [
            {
              "name": "sample string 1",
              "value": "sample string 2"
            },
            {
              "name": "sample string 1",
              "value": "sample string 2"
            }
          ]
        },
        {
          "eventTime": "sample string 1",
          "eventName": "sample string 2",
          "eventResult": "sample string 3",
          "parameters": [
            {
              "name": "sample string 1",
              "filedName": "sample string 2"
            },
            {
              "name": "sample string 1",
              "filedName": "sample string 2"
            }
          ],
          "moreParameters": [
            {
              "name": "sample string 1",
              "value": "sample string 2"
            },
            {
              "name": "sample string 1",
              "value": "sample string 2"
            }
          ]
        }
      ],
      "multiFiled": true
    },
    {
      "name": "sample string 1",
      "category": "sample string 2",
      "subCategory": "sample string 3",
      "usingType": 4,
      "text": "sample string 5",
      "type": "dropdown",
      "withNewType": true,
      "isSymmetry": true,
      "nameSymmetry": "sample string 8",
      "withMultiSelect": true,
      "withAddNewType": true,
      "withNull": true,
      "DisabledInClient": true,
      "isMammography": true,
      "optionRR": "sample string 14",
      "optionsValue": [
        "sample string 1",
        "sample string 2"
      ],
      "optionText": [
        "sample string 1",
        "sample string 2"
      ],
      "minValue": 15.1,
      "maxValue": 16.1,
      "minlength": 17,
      "maxlength": 18,
      "minValueToWarning": 19.1,
      "maxValueToWarning": 20.1,
      "defualtValue": "sample string 21",
      "maskFiled": "sample string 22",
      "patternFiled": "sample string 23",
      "functionValid": "sample string 24",
      "valideByFiled": {
        "filedName": "sample string 1",
        "symbol": "sample string 2",
        "value1": "sample string 3",
        "value2": "sample string 4"
      },
      "displayByFiled": {
        "filedName": "sample string 1",
        "symbol": "sample string 2",
        "value1": "sample string 3",
        "value2": "sample string 4"
      },
      "eventFiled": [
        {
          "eventTime": "sample string 1",
          "eventName": "sample string 2",
          "eventResult": "sample string 3",
          "parameters": [
            {
              "name": "sample string 1",
              "filedName": "sample string 2"
            },
            {
              "name": "sample string 1",
              "filedName": "sample string 2"
            }
          ],
          "moreParameters": [
            {
              "name": "sample string 1",
              "value": "sample string 2"
            },
            {
              "name": "sample string 1",
              "value": "sample string 2"
            }
          ]
        },
        {
          "eventTime": "sample string 1",
          "eventName": "sample string 2",
          "eventResult": "sample string 3",
          "parameters": [
            {
              "name": "sample string 1",
              "filedName": "sample string 2"
            },
            {
              "name": "sample string 1",
              "filedName": "sample string 2"
            }
          ],
          "moreParameters": [
            {
              "name": "sample string 1",
              "value": "sample string 2"
            },
            {
              "name": "sample string 1",
              "value": "sample string 2"
            }
          ]
        }
      ],
      "multiFiled": true
    }
  ],
  "icd9Settings": [
    {
      "title": "sample string 1",
      "typeCode": 2
    },
    {
      "title": "sample string 1",
      "typeCode": 2
    }
  ]
}

application/xml, text/xml

Sample:
<FormTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical">
  <CreationTime>2019-10-15T02:10:39.5270056+03:00</CreationTime>
  <_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>
  <active>true</active>
  <copy_form_Type xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </copy_form_Type>
  <defaultIcd9>true</defaultIcd9>
  <displayStaffLandscape>true</displayStaffLandscape>
  <dynamicFields>
    <DynamicFiledTemplate>
      <DisabledInClient>true</DisabledInClient>
      <category>sample string 2</category>
      <defualtValue>sample string 21</defualtValue>
      <displayByFiled>
        <filedName>sample string 1</filedName>
        <symbol>sample string 2</symbol>
        <value1>sample string 3</value1>
        <value2>sample string 4</value2>
      </displayByFiled>
      <eventFiled>
        <EventFiled>
          <eventName>sample string 2</eventName>
          <eventResult>sample string 3</eventResult>
          <eventTime>sample string 1</eventTime>
          <moreParameters>
            <moreParameter>
              <name>sample string 1</name>
              <value>sample string 2</value>
            </moreParameter>
            <moreParameter>
              <name>sample string 1</name>
              <value>sample string 2</value>
            </moreParameter>
          </moreParameters>
          <parameters>
            <parametersEvent>
              <filedName>sample string 2</filedName>
              <name>sample string 1</name>
            </parametersEvent>
            <parametersEvent>
              <filedName>sample string 2</filedName>
              <name>sample string 1</name>
            </parametersEvent>
          </parameters>
        </EventFiled>
        <EventFiled>
          <eventName>sample string 2</eventName>
          <eventResult>sample string 3</eventResult>
          <eventTime>sample string 1</eventTime>
          <moreParameters>
            <moreParameter>
              <name>sample string 1</name>
              <value>sample string 2</value>
            </moreParameter>
            <moreParameter>
              <name>sample string 1</name>
              <value>sample string 2</value>
            </moreParameter>
          </moreParameters>
          <parameters>
            <parametersEvent>
              <filedName>sample string 2</filedName>
              <name>sample string 1</name>
            </parametersEvent>
            <parametersEvent>
              <filedName>sample string 2</filedName>
              <name>sample string 1</name>
            </parametersEvent>
          </parameters>
        </EventFiled>
      </eventFiled>
      <functionValid>sample string 24</functionValid>
      <isMammography>true</isMammography>
      <isSymmetry>true</isSymmetry>
      <maskFiled>sample string 22</maskFiled>
      <maxValue>16.1</maxValue>
      <maxValueToWarning>20.1</maxValueToWarning>
      <maxlength>18</maxlength>
      <minValue>15.1</minValue>
      <minValueToWarning>19.1</minValueToWarning>
      <minlength>17</minlength>
      <multiFiled>true</multiFiled>
      <name>sample string 1</name>
      <nameSymmetry>sample string 8</nameSymmetry>
      <optionRR>sample string 14</optionRR>
      <optionText xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </optionText>
      <optionsValue xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </optionsValue>
      <patternFiled>sample string 23</patternFiled>
      <subCategory>sample string 3</subCategory>
      <text>sample string 5</text>
      <type>dropdown</type>
      <usingType>4</usingType>
      <valideByFiled>
        <filedName>sample string 1</filedName>
        <symbol>sample string 2</symbol>
        <value1>sample string 3</value1>
        <value2>sample string 4</value2>
      </valideByFiled>
      <withAddNewType>true</withAddNewType>
      <withMultiSelect>true</withMultiSelect>
      <withNewType>true</withNewType>
      <withNull>true</withNull>
    </DynamicFiledTemplate>
    <DynamicFiledTemplate>
      <DisabledInClient>true</DisabledInClient>
      <category>sample string 2</category>
      <defualtValue>sample string 21</defualtValue>
      <displayByFiled>
        <filedName>sample string 1</filedName>
        <symbol>sample string 2</symbol>
        <value1>sample string 3</value1>
        <value2>sample string 4</value2>
      </displayByFiled>
      <eventFiled>
        <EventFiled>
          <eventName>sample string 2</eventName>
          <eventResult>sample string 3</eventResult>
          <eventTime>sample string 1</eventTime>
          <moreParameters>
            <moreParameter>
              <name>sample string 1</name>
              <value>sample string 2</value>
            </moreParameter>
            <moreParameter>
              <name>sample string 1</name>
              <value>sample string 2</value>
            </moreParameter>
          </moreParameters>
          <parameters>
            <parametersEvent>
              <filedName>sample string 2</filedName>
              <name>sample string 1</name>
            </parametersEvent>
            <parametersEvent>
              <filedName>sample string 2</filedName>
              <name>sample string 1</name>
            </parametersEvent>
          </parameters>
        </EventFiled>
        <EventFiled>
          <eventName>sample string 2</eventName>
          <eventResult>sample string 3</eventResult>
          <eventTime>sample string 1</eventTime>
          <moreParameters>
            <moreParameter>
              <name>sample string 1</name>
              <value>sample string 2</value>
            </moreParameter>
            <moreParameter>
              <name>sample string 1</name>
              <value>sample string 2</value>
            </moreParameter>
          </moreParameters>
          <parameters>
            <parametersEvent>
              <filedName>sample string 2</filedName>
              <name>sample string 1</name>
            </parametersEvent>
            <parametersEvent>
              <filedName>sample string 2</filedName>
              <name>sample string 1</name>
            </parametersEvent>
          </parameters>
        </EventFiled>
      </eventFiled>
      <functionValid>sample string 24</functionValid>
      <isMammography>true</isMammography>
      <isSymmetry>true</isSymmetry>
      <maskFiled>sample string 22</maskFiled>
      <maxValue>16.1</maxValue>
      <maxValueToWarning>20.1</maxValueToWarning>
      <maxlength>18</maxlength>
      <minValue>15.1</minValue>
      <minValueToWarning>19.1</minValueToWarning>
      <minlength>17</minlength>
      <multiFiled>true</multiFiled>
      <name>sample string 1</name>
      <nameSymmetry>sample string 8</nameSymmetry>
      <optionRR>sample string 14</optionRR>
      <optionText xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </optionText>
      <optionsValue xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </optionsValue>
      <patternFiled>sample string 23</patternFiled>
      <subCategory>sample string 3</subCategory>
      <text>sample string 5</text>
      <type>dropdown</type>
      <usingType>4</usingType>
      <valideByFiled>
        <filedName>sample string 1</filedName>
        <symbol>sample string 2</symbol>
        <value1>sample string 3</value1>
        <value2>sample string 4</value2>
      </valideByFiled>
      <withAddNewType>true</withAddNewType>
      <withMultiSelect>true</withMultiSelect>
      <withNewType>true</withNewType>
      <withNull>true</withNull>
    </DynamicFiledTemplate>
  </dynamicFields>
  <formName>sample string 1</formName>
  <formType>2</formType>
  <icd9Settings>
    <Icd9Settings>
      <title>sample string 1</title>
      <typeCode>2</typeCode>
    </Icd9Settings>
    <Icd9Settings>
      <title>sample string 1</title>
      <typeCode>2</typeCode>
    </Icd9Settings>
  </icd9Settings>
  <images>
    <ImageTamplate>
      <ImageTamplateId xmlns:d4p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson">
        <d4p1:_a>0</d4p1:_a>
        <d4p1:_b>0</d4p1:_b>
        <d4p1:_c>0</d4p1:_c>
      </ImageTamplateId>
      <Key>sample string 1</Key>
      <isCanDraw>sample string 5</isCanDraw>
      <isFromTemplate>sample string 3</isFromTemplate>
      <templateId>4</templateId>
      <title>sample string 2</title>
    </ImageTamplate>
    <ImageTamplate>
      <ImageTamplateId xmlns:d4p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson">
        <d4p1:_a>0</d4p1:_a>
        <d4p1:_b>0</d4p1:_b>
        <d4p1:_c>0</d4p1:_c>
      </ImageTamplateId>
      <Key>sample string 1</Key>
      <isCanDraw>sample string 5</isCanDraw>
      <isFromTemplate>sample string 3</isFromTemplate>
      <templateId>4</templateId>
      <title>sample string 2</title>
    </ImageTamplate>
  </images>
  <is_copy_from_old>true</is_copy_from_old>
  <is_digital_signature>true</is_digital_signature>
  <is_finish_oper>true</is_finish_oper>
  <is_release_date>true</is_release_date>
  <is_start_counting>true</is_start_counting>
  <is_start_oper>true</is_start_oper>
  <staffs>
    <StaffTamplate>
      <Key>sample string 1</Key>
      <Tamplate xmlns:d4p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson">
        <d4p1:_a>0</d4p1:_a>
        <d4p1:_b>0</d4p1:_b>
        <d4p1:_c>0</d4p1:_c>
      </Tamplate>
      <defualtValue>9</defualtValue>
      <defualtValuesName>sample string 10</defualtValuesName>
      <isDisplayPresent>sample string 5</isDisplayPresent>
      <isDisplayTimeArrive>sample string 3</isDisplayTimeArrive>
      <isDisplayTimeEnterExit>sample string 4</isDisplayTimeEnterExit>
      <isRequired>true</isRequired>
      <isSign>sample string 11</isSign>
      <occup>6</occup>
      <occupFunction>1</occupFunction>
      <occupFunctionsName>sample string 8</occupFunctionsName>
      <occupName>sample string 7</occupName>
      <staffTamplate>1</staffTamplate>
      <staffTamplateName>sample string 12</staffTamplateName>
      <staff_name>sample string 2</staff_name>
    </StaffTamplate>
    <StaffTamplate>
      <Key>sample string 1</Key>
      <Tamplate xmlns:d4p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson">
        <d4p1:_a>0</d4p1:_a>
        <d4p1:_b>0</d4p1:_b>
        <d4p1:_c>0</d4p1:_c>
      </Tamplate>
      <defualtValue>9</defualtValue>
      <defualtValuesName>sample string 10</defualtValuesName>
      <isDisplayPresent>sample string 5</isDisplayPresent>
      <isDisplayTimeArrive>sample string 3</isDisplayTimeArrive>
      <isDisplayTimeEnterExit>sample string 4</isDisplayTimeEnterExit>
      <isRequired>true</isRequired>
      <isSign>sample string 11</isSign>
      <occup>6</occup>
      <occupFunction>1</occupFunction>
      <occupFunctionsName>sample string 8</occupFunctionsName>
      <occupName>sample string 7</occupName>
      <staffTamplate>1</staffTamplate>
      <staffTamplateName>sample string 12</staffTamplateName>
      <staff_name>sample string 2</staff_name>
    </StaffTamplate>
  </staffs>
  <tabs>
    <TabsForm>
      <active>true</active>
      <name>sample string 1</name>
      <text>sample string 2</text>
    </TabsForm>
    <TabsForm>
      <active>true</active>
      <name>sample string 1</name>
      <text>sample string 2</text>
    </TabsForm>
  </tabs>
  <updateBy>sample string 13</updateBy>
  <updationTime>2019-10-15T02:10:39.5270056+03:00</updationTime>
</FormTemplate>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

application/bson

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