GET api/CommandMaster/GetRestrictionDataTable

Request Information

URI Parameters

None.

Body Parameters

Collection of RestrictionModel
NameDescriptionTypeAdditional information
COM_RESTRICTION_ID

integer

None.

MASTER_COMMAND_ID

integer

None.

RESTRICTOR

string

None.

ALLOW

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "COM_RESTRICTION_ID": 1,
    "MASTER_COMMAND_ID": 1,
    "RESTRICTOR": "sample string 1",
    "ALLOW": "sample string 2"
  },
  {
    "COM_RESTRICTION_ID": 1,
    "MASTER_COMMAND_ID": 1,
    "RESTRICTOR": "sample string 1",
    "ALLOW": "sample string 2"
  }
]

multipart/form-data

Sample:
[{"COM_RESTRICTION_ID":1,"MASTER_COMMAND_ID":1,"RESTRICTOR":"sample string 1","ALLOW":"sample string 2"},{"COM_RESTRICTION_ID":1,"MASTER_COMMAND_ID":1,"RESTRICTOR":"sample string 1","ALLOW":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfRestrictionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMS.FT.Business.Entities.ViewModel">
  <RestrictionModel>
    <ALLOW>sample string 2</ALLOW>
    <COM_RESTRICTION_ID>1</COM_RESTRICTION_ID>
    <MASTER_COMMAND_ID>1</MASTER_COMMAND_ID>
    <RESTRICTOR>sample string 1</RESTRICTOR>
  </RestrictionModel>
  <RestrictionModel>
    <ALLOW>sample string 2</ALLOW>
    <COM_RESTRICTION_ID>1</COM_RESTRICTION_ID>
    <MASTER_COMMAND_ID>1</MASTER_COMMAND_ID>
    <RESTRICTOR>sample string 1</RESTRICTOR>
  </RestrictionModel>
</ArrayOfRestrictionModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataTable
NameDescriptionTypeAdditional information
CaseSensitive

boolean

None.

IsInitialized

boolean

None.

RemotingFormat

SerializationFormat

None.

ChildRelations

Collection of Object

None.

Columns

Collection of Object

None.

Constraints

Collection of Object

None.

DataSet

DataSet

None.

DefaultView

Collection of Object

None.

DisplayExpression

string

None.

ExtendedProperties

Dictionary of Object [key] and Object [value]

None.

HasErrors

boolean

None.

Locale

CultureInfo

None.

MinimumCapacity

integer

None.

ParentRelations

Collection of Object

None.

PrimaryKey

Collection of DataColumn

None.

Rows

Collection of Object

None.

TableName

string

None.

Namespace

string

None.

Prefix

string

None.

Site

ISite

None.

Container

IContainer

None.

DesignMode

boolean

None.

Response Formats

application/json, text/json, multipart/form-data, application/xml, text/xml

Sample:

Sample not available.