POST jxc_api/Permission/CheckDataAuth

Request Information

URI Parameters

None.

Body Parameters

Collection of DataAuthModel
NameDescriptionTypeAdditional information
Type

integer

None.

DataId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Type": 1,
    "DataId": 2
  },
  {
    "Type": 1,
    "DataId": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfDataAuthModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.DataGrants">
  <DataAuthModel>
    <DataId>2</DataId>
    <Type>1</Type>
  </DataAuthModel>
  <DataAuthModel>
    <DataId>2</DataId>
    <Type>1</Type>
  </DataAuthModel>
</ArrayOfDataAuthModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>