POST api/RoleRepositoryReviews/SaveRoleRepositoryReviews
保存角色审核流程
Request Information
URI Parameters
None.
Body Parameters
RoleRepositoryReviewsInputDtoName | Description | Type | Additional 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:
<RoleRepositoryReviewsInputDto 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> </RoleRepositoryReviewsInputDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存角色审核流程
JsonRtnDtoOfRoleRepositoryReviewsOutputDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | RoleRepositoryReviewsOutputDto |
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 } }
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}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfRoleRepositoryReviewsOutputDtov3CTEUQJ 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> </JsonRtnDtoOfRoleRepositoryReviewsOutputDtov3CTEUQJ>
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}});