POST api/PaymentCollectionMaster/SavePaymentCollection

Request Information

URI Parameters

None.

Body Parameters

PaymentCollectionModel
NameDescriptionTypeAdditional information
CompanyID

integer

None.

UserID

integer

None.

PaymentCollectionDetailModel

Collection of PaymentCollectionDetailModel

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyID": 1,
  "UserID": 2,
  "PaymentCollectionDetailModel": [
    {
      "AccountID": 1,
      "PaidAmount": 1.0,
      "TransactionDate": "2025-12-12T02:40:47.7744998+05:30",
      "OverDueCharge": 1.0,
      "PaymentMode": "sample string 1",
      "BankID": 1,
      "ChequeNo": "sample string 2",
      "ChequeDate": "2025-12-12T02:40:47.7744998+05:30",
      "TransactionNo": "sample string 3",
      "TransferMode": "sample string 4",
      "CreditedinAccount": "sample string 5",
      "DayID": 1,
      "WeekID": 1,
      "MonthID": 1,
      "YearID": 1,
      "FinancialYear": "sample string 6",
      "Remarks": "sample string 7",
      "ImageUrl": "sample string 8",
      "PenalInterestAmount": 1.0
    },
    {
      "AccountID": 1,
      "PaidAmount": 1.0,
      "TransactionDate": "2025-12-12T02:40:47.7744998+05:30",
      "OverDueCharge": 1.0,
      "PaymentMode": "sample string 1",
      "BankID": 1,
      "ChequeNo": "sample string 2",
      "ChequeDate": "2025-12-12T02:40:47.7744998+05:30",
      "TransactionNo": "sample string 3",
      "TransferMode": "sample string 4",
      "CreditedinAccount": "sample string 5",
      "DayID": 1,
      "WeekID": 1,
      "MonthID": 1,
      "YearID": 1,
      "FinancialYear": "sample string 6",
      "Remarks": "sample string 7",
      "ImageUrl": "sample string 8",
      "PenalInterestAmount": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<PaymentCollectionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject">
  <CompanyID>1</CompanyID>
  <PaymentCollectionDetailModel>
    <PaymentCollectionDetailModel>
      <AccountID>1</AccountID>
      <BankID>1</BankID>
      <ChequeDate>2025-12-12T02:40:47.7744998+05:30</ChequeDate>
      <ChequeNo>sample string 2</ChequeNo>
      <CreditedinAccount>sample string 5</CreditedinAccount>
      <DayID>1</DayID>
      <FinancialYear>sample string 6</FinancialYear>
      <ImageUrl>sample string 8</ImageUrl>
      <MonthID>1</MonthID>
      <OverDueCharge>1</OverDueCharge>
      <PaidAmount>1</PaidAmount>
      <PaymentMode>sample string 1</PaymentMode>
      <PenalInterestAmount>1</PenalInterestAmount>
      <Remarks>sample string 7</Remarks>
      <TransactionDate>2025-12-12T02:40:47.7744998+05:30</TransactionDate>
      <TransactionNo>sample string 3</TransactionNo>
      <TransferMode>sample string 4</TransferMode>
      <WeekID>1</WeekID>
      <YearID>1</YearID>
    </PaymentCollectionDetailModel>
    <PaymentCollectionDetailModel>
      <AccountID>1</AccountID>
      <BankID>1</BankID>
      <ChequeDate>2025-12-12T02:40:47.7744998+05:30</ChequeDate>
      <ChequeNo>sample string 2</ChequeNo>
      <CreditedinAccount>sample string 5</CreditedinAccount>
      <DayID>1</DayID>
      <FinancialYear>sample string 6</FinancialYear>
      <ImageUrl>sample string 8</ImageUrl>
      <MonthID>1</MonthID>
      <OverDueCharge>1</OverDueCharge>
      <PaidAmount>1</PaidAmount>
      <PaymentMode>sample string 1</PaymentMode>
      <PenalInterestAmount>1</PenalInterestAmount>
      <Remarks>sample string 7</Remarks>
      <TransactionDate>2025-12-12T02:40:47.7744998+05:30</TransactionDate>
      <TransactionNo>sample string 3</TransactionNo>
      <TransferMode>sample string 4</TransferMode>
      <WeekID>1</WeekID>
      <YearID>1</YearID>
    </PaymentCollectionDetailModel>
  </PaymentCollectionDetailModel>
  <UserID>2</UserID>
</PaymentCollectionModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.