POST api/admin/Workflow/SaveWorkflowStages

Request Information

URI Parameters

None.

Body Parameters

WorkflowStageConfigDTO
NameDescriptionTypeAdditional information
UserID

string

Required

ActionTakenBy

string

Required

IPAddress

string

Required

WorkflowStages

Collection of WorkflowStagePostDTO

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": "sample string 1",
  "ActionTakenBy": "sample string 2",
  "IPAddress": "sample string 3",
  "WorkflowStages": [
    {
      "StageID": 1,
      "StageName": "sample string 1",
      "StageOrder": 2
    },
    {
      "StageID": 1,
      "StageName": "sample string 1",
      "StageOrder": 2
    }
  ]
}

application/xml, text/xml

Sample:
<WorkflowStageConfigDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.CustomApplicationModels">
  <ActionTakenBy>sample string 2</ActionTakenBy>
  <IPAddress>sample string 3</IPAddress>
  <UserID>sample string 1</UserID>
  <WorkflowStages>
    <WorkflowStagePostDTO>
      <StageID>1</StageID>
      <StageName>sample string 1</StageName>
      <StageOrder>2</StageOrder>
    </WorkflowStagePostDTO>
    <WorkflowStagePostDTO>
      <StageID>1</StageID>
      <StageName>sample string 1</StageName>
      <StageOrder>2</StageOrder>
    </WorkflowStagePostDTO>
  </WorkflowStages>
</WorkflowStageConfigDTO>

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>