POST api/admin/Workflow/SaveRoleStageDistrictMappings

Request Information

URI Parameters

None.

Body Parameters

WorkflowStageRoleDistrictMappingPostDTO
NameDescriptionTypeAdditional information
UserID

string

Required

ActionTakenBy

string

Required

IPAddress

string

Required

RoleStageDistrictMappings

Collection of WorkflowStageRoleDistrictMappingDTO

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": "sample string 1",
  "ActionTakenBy": "sample string 2",
  "IPAddress": "sample string 3",
  "RoleStageDistrictMappings": [
    {
      "MappingID": 1,
      "StageID": 1,
      "RoleID": 2,
      "DistrictID": 1,
      "IsActive": true
    },
    {
      "MappingID": 1,
      "StageID": 1,
      "RoleID": 2,
      "DistrictID": 1,
      "IsActive": true
    }
  ]
}

application/xml, text/xml

Sample:
<WorkflowStageRoleDistrictMappingPostDTO 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>
  <RoleStageDistrictMappings>
    <WorkflowStageRoleDistrictMappingDTO>
      <DistrictID>1</DistrictID>
      <IsActive>true</IsActive>
      <MappingID>1</MappingID>
      <RoleID>2</RoleID>
      <StageID>1</StageID>
    </WorkflowStageRoleDistrictMappingDTO>
    <WorkflowStageRoleDistrictMappingDTO>
      <DistrictID>1</DistrictID>
      <IsActive>true</IsActive>
      <MappingID>1</MappingID>
      <RoleID>2</RoleID>
      <StageID>1</StageID>
    </WorkflowStageRoleDistrictMappingDTO>
  </RoleStageDistrictMappings>
  <UserID>sample string 1</UserID>
</WorkflowStageRoleDistrictMappingPostDTO>

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>