POST api/Hold/AddDeposit
Request Information
URI Parameters
None.
Body Parameters
Deposit| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| OpportunityId | globally unique identifier |
None. |
|
| Name | string |
Required |
|
| Amount | decimal number |
Required |
|
| Deposited | boolean |
None. |
|
| ChequeDated | date |
None. |
|
| CreatedDate | date |
None. |
|
| DepositPaymentType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "8c2f30b2-d7f0-4a8b-ac84-aa5f0335ff4f",
"OpportunityId": "c2ea9361-0a89-43d0-8ca1-a27ae5b59efc",
"Name": "sample string 3",
"Amount": 4.0,
"Deposited": true,
"ChequeDated": "2025-10-27T08:30:07.316848+00:00",
"CreatedDate": "2025-10-27T08:30:07.316848+00:00",
"DepositPaymentType": 1
}
text/html
Sample:
{"Id":"8c2f30b2-d7f0-4a8b-ac84-aa5f0335ff4f","OpportunityId":"c2ea9361-0a89-43d0-8ca1-a27ae5b59efc","Name":"sample string 3","Amount":4.0,"Deposited":true,"ChequeDated":"2025-10-27T08:30:07.316848+00:00","CreatedDate":"2025-10-27T08:30:07.316848+00:00","DepositPaymentType":1}
application/xml, text/xml
Sample:
<Deposit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BRH.Services.Models"> <Amount>4</Amount> <ChequeDated>2025-10-27T08:30:07.316848+00:00</ChequeDated> <CreatedDate>2025-10-27T08:30:07.316848+00:00</CreatedDate> <DepositPaymentType>1</DepositPaymentType> <Deposited>true</Deposited> <Id>8c2f30b2-d7f0-4a8b-ac84-aa5f0335ff4f</Id> <Name>sample string 3</Name> <OpportunityId>c2ea9361-0a89-43d0-8ca1-a27ae5b59efc</OpportunityId> </Deposit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | string |
None. |
|
| SerializerSettings | JsonSerializerSettings |
None. |
|
| Encoding | Encoding |
None. |
|
| Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.