POST api/Hold/UpdateDeposit

Request Information

URI Parameters

None.

Body Parameters

Deposit
NameDescriptionTypeAdditional 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": "b295fb77-405e-4ad5-a9b4-fca69c844abf",
  "OpportunityId": "a167fbb1-8218-4804-8351-432139716a37",
  "Name": "sample string 3",
  "Amount": 4.0,
  "Deposited": true,
  "ChequeDated": "2024-12-11T17:48:39.6999353+00:00",
  "CreatedDate": "2024-12-11T17:48:39.6999353+00:00",
  "DepositPaymentType": 1
}

text/html

Sample:
{"Id":"b295fb77-405e-4ad5-a9b4-fca69c844abf","OpportunityId":"a167fbb1-8218-4804-8351-432139716a37","Name":"sample string 3","Amount":4.0,"Deposited":true,"ChequeDated":"2024-12-11T17:48:39.6999353+00:00","CreatedDate":"2024-12-11T17:48:39.6999353+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>2024-12-11T17:48:39.6999353+00:00</ChequeDated>
  <CreatedDate>2024-12-11T17:48:39.6999353+00:00</CreatedDate>
  <DepositPaymentType>1</DepositPaymentType>
  <Deposited>true</Deposited>
  <Id>b295fb77-405e-4ad5-a9b4-fca69c844abf</Id>
  <Name>sample string 3</Name>
  <OpportunityId>a167fbb1-8218-4804-8351-432139716a37</OpportunityId>
</Deposit>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonResultOfString
NameDescriptionTypeAdditional 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.