POST api/CreateCompanyWorkflow

Request Information

URI Parameters

None.

Body Parameters

SaveCompanyWorkFlowVm
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

TriggerEntityMasterId

integer

None.

ExecutionWorkflowId

integer

None.

Date

integer

None.

Time

date

None.

Day

DayOfWeek

None.

TriggerWorkFlowConditionsId

integer

None.

WorkFlowActionId

integer

None.

HasEmail

boolean

None.

HasSms

boolean

None.

HasWhatsapp

boolean

None.

HasPush

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "TriggerEntityMasterId": 1,
  "ExecutionWorkflowId": 1,
  "Date": 4,
  "Time": "2025-12-07T14:39:45.4046918Z",
  "Day": 0,
  "TriggerWorkFlowConditionsId": 1,
  "WorkFlowActionId": 1,
  "HasEmail": true,
  "HasSms": true,
  "HasWhatsapp": true,
  "HasPush": true
}

application/xml, text/xml

Sample:
<SaveCompanyWorkFlowVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.SuperAdminModels">
  <Date>4</Date>
  <Day>Sunday</Day>
  <Description>sample string 3</Description>
  <ExecutionWorkflowId>1</ExecutionWorkflowId>
  <HasEmail>true</HasEmail>
  <HasPush>true</HasPush>
  <HasSms>true</HasSms>
  <HasWhatsapp>true</HasWhatsapp>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <Time>2025-12-07T20:09:45.4046918+05:30</Time>
  <TriggerEntityMasterId>1</TriggerEntityMasterId>
  <TriggerWorkFlowConditionsId>1</TriggerWorkFlowConditionsId>
  <WorkFlowActionId>1</WorkFlowActionId>
</SaveCompanyWorkFlowVm>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveCompanyWorkFlowVm'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Description

string

None.

Data

Object

None.

Count

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models">
  <Count>5</Count>
  <Data />
  <Description>sample string 3</Description>
  <Message>sample string 2</Message>
  <Success>true</Success>
</Response>