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": "ba670f02-7619-4ec8-bcfb-b9ede1641b49",
"PatientId": "49cf0575-b38e-4585-a226-187fe7c285e5",
"EncounterId": "bf1ed446-ab5b-495e-8f7b-f422e4d2453c",
"Id": "c8c79d19-316f-41bc-9826-bc46470bede7",
"CustomFormInputDetails": [
{
"CustomFormFieldsId": "313164bc-9f7d-4052-9cbd-39df94ac87d2",
"Value": "sample string 2",
"Ismultientry": true
},
{
"CustomFormFieldsId": "313164bc-9f7d-4052-9cbd-39df94ac87d2",
"Value": "sample string 2",
"Ismultientry": true
}
],
"Note": "sample string 3",
"StatusId": 1,
"ModifiedBy": "56b75bec-956a-4873-9a04-7ce17a212019",
"ModifiedOn": "2025-12-15T10:16:42.8222256-06:00",
"EncounterTypeId": "b4394197-e355-4dc4-9fb1-951677283280",
"ModuleId": 4,
"ModuleName": "sample string 5",
"RecordId": "f3d4d607-a65e-4c92-b808-23bbed90be30",
"RecordTypeId": 7,
"areaid": 8,
"AccountId": "2477d5d7-0680-4b4f-9120-5195b6be6392"
}
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": "8573ca89-81cc-40b7-bf58-c9b844abb133",
"ModuleName": "sample string 1",
"ModuleOrder": 2,
"ModuleParentId": 1,
"ModuleId": 3,
"CustomFormId": "4c1f55be-40f2-47db-a595-ef4bfdbf09f0",
"CustomFormName": "sample string 5",
"Description": "sample string 6",
"IsAllowMultiple": true,
"ParentId": "9e8986ea-4347-4666-a8ab-be5409439469",
"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": "866c2f73-4dbe-411c-a2ec-7834df0814ce",
"CustomFormParentId": "e2678011-f5de-44cf-8133-ba581a775aed",
"CustomFormFieldsId": "020e5686-f1ea-4710-b8fe-b93c576a4e2a",
"CustomFormDisplayOrder": 34,
"IsRead": true,
"IsWrite": true,
"ShowOnce": true,
"ResultHtml": "sample string 35",
"Code": "sample string 36",
"FormClientTitle": "sample string 37"
},
{
"Id": "8573ca89-81cc-40b7-bf58-c9b844abb133",
"ModuleName": "sample string 1",
"ModuleOrder": 2,
"ModuleParentId": 1,
"ModuleId": 3,
"CustomFormId": "4c1f55be-40f2-47db-a595-ef4bfdbf09f0",
"CustomFormName": "sample string 5",
"Description": "sample string 6",
"IsAllowMultiple": true,
"ParentId": "9e8986ea-4347-4666-a8ab-be5409439469",
"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": "866c2f73-4dbe-411c-a2ec-7834df0814ce",
"CustomFormParentId": "e2678011-f5de-44cf-8133-ba581a775aed",
"CustomFormFieldsId": "020e5686-f1ea-4710-b8fe-b93c576a4e2a",
"CustomFormDisplayOrder": 34,
"IsRead": true,
"IsWrite": true,
"ShowOnce": true,
"ResultHtml": "sample string 35",
"Code": "sample string 36",
"FormClientTitle": "sample string 37"
}
]