POST api/loans/{accountNumber}/promisetopay
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountNumber | integer |
Required |
Body Parameters
PromiseToPay| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| AccountNumber | integer |
None. |
|
| BHPHAccountNumber | integer |
None. |
|
| Type | string |
None. |
|
| ReferenceBalanceId | integer |
None. |
|
| BalanceType | string |
None. |
|
| DeliveryMethod | string |
None. |
|
| Note | string |
None. |
|
| Amount | decimal number |
None. |
|
| AmountPaid | decimal number |
None. |
|
| Status | string |
None. |
|
| PaymentMethod | string |
None. |
|
| Date | date |
None. |
|
| DatePaid | date |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| ScheduleAmountDue | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"AccountNumber": 2,
"BHPHAccountNumber": 3,
"Type": "sample string 4",
"ReferenceBalanceId": 1,
"BalanceType": "sample string 5",
"DeliveryMethod": "sample string 6",
"Note": "sample string 7",
"Amount": 8.0,
"AmountPaid": 9.0,
"Status": "sample string 10",
"PaymentMethod": "sample string 11",
"Date": "2025-12-06T03:33:52.3076813+00:00",
"DatePaid": "2025-12-06T03:33:52.3076813+00:00",
"CreatedBy": 13,
"CreatedOn": "2025-12-06T03:33:52.3076813+00:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-06T03:33:52.3076813+00:00",
"ScheduleAmountDue": 15.0
}
application/xml, text/xml
Sample:
<PromiseToPay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.Models"> <AccountNumber>2</AccountNumber> <Amount>8</Amount> <AmountPaid>9</AmountPaid> <BHPHAccountNumber>3</BHPHAccountNumber> <BalanceType>sample string 5</BalanceType> <CreatedBy>13</CreatedBy> <CreatedOn>2025-12-06T03:33:52.3076813+00:00</CreatedOn> <Date>2025-12-06T03:33:52.3076813+00:00</Date> <DatePaid>2025-12-06T03:33:52.3076813+00:00</DatePaid> <DeliveryMethod>sample string 6</DeliveryMethod> <Id>1</Id> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-12-06T03:33:52.3076813+00:00</ModifiedOn> <Note>sample string 7</Note> <PaymentMethod>sample string 11</PaymentMethod> <ReferenceBalanceId>1</ReferenceBalanceId> <ScheduleAmountDue>15</ScheduleAmountDue> <Status>sample string 10</Status> <Type>sample string 4</Type> </PromiseToPay>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |