POST api/CustomForm
Custom Form Save
Request Information
URI Parameters
None.
Body Parameters
CustomFormBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomFormId | globally unique identifier |
Required |
|
| PatientId | globally unique identifier |
Required |
|
| EncounterId | globally unique identifier |
None. |
|
| Id | globally unique identifier |
None. |
|
| CustomFormInputDetails | Collection of CustomFormInputDetail |
None. |
|
| Note | string |
String length: inclusive between 0 and 500 |
|
| StatusId | integer |
None. |
|
| ModifiedBy | globally unique identifier |
None. |
|
| ModifiedOn | date |
None. |
|
| EncounterTypeId | globally unique identifier |
None. |
|
| ModuleId | integer |
Required |
|
| ModuleName | string |
None. |
|
| RecordId | globally unique identifier |
Required |
|
| RecordTypeId | integer |
Required |
|
| areaid | integer |
None. |
|
| AccountId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomFormId": "fda073d2-44d4-4c2f-827a-c753a791b2ad",
"PatientId": "b37840d7-2a41-4ffa-b3ee-70883a2bb37d",
"EncounterId": "8fce0e47-4585-4616-8a5f-98374d7347a1",
"Id": "5bba1c45-960c-434c-9c5d-35387f00ec88",
"CustomFormInputDetails": [
{
"CustomFormFieldsId": "7e1b1ea4-2344-48e5-955e-864d653782bb",
"Value": "sample string 2",
"Ismultientry": true
},
{
"CustomFormFieldsId": "7e1b1ea4-2344-48e5-955e-864d653782bb",
"Value": "sample string 2",
"Ismultientry": true
}
],
"Note": "sample string 3",
"StatusId": 1,
"ModifiedBy": "ee2bf66a-94b4-4e16-86d9-efa0f524b220",
"ModifiedOn": "2025-12-16T09:11:00.4435936+00:00",
"EncounterTypeId": "81f023e3-f259-4367-9218-cc73363f9537",
"ModuleId": 4,
"ModuleName": "sample string 5",
"RecordId": "0d7f7f33-cc9f-4cfc-a443-189e504a9044",
"RecordTypeId": 7,
"areaid": 8,
"AccountId": "1bba0716-70f0-4070-ba2e-865d67a8e34a"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of CustomFormViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ModuleName | string |
None. |
|
| ModuleOrder | integer |
None. |
|
| ModuleParentId | integer |
None. |
|
| ModuleId | integer |
None. |
|
| CustomFormId | globally unique identifier |
None. |
|
| CustomFormName | string |
None. |
|
| Description | string |
None. |
|
| IsAllowMultiple | boolean |
None. |
|
| ParentId | globally unique identifier |
None. |
|
| CustomFormRule | string |
None. |
|
| Title | string |
None. |
|
| SubTitle | string |
None. |
|
| IsRequired | boolean |
None. |
|
| Rule | string |
None. |
|
| StyleId | integer |
None. |
|
| Name | string |
None. |
|
| ClientTitle | string |
None. |
|
| ClientSubTitle | string |
None. |
|
| ProviderTitle | string |
None. |
|
| ProviderSubTitle | string |
None. |
|
| Option1 | string |
None. |
|
| Option2 | string |
None. |
|
| DefaultValue | string |
None. |
|
| ErrorMessage | string |
None. |
|
| ControlId | integer |
None. |
|
| DataTypeId | integer |
None. |
|
| Order | integer |
None. |
|
| DataMask | string |
None. |
|
| MinLength | string |
None. |
|
| MaxLength | string |
None. |
|
| Controls | string |
None. |
|
| DataType | string |
None. |
|
| Style | string |
None. |
|
| FormType | string |
None. |
|
| Value | string |
None. |
|
| CustomFormInputDetailId | globally unique identifier |
None. |
|
| CustomFormParentId | globally unique identifier |
None. |
|
| CustomFormFieldsId | globally unique identifier |
None. |
|
| CustomFormDisplayOrder | integer |
None. |
|
| IsRead | boolean |
None. |
|
| IsWrite | boolean |
None. |
|
| ShowOnce | boolean |
None. |
|
| ResultHtml | string |
None. |
|
| Code | string |
None. |
|
| FormClientTitle | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "8ffb4db0-376e-41ef-b239-0c73649c09e6",
"ModuleName": "sample string 1",
"ModuleOrder": 2,
"ModuleParentId": 1,
"ModuleId": 3,
"CustomFormId": "71dd59d6-5dc8-41ff-a1dd-5d13136c73f2",
"CustomFormName": "sample string 5",
"Description": "sample string 6",
"IsAllowMultiple": true,
"ParentId": "69e22e0a-3914-48ed-a578-f02ddcbdbabb",
"CustomFormRule": "sample string 8",
"Title": "sample string 9",
"SubTitle": "sample string 10",
"IsRequired": true,
"Rule": "sample string 12",
"StyleId": 13,
"Name": "sample string 14",
"ClientTitle": "sample string 15",
"ClientSubTitle": "sample string 16",
"ProviderTitle": "sample string 17",
"ProviderSubTitle": "sample string 18",
"Option1": "sample string 19",
"Option2": "sample string 20",
"DefaultValue": "sample string 21",
"ErrorMessage": "sample string 22",
"ControlId": 23,
"DataTypeId": 24,
"Order": 25,
"DataMask": "sample string 26",
"MinLength": "sample string 27",
"MaxLength": "sample string 28",
"Controls": "sample string 29",
"DataType": "sample string 30",
"Style": "sample string 31",
"FormType": "sample string 32",
"Value": "sample string 33",
"CustomFormInputDetailId": "0e7788e9-957f-4f6c-9c53-c56fdc83d4f0",
"CustomFormParentId": "4e9631b3-4c81-414d-9344-1a8f5eebbf54",
"CustomFormFieldsId": "bd8500a4-08ef-451c-a0e6-5bf00894bb13",
"CustomFormDisplayOrder": 34,
"IsRead": true,
"IsWrite": true,
"ShowOnce": true,
"ResultHtml": "sample string 35",
"Code": "sample string 36",
"FormClientTitle": "sample string 37"
},
{
"Id": "8ffb4db0-376e-41ef-b239-0c73649c09e6",
"ModuleName": "sample string 1",
"ModuleOrder": 2,
"ModuleParentId": 1,
"ModuleId": 3,
"CustomFormId": "71dd59d6-5dc8-41ff-a1dd-5d13136c73f2",
"CustomFormName": "sample string 5",
"Description": "sample string 6",
"IsAllowMultiple": true,
"ParentId": "69e22e0a-3914-48ed-a578-f02ddcbdbabb",
"CustomFormRule": "sample string 8",
"Title": "sample string 9",
"SubTitle": "sample string 10",
"IsRequired": true,
"Rule": "sample string 12",
"StyleId": 13,
"Name": "sample string 14",
"ClientTitle": "sample string 15",
"ClientSubTitle": "sample string 16",
"ProviderTitle": "sample string 17",
"ProviderSubTitle": "sample string 18",
"Option1": "sample string 19",
"Option2": "sample string 20",
"DefaultValue": "sample string 21",
"ErrorMessage": "sample string 22",
"ControlId": 23,
"DataTypeId": 24,
"Order": 25,
"DataMask": "sample string 26",
"MinLength": "sample string 27",
"MaxLength": "sample string 28",
"Controls": "sample string 29",
"DataType": "sample string 30",
"Style": "sample string 31",
"FormType": "sample string 32",
"Value": "sample string 33",
"CustomFormInputDetailId": "0e7788e9-957f-4f6c-9c53-c56fdc83d4f0",
"CustomFormParentId": "4e9631b3-4c81-414d-9344-1a8f5eebbf54",
"CustomFormFieldsId": "bd8500a4-08ef-451c-a0e6-5bf00894bb13",
"CustomFormDisplayOrder": 34,
"IsRead": true,
"IsWrite": true,
"ShowOnce": true,
"ResultHtml": "sample string 35",
"Code": "sample string 36",
"FormClientTitle": "sample string 37"
}
]