POST api/customerrule/add
Request Information
URI Parameters
None.
Body Parameters
EntBasCustomerRuleName | Description | Type | Additional information |
---|---|---|---|
CompanyTypeCn | string |
None. |
|
Id | integer |
None. |
|
LogiName | string |
None. |
|
CompanyCode | string |
None. |
|
CompanyType | string |
None. |
|
CreateUser | string |
None. |
|
CreateTime | date |
None. |
|
UpdateTime | date |
None. |
|
UpdateUser | string |
None. |
|
EDICode | string |
None. |
|
CompanyName | string |
None. |
|
PageSize | integer |
None. |
|
PageIndex | integer |
None. |
|
TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "companyTypeCn": "sample string 1", "id": 2, "logiName": "sample string 3", "companyCode": "sample string 4", "companyType": "sample string 5", "createUser": "sample string 6", "createTime": "2024-11-21 16:47:03", "updateTime": "2024-11-21 16:47:03", "updateUser": "sample string 7", "ediCode": "sample string 8", "companyName": "sample string 9", "pageSize": 10, "pageIndex": 11, "totalCount": 12 }
application/xml, text/xml
Sample:
<EntBasCustomerRule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>11</PageIndex> <PageSize>10</PageSize> <TotalCount>12</TotalCount> <CompanyCode>sample string 4</CompanyCode> <CompanyName>sample string 9</CompanyName> <CompanyType>sample string 5</CompanyType> <CompanyTypeCn>sample string 1</CompanyTypeCn> <CreateTime>2024-11-21T16:47:03.9621618+08:00</CreateTime> <CreateUser>sample string 6</CreateUser> <EDICode>sample string 8</EDICode> <Id>2</Id> <LogiName>sample string 3</LogiName> <UpdateTime>2024-11-21T16:47:03.9621618+08:00</UpdateTime> <UpdateUser>sample string 7</UpdateUser> </EntBasCustomerRule>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Success | boolean |
None. |
|
Data | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": 1, "success": true, "data": 3, "message": "sample string 4" }
application/xml, text/xml
Sample:
<ReturnResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <Data>3</Data> <Message>sample string 4</Message> <Status>1</Status> <Success>true</Success> </ReturnResultOfint>