POST api/admin/Workflow/SaveWorkflow

Request Information

URI Parameters

None.

Body Parameters

WorkflowPostDTO
NameDescriptionTypeAdditional information
WorkflowID

integer

None.

WorkflowCode

string

None.

WorkflowName

string

None.

VersionNo

integer

None.

IsPublished

boolean

None.

IsActive

boolean

None.

Description

string

None.

ParentWorkflowID

integer

None.

CreatedOn

date

None.

CreatedBy

string

None.

PublishedOn

date

None.

PublishedBy

string

None.

UpdatedOn

date

None.

UpdatedBy

string

None.

ActionTakenBy

string

Required

IPAddress

string

Required

Request Formats

application/json, text/json

Sample:
{
  "WorkflowID": 1,
  "WorkflowCode": "sample string 2",
  "WorkflowName": "sample string 3",
  "VersionNo": 4,
  "IsPublished": true,
  "IsActive": true,
  "Description": "sample string 7",
  "ParentWorkflowID": 1,
  "CreatedOn": "2026-08-23T20:44:43.7928683+05:30",
  "CreatedBy": "sample string 9",
  "PublishedOn": "2026-08-23T20:44:43.7928683+05:30",
  "PublishedBy": "sample string 10",
  "UpdatedOn": "2026-08-23T20:44:43.7928683+05:30",
  "UpdatedBy": "sample string 12",
  "ActionTakenBy": "sample string 13",
  "IPAddress": "sample string 14"
}

application/xml, text/xml

Sample:
<WorkflowPostDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.CustomApplicationModels">
  <ActionTakenBy>sample string 13</ActionTakenBy>
  <CreatedBy>sample string 9</CreatedBy>
  <CreatedOn>2026-08-23T20:44:43.7928683+05:30</CreatedOn>
  <Description>sample string 7</Description>
  <IPAddress>sample string 14</IPAddress>
  <IsActive>true</IsActive>
  <IsPublished>true</IsPublished>
  <ParentWorkflowID>1</ParentWorkflowID>
  <PublishedBy>sample string 10</PublishedBy>
  <PublishedOn>2026-08-23T20:44:43.7928683+05:30</PublishedOn>
  <UpdatedBy>sample string 12</UpdatedBy>
  <UpdatedOn>2026-08-23T20:44:43.7928683+05:30</UpdatedOn>
  <VersionNo>4</VersionNo>
  <WorkflowCode>sample string 2</WorkflowCode>
  <WorkflowID>1</WorkflowID>
  <WorkflowName>sample string 3</WorkflowName>
</WorkflowPostDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseOfString
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ApiResponseOfstring>