POST api/resource/audit

资源审核接口

Request Information

URI Parameters

None.

Body Parameters

AuditDto
NameDescriptionTypeAdditional information
LRid

资源Id

Collection of globally unique identifier

None.

Pass

是否通过审核

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "LRid": [
    "56d87a3d-878e-45f8-b527-f768328c88f0",
    "ebdb4431-c08c-4483-8923-ddf189fbfc06"
  ],
  "Pass": true
}

text/html

Sample:
{"LRid":["56d87a3d-878e-45f8-b527-f768328c88f0","ebdb4431-c08c-4483-8923-ddf189fbfc06"],"Pass":true}

application/xml, text/xml

Sample:
<AuditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <LRid xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>56d87a3d-878e-45f8-b527-f768328c88f0</d2p1:guid>
    <d2p1:guid>ebdb4431-c08c-4483-8923-ddf189fbfc06</d2p1:guid>
  </LRid>
  <Pass>true</Pass>
</AuditDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

资源审核接口

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": true
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":true}

application/xml, text/xml

Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>true</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfboolean>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});