GET jxc_api/CodeRule/SearchEntityRules?entityType={entityType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityType

SettingType

Required

Body Parameters

None.

Response Information

Resource Description

Collection of EntityRuleListModel
NameDescriptionTypeAdditional information
Id

integer

None.

TypeName

string

None.

Name

string

None.

Description

string

None.

Digits

integer

None.

IsEnabled

integer

None.

Note

string

None.

CreatedDate

string

None.

IsEnable

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "TypeName": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Digits": 5,
    "IsEnabled": 1,
    "Note": "sample string 7",
    "CreatedDate": "sample string 8",
    "IsEnable": true
  },
  {
    "Id": 1,
    "TypeName": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Digits": 5,
    "IsEnabled": 1,
    "Note": "sample string 7",
    "CreatedDate": "sample string 8",
    "IsEnable": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntityRuleListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Setting.Models">
  <EntityRuleListModel>
    <CreatedDate>sample string 8</CreatedDate>
    <Description>sample string 4</Description>
    <Digits>5</Digits>
    <Id>1</Id>
    <IsEnable>true</IsEnable>
    <IsEnabled>1</IsEnabled>
    <Name>sample string 3</Name>
    <Note>sample string 7</Note>
    <TypeName>sample string 2</TypeName>
  </EntityRuleListModel>
  <EntityRuleListModel>
    <CreatedDate>sample string 8</CreatedDate>
    <Description>sample string 4</Description>
    <Digits>5</Digits>
    <Id>1</Id>
    <IsEnable>true</IsEnable>
    <IsEnabled>1</IsEnabled>
    <Name>sample string 3</Name>
    <Note>sample string 7</Note>
    <TypeName>sample string 2</TypeName>
  </EntityRuleListModel>
</ArrayOfEntityRuleListModel>