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": "e5653504-5ec1-42d9-92f9-afee341688ac",
"PatientId": "1b1a843c-ac8d-4631-9970-0bde13e0fe9b",
"EncounterId": "41d9c6e0-9cec-4ca1-a480-d5324c2cd0a1",
"Id": "c60fe881-11b2-42d8-be7e-5375348e1014",
"CustomFormInputDetails": [
{
"CustomFormFieldsId": "088b29ec-b860-481b-ae1e-95221340213f",
"Value": "sample string 2",
"Ismultientry": true
},
{
"CustomFormFieldsId": "088b29ec-b860-481b-ae1e-95221340213f",
"Value": "sample string 2",
"Ismultientry": true
}
],
"Note": "sample string 3",
"StatusId": 1,
"ModifiedBy": "dcef14a1-6368-4bd1-b859-c8d40be5a483",
"ModifiedOn": "2026-02-03T22:28:58.4803365-06:00",
"EncounterTypeId": "7cb232f2-12de-4243-86dc-818bd34fd6ff",
"ModuleId": 4,
"ModuleName": "sample string 5",
"RecordId": "fd59247f-41ec-4bd1-9466-832e75cdbf78",
"RecordTypeId": 7,
"areaid": 8,
"AccountId": "93535339-be41-4072-ba94-9ec7e7d0bf6f"
}
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": "cea9ba54-ade4-4c27-9153-3ad01b78de20",
"ModuleName": "sample string 1",
"ModuleOrder": 2,
"ModuleParentId": 1,
"ModuleId": 3,
"CustomFormId": "896ad9ab-4aee-44fa-9316-243190d5ca11",
"CustomFormName": "sample string 5",
"Description": "sample string 6",
"IsAllowMultiple": true,
"ParentId": "cdc5aef1-d091-4341-ad08-a3168bf4283f",
"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": "698eeec6-0561-40c8-8eb6-3abba69f3e79",
"CustomFormParentId": "f4d2932a-43a4-4233-8e0e-d21f4d4556ba",
"CustomFormFieldsId": "8f99f5df-c5ce-429a-aa2c-38bd540ebd8b",
"CustomFormDisplayOrder": 34,
"IsRead": true,
"IsWrite": true,
"ShowOnce": true,
"ResultHtml": "sample string 35",
"Code": "sample string 36",
"FormClientTitle": "sample string 37"
},
{
"Id": "cea9ba54-ade4-4c27-9153-3ad01b78de20",
"ModuleName": "sample string 1",
"ModuleOrder": 2,
"ModuleParentId": 1,
"ModuleId": 3,
"CustomFormId": "896ad9ab-4aee-44fa-9316-243190d5ca11",
"CustomFormName": "sample string 5",
"Description": "sample string 6",
"IsAllowMultiple": true,
"ParentId": "cdc5aef1-d091-4341-ad08-a3168bf4283f",
"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": "698eeec6-0561-40c8-8eb6-3abba69f3e79",
"CustomFormParentId": "f4d2932a-43a4-4233-8e0e-d21f4d4556ba",
"CustomFormFieldsId": "8f99f5df-c5ce-429a-aa2c-38bd540ebd8b",
"CustomFormDisplayOrder": 34,
"IsRead": true,
"IsWrite": true,
"ShowOnce": true,
"ResultHtml": "sample string 35",
"Code": "sample string 36",
"FormClientTitle": "sample string 37"
}
]