POST api/message/saveBusinessMessageConfig
Request Information
URI Parameters
None.
Body Parameters
EntTgBusinessMessageConfigName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
MacCode | string |
None. |
|
CustomerCode | string |
None. |
|
MessageToken | string |
None. |
|
ReceivePath | string |
None. |
|
ReceivePathBack | string |
None. |
|
SendPath | string |
None. |
|
SendPathBack | string |
None. |
|
IsAutoSend | string |
None. |
|
SendTimeSpanM | string |
None. |
|
SendTimeSpanS | string |
None. |
|
IsAutoReceive | string |
None. |
|
ReceiveTimeSpanM | string |
None. |
|
ReceiveTimeSpanS | string |
None. |
|
IsCurrentConfig | string |
None. |
|
CreateUser | string |
None. |
|
CreateTime | date |
None. |
|
UpdateUser | string |
None. |
|
UpdateTime | date |
None. |
|
PageSize | integer |
None. |
|
PageIndex | integer |
None. |
|
TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "macCode": "sample string 2", "customerCode": "sample string 3", "messageToken": "sample string 4", "receivePath": "sample string 5", "receivePathBack": "sample string 6", "sendPath": "sample string 7", "sendPathBack": "sample string 8", "isAutoSend": "sample string 9", "sendTimeSpanM": "sample string 10", "sendTimeSpanS": "sample string 11", "isAutoReceive": "sample string 12", "receiveTimeSpanM": "sample string 13", "receiveTimeSpanS": "sample string 14", "isCurrentConfig": "sample string 15", "createUser": "sample string 16", "createTime": "2024-11-21 16:54:37", "updateUser": "sample string 17", "updateTime": "2024-11-21 16:54:37", "pageSize": 18, "pageIndex": 19, "totalCount": 20 }
application/xml, text/xml
Sample:
<EntTgBusinessMessageConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>19</PageIndex> <PageSize>18</PageSize> <TotalCount>20</TotalCount> <CreateTime>2024-11-21T16:54:37.6449008+08:00</CreateTime> <CreateUser>sample string 16</CreateUser> <CustomerCode>sample string 3</CustomerCode> <Id>1</Id> <IsAutoReceive>sample string 12</IsAutoReceive> <IsAutoSend>sample string 9</IsAutoSend> <IsCurrentConfig>sample string 15</IsCurrentConfig> <MacCode>sample string 2</MacCode> <MessageToken>sample string 4</MessageToken> <ReceivePath>sample string 5</ReceivePath> <ReceivePathBack>sample string 6</ReceivePathBack> <ReceiveTimeSpanM>sample string 13</ReceiveTimeSpanM> <ReceiveTimeSpanS>sample string 14</ReceiveTimeSpanS> <SendPath>sample string 7</SendPath> <SendPathBack>sample string 8</SendPathBack> <SendTimeSpanM>sample string 10</SendTimeSpanM> <SendTimeSpanS>sample string 11</SendTimeSpanS> <UpdateTime>2024-11-21T16:54:37.6449008+08:00</UpdateTime> <UpdateUser>sample string 17</UpdateUser> </EntTgBusinessMessageConfig>
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>