POST api/WorkflowManagement/SaveWorkflowSettings?notificationType={notificationType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
notificationType

string

Default value is Arrival

Body Parameters

Collection of WorkflowApprovalSettings
NameDescriptionTypeAdditional information
SettingId

integer

None.

WorkflowName

string

Required

String length: inclusive between 0 and 100

RoleId

integer

Required

ApprovalOrder

integer

Required

IsMandatory

boolean

Required

IsActive

boolean

Required

NotificationType

string

String length: inclusive between 0 and 20

CreateOn

date

None.

CreateBy

integer

None.

UpdateOn

date

None.

UpdateBy

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "settingId": 1,
    "workflowName": "sample string 2",
    "roleId": 3,
    "approvalOrder": 4,
    "isMandatory": true,
    "isActive": true,
    "notificationType": "sample string 7",
    "createOn": "2026-10-22T11:27:54.0468944+05:30",
    "createBy": 1,
    "updateOn": "2026-10-22T11:27:54.0468944+05:30",
    "updateBy": 1
  },
  {
    "settingId": 1,
    "workflowName": "sample string 2",
    "roleId": 3,
    "approvalOrder": 4,
    "isMandatory": true,
    "isActive": true,
    "notificationType": "sample string 7",
    "createOn": "2026-10-22T11:27:54.0468944+05:30",
    "createBy": 1,
    "updateOn": "2026-10-22T11:27:54.0468944+05:30",
    "updateBy": 1
  }
]

multipart/form-data, application/octet-stream

Sample:
[{"settingId":1,"workflowName":"sample string 2","roleId":3,"approvalOrder":4,"isMandatory":true,"isActive":true,"notificationType":"sample string 7","createOn":"2026-10-22T11:27:54.0468944+05:30","createBy":1,"updateOn":"2026-10-22T11:27:54.0468944+05:30","updateBy":1},{"settingId":1,"workflowName":"sample string 2","roleId":3,"approvalOrder":4,"isMandatory":true,"isActive":true,"notificationType":"sample string 7","createOn":"2026-10-22T11:27:54.0468944+05:30","createBy":1,"updateOn":"2026-10-22T11:27:54.0468944+05:30","updateBy":1}]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResult
NameDescriptionTypeAdditional information
Result

Object

None.

Msg

Object

None.

token

Object

None.

Data

Object

None.

PageNo

integer

None.

PageSize

integer

None.

TotalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "result": {},
  "msg": {},
  "token": {},
  "data": {},
  "pageNo": 1,
  "pageSize": 1,
  "totalCount": 1
}

multipart/form-data, application/octet-stream

Sample:
{"result":{},"msg":{},"token":{},"data":{},"pageNo":1,"pageSize":1,"totalCount":1}