POST api/Dividend/save_list/{organizer}?year={year}&first_dt={first_dt}&last_dt={last_dt}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| organizer | string |
Required |
|
| year | integer |
Required |
|
| first_dt | date |
Required |
|
| last_dt | date |
Required |
Body Parameters
Collection of dividend| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| MASCODE | string |
Required String length: inclusive between 0 and 100 |
|
| ORGANIZATION | string |
Required String length: inclusive between 0 and 20 |
|
| dividend_amount | decimal number |
None. |
|
| average_return | decimal number |
None. |
|
| total_balance | decimal number |
None. |
|
| year | integer |
None. |
|
| first_dt | date |
None. |
|
| last_dt | date |
None. |
|
| create_dt | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"id": 1,
"MASCODE": "sample string 2",
"ORGANIZATION": "sample string 3",
"dividend_amount": 1.0,
"average_return": 1.0,
"total_balance": 1.0,
"year": 1,
"first_dt": "2026-02-04T10:08:48.0284894+07:00",
"last_dt": "2026-02-04T10:08:48.0284894+07:00",
"create_dt": "2026-02-04T10:08:48.0284894+07:00"
},
{
"id": 1,
"MASCODE": "sample string 2",
"ORGANIZATION": "sample string 3",
"dividend_amount": 1.0,
"average_return": 1.0,
"total_balance": 1.0,
"year": 1,
"first_dt": "2026-02-04T10:08:48.0284894+07:00",
"last_dt": "2026-02-04T10:08:48.0284894+07:00",
"create_dt": "2026-02-04T10:08:48.0284894+07:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfdividend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zenic.ClassLibrary.Entity.Table">
<dividend>
<MASCODE>sample string 2</MASCODE>
<ORGANIZATION>sample string 3</ORGANIZATION>
<average_return>1</average_return>
<create_dt>2026-02-04T10:08:48.0284894+07:00</create_dt>
<dividend_amount>1</dividend_amount>
<first_dt>2026-02-04T10:08:48.0284894+07:00</first_dt>
<id>1</id>
<last_dt>2026-02-04T10:08:48.0284894+07:00</last_dt>
<total_balance>1</total_balance>
<year>1</year>
</dividend>
<dividend>
<MASCODE>sample string 2</MASCODE>
<ORGANIZATION>sample string 3</ORGANIZATION>
<average_return>1</average_return>
<create_dt>2026-02-04T10:08:48.0284894+07:00</create_dt>
<dividend_amount>1</dividend_amount>
<first_dt>2026-02-04T10:08:48.0284894+07:00</first_dt>
<id>1</id>
<last_dt>2026-02-04T10:08:48.0284894+07:00</last_dt>
<total_balance>1</total_balance>
<year>1</year>
</dividend>
</ArrayOfdividend>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.