POST api/activity/ActivityByPresent?salercode={salercode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| salercode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
shopResponeOfListOfPlatActivityPresentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Success | boolean |
None. |
|
| total | integer |
None. |
|
| data | Collection of PlatActivityPresentModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Success": true,
"total": 3,
"data": [
{
"presentno": "sample string 1",
"startdate": "2025-12-31T15:04:57.550739+08:00",
"enddate": "2025-12-31T15:04:57.550739+08:00",
"cortroltype": 2,
"allowamount": 3.0
},
{
"presentno": "sample string 1",
"startdate": "2025-12-31T15:04:57.550739+08:00",
"enddate": "2025-12-31T15:04:57.550739+08:00",
"cortroltype": 2,
"allowamount": 3.0
}
]
}
application/xml, text/xml
Sample:
<shopResponeOfArrayOfPlatActivityPresentModelA4J41c3H xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YFA8Shop.Api.Models">
<Message>sample string 1</Message>
<Success>true</Success>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/YFA8Shop.Entitys.Activity">
<d2p1:PlatActivityPresentModel>
<d2p1:allowamount>3</d2p1:allowamount>
<d2p1:cortroltype>2</d2p1:cortroltype>
<d2p1:enddate>2025-12-31T15:04:57.550739+08:00</d2p1:enddate>
<d2p1:presentno>sample string 1</d2p1:presentno>
<d2p1:startdate>2025-12-31T15:04:57.550739+08:00</d2p1:startdate>
</d2p1:PlatActivityPresentModel>
<d2p1:PlatActivityPresentModel>
<d2p1:allowamount>3</d2p1:allowamount>
<d2p1:cortroltype>2</d2p1:cortroltype>
<d2p1:enddate>2025-12-31T15:04:57.550739+08:00</d2p1:enddate>
<d2p1:presentno>sample string 1</d2p1:presentno>
<d2p1:startdate>2025-12-31T15:04:57.550739+08:00</d2p1:startdate>
</d2p1:PlatActivityPresentModel>
</data>
<total>3</total>
</shopResponeOfArrayOfPlatActivityPresentModelA4J41c3H>