PUT api/CustomForm
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": "4634d7bf-f5ab-4bad-ba69-6b294378d4ca", "PatientId": "126815be-4a77-4b82-80a8-e7ffdbf74888", "EncounterId": "c45ad9b2-2368-4ac3-b1b5-689fe059ac6a", "Id": "4b5b2f44-5221-4ada-a13d-cef1d0a006c6", "CustomFormInputDetails": [ { "CustomFormFieldsId": "2b256640-0fd1-475d-a469-511dd36e8220", "Value": "sample string 2", "Ismultientry": true }, { "CustomFormFieldsId": "2b256640-0fd1-475d-a469-511dd36e8220", "Value": "sample string 2", "Ismultientry": true } ], "Note": "sample string 3", "StatusId": 1, "ModifiedBy": "93a89d26-b614-4350-bfc4-728291272242", "ModifiedOn": "2025-06-08T16:18:23.5207539+05:30", "EncounterTypeId": "ddfe257f-14b9-48cf-8ef6-a08889ff3222", "ModuleId": 4, "ModuleName": "sample string 5", "RecordId": "025ec9e8-1f55-4e04-963b-7f3f18b2be3a", "RecordTypeId": 7, "areaid": 8, "AccountId": "82a73efb-6971-44f1-8355-303daa51fff8" }
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": "337b227f-7465-4cc4-ad64-3e4ffd9706af", "ModuleName": "sample string 1", "ModuleOrder": 2, "ModuleParentId": 1, "ModuleId": 3, "CustomFormId": "79864c04-904e-4208-8c2d-088ea0ff7475", "CustomFormName": "sample string 5", "Description": "sample string 6", "IsAllowMultiple": true, "ParentId": "44673df9-8453-4b0a-8e35-2a949105bef2", "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": "75ba439e-abb3-40b3-af12-fec847c0d76a", "CustomFormParentId": "ff1b006f-54e6-494a-869a-ccde4cca5f66", "CustomFormFieldsId": "781a4ce9-0665-4805-9ff6-8105a84c552d", "CustomFormDisplayOrder": 34, "IsRead": true, "IsWrite": true, "ShowOnce": true, "ResultHtml": "sample string 35", "Code": "sample string 36", "FormClientTitle": "sample string 37" }, { "Id": "337b227f-7465-4cc4-ad64-3e4ffd9706af", "ModuleName": "sample string 1", "ModuleOrder": 2, "ModuleParentId": 1, "ModuleId": 3, "CustomFormId": "79864c04-904e-4208-8c2d-088ea0ff7475", "CustomFormName": "sample string 5", "Description": "sample string 6", "IsAllowMultiple": true, "ParentId": "44673df9-8453-4b0a-8e35-2a949105bef2", "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": "75ba439e-abb3-40b3-af12-fec847c0d76a", "CustomFormParentId": "ff1b006f-54e6-494a-869a-ccde4cca5f66", "CustomFormFieldsId": "781a4ce9-0665-4805-9ff6-8105a84c552d", "CustomFormDisplayOrder": 34, "IsRead": true, "IsWrite": true, "ShowOnce": true, "ResultHtml": "sample string 35", "Code": "sample string 36", "FormClientTitle": "sample string 37" } ]