POST services/api/v1/Save_CashCollection_POS

Request Information

URI Parameters

None.

Body Parameters

RestCustomCashCollection_Master
NameDescriptionTypeAdditional information
Id

integer

None.

PaymentDate

date

None.

CustomerId

integer

None.

CustomerName

string

None.

CustomerCode

integer

None.

PaymentType

string

None.

ChequeNo

string

None.

ChequeDate

date

None.

AmtReceived

decimal number

None.

Balance

decimal number

None.

NewBalance

decimal number

None.

Remark

string

None.

CardNo

string

None.

CounterOpId

integer

None.

LocationId

integer

None.

CashCollectionDetails

Collection of RestCustomCashCollectionDetails

None.

ShiftNo

integer

None.

CashierName

string

None.

Code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PaymentDate": "2026-09-09T15:02:58.8727495+04:00",
  "CustomerId": 3,
  "CustomerName": "sample string 4",
  "CustomerCode": 5,
  "PaymentType": "sample string 6",
  "ChequeNo": "sample string 7",
  "ChequeDate": "2026-09-09T15:02:58.8727495+04:00",
  "AmtReceived": 9.0,
  "Balance": 10.0,
  "NewBalance": 11.0,
  "Remark": "sample string 12",
  "CardNo": "sample string 13",
  "CounterOpId": 14,
  "LocationId": 15,
  "CashCollectionDetails": [
    {
      "Selected": true,
      "SlNo": 2,
      "InvNo": 3,
      "InvDate": "2026-09-09T15:02:58.8727495+04:00",
      "TotAmount": 5.0,
      "PaidAmount": 6.0,
      "Amount": 7.0
    },
    {
      "Selected": true,
      "SlNo": 2,
      "InvNo": 3,
      "InvDate": "2026-09-09T15:02:58.8727495+04:00",
      "TotAmount": 5.0,
      "PaidAmount": 6.0,
      "Amount": 7.0
    }
  ],
  "ShiftNo": 16,
  "CashierName": "sample string 17",
  "Code": "sample string 18"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RestCustomCashCollection_Master
NameDescriptionTypeAdditional information
Id

integer

None.

PaymentDate

date

None.

CustomerId

integer

None.

CustomerName

string

None.

CustomerCode

integer

None.

PaymentType

string

None.

ChequeNo

string

None.

ChequeDate

date

None.

AmtReceived

decimal number

None.

Balance

decimal number

None.

NewBalance

decimal number

None.

Remark

string

None.

CardNo

string

None.

CounterOpId

integer

None.

LocationId

integer

None.

CashCollectionDetails

Collection of RestCustomCashCollectionDetails

None.

ShiftNo

integer

None.

CashierName

string

None.

Code

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PaymentDate": "2026-09-09T15:02:58.888385+04:00",
  "CustomerId": 3,
  "CustomerName": "sample string 4",
  "CustomerCode": 5,
  "PaymentType": "sample string 6",
  "ChequeNo": "sample string 7",
  "ChequeDate": "2026-09-09T15:02:58.888385+04:00",
  "AmtReceived": 9.0,
  "Balance": 10.0,
  "NewBalance": 11.0,
  "Remark": "sample string 12",
  "CardNo": "sample string 13",
  "CounterOpId": 14,
  "LocationId": 15,
  "CashCollectionDetails": [
    {
      "Selected": true,
      "SlNo": 2,
      "InvNo": 3,
      "InvDate": "2026-09-09T15:02:58.888385+04:00",
      "TotAmount": 5.0,
      "PaidAmount": 6.0,
      "Amount": 7.0
    },
    {
      "Selected": true,
      "SlNo": 2,
      "InvNo": 3,
      "InvDate": "2026-09-09T15:02:58.888385+04:00",
      "TotAmount": 5.0,
      "PaidAmount": 6.0,
      "Amount": 7.0
    }
  ],
  "ShiftNo": 16,
  "CashierName": "sample string 17",
  "Code": "sample string 18"
}