POST api/CustomForm
Custom Form Save
Request Information
URI Parameters
None.
Body Parameters
CustomFormBindingModelName | 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": "62786d5c-d19c-4037-af23-5ed7842ed199", "PatientId": "e910dbe5-c7b1-4a65-8106-4717492a5745", "EncounterId": "0a85e860-659f-49a2-bcad-9369c4aedef5", "Id": "3eeb6df0-ce8a-4928-bfc4-a9c3eec6ff9a", "CustomFormInputDetails": [ { "CustomFormFieldsId": "437e663a-d425-4a6a-8511-0f4c02a704a6", "Value": "sample string 2", "Ismultientry": true }, { "CustomFormFieldsId": "437e663a-d425-4a6a-8511-0f4c02a704a6", "Value": "sample string 2", "Ismultientry": true } ], "Note": "sample string 3", "StatusId": 1, "ModifiedBy": "a3b21817-879f-4ad9-8f98-15765f5ac408", "ModifiedOn": "2025-07-03T12:34:13.2802936-05:00", "EncounterTypeId": "6c7d54b0-04e3-4613-a20a-d74f36b612e2", "ModuleId": 4, "ModuleName": "sample string 5", "RecordId": "d0930a2a-e572-4f83-9102-fe8192c961b1", "RecordTypeId": 7, "areaid": 8, "AccountId": "f4fda05b-dc6f-441a-8e5b-1f17cd925d68" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of CustomFormViewModelName | 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": "3aa8ba43-dcc1-4e52-831e-0a33c9c66fb1", "ModuleName": "sample string 1", "ModuleOrder": 2, "ModuleParentId": 1, "ModuleId": 3, "CustomFormId": "320691c2-63d7-4501-b98f-f22a10c74647", "CustomFormName": "sample string 5", "Description": "sample string 6", "IsAllowMultiple": true, "ParentId": "e706430d-24da-4552-8f22-923633bdfed3", "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": "ec5e4b85-b9ad-4b3c-ad62-400a06c1e632", "CustomFormParentId": "5637273c-c067-4d0d-b175-1defa9416535", "CustomFormFieldsId": "669da658-703f-4634-a29a-59442c513821", "CustomFormDisplayOrder": 34, "IsRead": true, "IsWrite": true, "ShowOnce": true, "ResultHtml": "sample string 35", "Code": "sample string 36", "FormClientTitle": "sample string 37" }, { "Id": "3aa8ba43-dcc1-4e52-831e-0a33c9c66fb1", "ModuleName": "sample string 1", "ModuleOrder": 2, "ModuleParentId": 1, "ModuleId": 3, "CustomFormId": "320691c2-63d7-4501-b98f-f22a10c74647", "CustomFormName": "sample string 5", "Description": "sample string 6", "IsAllowMultiple": true, "ParentId": "e706430d-24da-4552-8f22-923633bdfed3", "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": "ec5e4b85-b9ad-4b3c-ad62-400a06c1e632", "CustomFormParentId": "5637273c-c067-4d0d-b175-1defa9416535", "CustomFormFieldsId": "669da658-703f-4634-a29a-59442c513821", "CustomFormDisplayOrder": 34, "IsRead": true, "IsWrite": true, "ShowOnce": true, "ResultHtml": "sample string 35", "Code": "sample string 36", "FormClientTitle": "sample string 37" } ]