POST ShareholderBenefits/Add-deposit

Request Information

URI Parameters

None.

Body Parameters

ReqAddDepositShareholderBenefitsModel
NameDescriptionTypeAdditional information
user_id

string

Required

deposit_amount

decimal number

Required

received_date

date

Required

note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "user_id": "sample string 1",
  "deposit_amount": 2.0,
  "received_date": "2024-10-19T18:39:12.6447236+09:00",
  "note": "sample string 4"
}

application/xml, text/xml

Sample:
<ReqAddDepositShareholderBenefitsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Merlion.Common.Models.Utility">
  <deposit_amount>2</deposit_amount>
  <note>sample string 4</note>
  <received_date>2024-10-19T18:39:12.6447236+09:00</received_date>
  <user_id>sample string 1</user_id>
</ReqAddDepositShareholderBenefitsModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ResAddDepositShareholderBenefitsModel
NameDescriptionTypeAdditional information
message

string

Required

deposit

DepositInformation

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "message": "sample string 1",
    "deposit": {
      "money_id": 1,
      "brand_id": 2,
      "account_id": 3,
      "money_type": 4,
      "received_amount": 5.0,
      "unused_amount": 6.0,
      "deposit_amount": 7.0,
      "auth_amount": 8.0,
      "received_date": "2024-10-19T18:39:12.6916024+09:00",
      "actual_received_date": "2024-10-19T18:39:12.6916024+09:00",
      "is_refundable": true,
      "is_locked": true,
      "is_confirmed": true
    }
  },
  {
    "message": "sample string 1",
    "deposit": {
      "money_id": 1,
      "brand_id": 2,
      "account_id": 3,
      "money_type": 4,
      "received_amount": 5.0,
      "unused_amount": 6.0,
      "deposit_amount": 7.0,
      "auth_amount": 8.0,
      "received_date": "2024-10-19T18:39:12.6916024+09:00",
      "actual_received_date": "2024-10-19T18:39:12.6916024+09:00",
      "is_refundable": true,
      "is_locked": true,
      "is_confirmed": true
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfResAddDepositShareholderBenefitsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Merlion.Common.Models.Utility">
  <ResAddDepositShareholderBenefitsModel>
    <deposit>
      <account_id>3</account_id>
      <actual_received_date>2024-10-19T18:39:12.6916024+09:00</actual_received_date>
      <auth_amount>8</auth_amount>
      <brand_id>2</brand_id>
      <deposit_amount>7</deposit_amount>
      <is_confirmed>true</is_confirmed>
      <is_locked>true</is_locked>
      <is_refundable>true</is_refundable>
      <money_id>1</money_id>
      <money_type>4</money_type>
      <received_amount>5</received_amount>
      <received_date>2024-10-19T18:39:12.6916024+09:00</received_date>
      <unused_amount>6</unused_amount>
    </deposit>
    <message>sample string 1</message>
  </ResAddDepositShareholderBenefitsModel>
  <ResAddDepositShareholderBenefitsModel>
    <deposit>
      <account_id>3</account_id>
      <actual_received_date>2024-10-19T18:39:12.6916024+09:00</actual_received_date>
      <auth_amount>8</auth_amount>
      <brand_id>2</brand_id>
      <deposit_amount>7</deposit_amount>
      <is_confirmed>true</is_confirmed>
      <is_locked>true</is_locked>
      <is_refundable>true</is_refundable>
      <money_id>1</money_id>
      <money_type>4</money_type>
      <received_amount>5</received_amount>
      <received_date>2024-10-19T18:39:12.6916024+09:00</received_date>
      <unused_amount>6</unused_amount>
    </deposit>
    <message>sample string 1</message>
  </ResAddDepositShareholderBenefitsModel>
</ArrayOfResAddDepositShareholderBenefitsModel>