POST jxc_api/CodeRule/EditEntityRule

Request Information

URI Parameters

None.

Body Parameters

EntityRuleEditModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

EType

SettingType

None.

Prefix

string

None.

CategoryPart

EntityCodeCategoryPartEnum

None.

Digits

integer

None.

StartValue

integer

None.

IsPrefixAvailable

boolean

None.

IsCategoryPartAvailable

boolean

None.

IsSerialAvailable

boolean

None.

FillLacking

boolean

None.

IsOptional

boolean

None.

IsEnabled

boolean

None.

Note

string

None.

BillType

integer

None.

Multiplex_Encode

boolean

None.

Modifiable_Encode

boolean

None.

IsEnable

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "EType": 10,
  "Prefix": "sample string 3",
  "CategoryPart": 1010,
  "Digits": 4,
  "StartValue": 5,
  "IsPrefixAvailable": true,
  "IsCategoryPartAvailable": true,
  "IsSerialAvailable": true,
  "FillLacking": true,
  "IsOptional": true,
  "IsEnabled": true,
  "Note": "sample string 9",
  "BillType": 10,
  "Multiplex_Encode": true,
  "Modifiable_Encode": true,
  "IsEnable": true
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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