POST api/pricealarm/save
Request Information
URI Parameters
None.
Body Parameters
EntSysPriceAlarm| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CopGNo | string |
None. |
|
| GoodsFlag | string |
None. |
|
| Curr | string |
None. |
|
| StandardPrice | decimal number |
None. |
|
| UpRang | decimal number |
None. |
|
| DownRang | decimal number |
None. |
|
| ValidTime | date |
None. |
|
| CreateTime | date |
None. |
|
| CreateUser | string |
None. |
|
| UpdateUser | string |
None. |
|
| UpdateTime | date |
None. |
|
| ValidTimeStart | date |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "1",
"copGNo": "sample string 2",
"goodsFlag": "sample string 3",
"curr": "sample string 4",
"standardPrice": 5.0,
"upRang": 6.0,
"downRang": 7.0,
"validTime": "2025-10-31 00:26:49",
"createTime": "2025-10-31 00:26:49",
"createUser": "sample string 8",
"updateUser": "sample string 9",
"updateTime": "2025-10-31 00:26:49",
"validTimeStart": "2025-10-31 00:26:49",
"pageSize": 10,
"pageIndex": 11,
"totalCount": 12
}
application/xml, text/xml
Sample:
<EntSysPriceAlarm 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> <CopGNo>sample string 2</CopGNo> <CreateTime>2025-10-31T00:26:49.8918273+08:00</CreateTime> <CreateUser>sample string 8</CreateUser> <Curr>sample string 4</Curr> <DownRang>7</DownRang> <GoodsFlag>sample string 3</GoodsFlag> <ID>1</ID> <StandardPrice>5</StandardPrice> <UpRang>6</UpRang> <UpdateTime>2025-10-31T00:26:49.8918273+08:00</UpdateTime> <UpdateUser>sample string 9</UpdateUser> <ValidTime>2025-10-31T00:26:49.8918273+08:00</ValidTime> <ValidTimeStart>2025-10-31T00:26:49.8918273+08:00</ValidTimeStart> </EntSysPriceAlarm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultOfInt32| Name | 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>