POST api/ArchiveStorageTaskReview/SaveRoleArchiveStorageTaskReviews

保存角色审核流程

Request Information

URI Parameters

None.

Body Parameters

RoleArchiveStorageTaskReviewsInputDto
NameDescriptionTypeAdditional information
TaskName

任务名称

string

Max length: 50

AuditProcessSteps

审核流程

Collection of AuditProcessStep

None.

Request Formats

application/json, text/json

Sample:
{
  "TaskName": "sample string 1",
  "AuditProcessSteps": [
    {
      "Index": 1,
      "RoleId": 2,
      "RoleName": "sample string 3"
    },
    {
      "Index": 1,
      "RoleId": 2,
      "RoleName": "sample string 3"
    }
  ]
}

text/html

Sample:
{"TaskName":"sample string 1","AuditProcessSteps":[{"Index":1,"RoleId":2,"RoleName":"sample string 3"},{"Index":1,"RoleId":2,"RoleName":"sample string 3"}]}

application/xml, text/xml

Sample:
<RoleArchiveStorageTaskReviewsInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <AuditProcessSteps>
    <AuditProcessStep>
      <Index>1</Index>
      <RoleId>2</RoleId>
      <RoleName>sample string 3</RoleName>
    </AuditProcessStep>
    <AuditProcessStep>
      <Index>1</Index>
      <RoleId>2</RoleId>
      <RoleName>sample string 3</RoleName>
    </AuditProcessStep>
  </AuditProcessSteps>
  <CreatedUserId>2</CreatedUserId>
  <TaskName>sample string 1</TaskName>
</RoleArchiveStorageTaskReviewsInputDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存角色审核流程

JsonRtnDtoOfRoleArchiveStorageTaskReviewsOutputDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

RoleArchiveStorageTaskReviewsOutputDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": 1,
    "TaskName": "sample string 2",
    "CreatedUserId": 3,
    "CreatedUserName": "sample string 4",
    "AuditProcessSteps": [
      {
        "Index": 1,
        "RoleId": 2,
        "RoleName": "sample string 3"
      },
      {
        "Index": 1,
        "RoleId": 2,
        "RoleName": "sample string 3"
      }
    ],
    "IsEnabled": true,
    "CreatedTime": "2024-09-25T00:11:41.8745024+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"TaskName":"sample string 2","CreatedUserId":3,"CreatedUserName":"sample string 4","AuditProcessSteps":[{"Index":1,"RoleId":2,"RoleName":"sample string 3"},{"Index":1,"RoleId":2,"RoleName":"sample string 3"}],"IsEnabled":true,"CreatedTime":"2024-09-25T00:11:41.8745024+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfRoleArchiveStorageTaskReviewsOutputDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <AuditProcessSteps>
      <AuditProcessStep>
        <Index>1</Index>
        <RoleId>2</RoleId>
        <RoleName>sample string 3</RoleName>
      </AuditProcessStep>
      <AuditProcessStep>
        <Index>1</Index>
        <RoleId>2</RoleId>
        <RoleName>sample string 3</RoleName>
      </AuditProcessStep>
    </AuditProcessSteps>
    <CreatedUserId>3</CreatedUserId>
    <CreatedUserName>sample string 4</CreatedUserName>
    <Id>1</Id>
    <TaskName>sample string 2</TaskName>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfRoleArchiveStorageTaskReviewsOutputDtov3CTEUQJ>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"TaskName":"sample string 2","CreatedUserId":3,"CreatedUserName":"sample string 4","AuditProcessSteps":[{"Index":1,"RoleId":2,"RoleName":"sample string 3"},{"Index":1,"RoleId":2,"RoleName":"sample string 3"}],"IsEnabled":true,"CreatedTime":"2024-09-25T00:11:41.8745024+08:00"}});