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": "8a41a849-8042-4878-8d08-9fdb97a2e0f8",
"PatientId": "c42777e6-4198-49fc-aeff-41e8ee9a41c2",
"EncounterId": "5c4a4940-61e2-4c7b-ad07-c838cd70a28d",
"Id": "64a9a763-9b48-4c04-ae1e-f98669e424e3",
"CustomFormInputDetails": [
{
"CustomFormFieldsId": "cf349632-d1e9-4840-807d-a44220917719",
"Value": "sample string 2",
"Ismultientry": true
},
{
"CustomFormFieldsId": "cf349632-d1e9-4840-807d-a44220917719",
"Value": "sample string 2",
"Ismultientry": true
}
],
"Note": "sample string 3",
"StatusId": 1,
"ModifiedBy": "0a224236-2c9f-4530-bf5a-066731f12705",
"ModifiedOn": "2026-02-04T03:20:46.1993706+00:00",
"EncounterTypeId": "745ac922-cee9-46e2-aedd-bba4b9485793",
"ModuleId": 4,
"ModuleName": "sample string 5",
"RecordId": "6bcb72e7-4d22-44ac-8c97-cca1919fefc9",
"RecordTypeId": 7,
"areaid": 8,
"AccountId": "81be4c95-ba0e-451b-a90d-0282351b9d23"
}
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": "129fd20c-de78-49e2-8c84-6674a7a11b3c",
"ModuleName": "sample string 1",
"ModuleOrder": 2,
"ModuleParentId": 1,
"ModuleId": 3,
"CustomFormId": "84c302a1-f52e-4db8-a345-d7ffa0189516",
"CustomFormName": "sample string 5",
"Description": "sample string 6",
"IsAllowMultiple": true,
"ParentId": "4f8f8f1b-6ced-414f-8639-20a8ab8633ca",
"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": "8c4e635d-8757-4d2e-a4f4-520fb6a10e71",
"CustomFormParentId": "10f041ac-d784-4c94-ae39-528ab5c1f7f0",
"CustomFormFieldsId": "eed7453d-25d1-471f-8403-b2021c4d585a",
"CustomFormDisplayOrder": 34,
"IsRead": true,
"IsWrite": true,
"ShowOnce": true,
"ResultHtml": "sample string 35",
"Code": "sample string 36",
"FormClientTitle": "sample string 37"
},
{
"Id": "129fd20c-de78-49e2-8c84-6674a7a11b3c",
"ModuleName": "sample string 1",
"ModuleOrder": 2,
"ModuleParentId": 1,
"ModuleId": 3,
"CustomFormId": "84c302a1-f52e-4db8-a345-d7ffa0189516",
"CustomFormName": "sample string 5",
"Description": "sample string 6",
"IsAllowMultiple": true,
"ParentId": "4f8f8f1b-6ced-414f-8639-20a8ab8633ca",
"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": "8c4e635d-8757-4d2e-a4f4-520fb6a10e71",
"CustomFormParentId": "10f041ac-d784-4c94-ae39-528ab5c1f7f0",
"CustomFormFieldsId": "eed7453d-25d1-471f-8403-b2021c4d585a",
"CustomFormDisplayOrder": 34,
"IsRead": true,
"IsWrite": true,
"ShowOnce": true,
"ResultHtml": "sample string 35",
"Code": "sample string 36",
"FormClientTitle": "sample string 37"
}
]