Account Customization - Create

API URL

{{url}}/admin-service/account-customization/create

Method

POST

Description

Create customization form for customized workflow

Input

Field Name

Type

Mandatory

Example

workflow

String

Yes

smoking

instructions

Array

Yes

Avoid Smoking

Sample Input:

{ "type": "Module", "countryId": "1", "tenantId": "1", "category": "Input_form", "formInput": "{\"time\":1676956556561,\"formLayout\":[{\"id\":\"smoking\",\"viewType\":\"CardView\",\"title\":\"Smoking\",\"familyOrder\":0,\"isCustomWorkflow\":true},{\"id\":\"Smoking \",\"viewType\":\"Instruction\",\"title\":\"Smoking \",\"fieldName\":\"Smoking \",\"family\":\"smoking\",\"isSummary\":false,\"isMandatory\":false,\"isEnabled\":true,\"visibility\":\"visible\",\"instructions\":[\"Avoid Smoking\",\"Take Medication\"],\"isNotDefault\":true,\"orderId\":1}]}", "workflow": "smoking", "clinicalWorkflowId": "91" }

Sample Output:

{
    "message": "Account Customization Form created  successfully.",
    "entity": null,
    "status": true,
    "entityList": null,
    "responseCode": 201,
    "totalCount": null
}

@2024 Medtronic LABS