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": "fb4e3963-c10d-4cfd-8a64-e32b3a6c5e8a",
"PatientId": "e2829689-e585-45cc-9e8b-9e4027f1b037",
"EncounterId": "34cc48ca-b954-4f2f-93b4-3a78138dfe1a",
"Id": "91525c61-f26a-4d9e-918d-446fa2e69695",
"CustomFormInputDetails": [
{
"CustomFormFieldsId": "7111adaf-265a-46c4-a1d5-812a25a5ba5d",
"Value": "sample string 2",
"Ismultientry": true
},
{
"CustomFormFieldsId": "7111adaf-265a-46c4-a1d5-812a25a5ba5d",
"Value": "sample string 2",
"Ismultientry": true
}
],
"Note": "sample string 3",
"StatusId": 1,
"ModifiedBy": "dae2afe5-02c1-4263-a1ce-07c700e9a8ba",
"ModifiedOn": "2026-02-03T21:00:27.741785-06:00",
"EncounterTypeId": "3cbefa7c-7043-4b00-8654-b78be37d927d",
"ModuleId": 4,
"ModuleName": "sample string 5",
"RecordId": "48908b5c-29dd-4496-9694-1cfbbde2fef2",
"RecordTypeId": 7,
"areaid": 8,
"AccountId": "f25d71bc-b147-4ac7-83c7-c02b45c9c6d5"
}
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": "b7d6123e-dc18-4e80-a525-02dc52fbed21",
"ModuleName": "sample string 1",
"ModuleOrder": 2,
"ModuleParentId": 1,
"ModuleId": 3,
"CustomFormId": "a13516a5-1f49-48c4-af46-3ecbd2a97c96",
"CustomFormName": "sample string 5",
"Description": "sample string 6",
"IsAllowMultiple": true,
"ParentId": "648344e0-e717-4a03-9532-719707496f02",
"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": "27d79c43-d981-48df-a4d9-b65ebcba1691",
"CustomFormParentId": "67e7c4d1-062f-4740-a43c-09eea44dbd6f",
"CustomFormFieldsId": "4dfdb1de-835b-4cf0-8afd-5722051100b7",
"CustomFormDisplayOrder": 34,
"IsRead": true,
"IsWrite": true,
"ShowOnce": true,
"ResultHtml": "sample string 35",
"Code": "sample string 36",
"FormClientTitle": "sample string 37"
},
{
"Id": "b7d6123e-dc18-4e80-a525-02dc52fbed21",
"ModuleName": "sample string 1",
"ModuleOrder": 2,
"ModuleParentId": 1,
"ModuleId": 3,
"CustomFormId": "a13516a5-1f49-48c4-af46-3ecbd2a97c96",
"CustomFormName": "sample string 5",
"Description": "sample string 6",
"IsAllowMultiple": true,
"ParentId": "648344e0-e717-4a03-9532-719707496f02",
"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": "27d79c43-d981-48df-a4d9-b65ebcba1691",
"CustomFormParentId": "67e7c4d1-062f-4740-a43c-09eea44dbd6f",
"CustomFormFieldsId": "4dfdb1de-835b-4cf0-8afd-5722051100b7",
"CustomFormDisplayOrder": 34,
"IsRead": true,
"IsWrite": true,
"ShowOnce": true,
"ResultHtml": "sample string 35",
"Code": "sample string 36",
"FormClientTitle": "sample string 37"
}
]