GET api/Customer/GetCustomerDebts?LastExecutedDate={LastExecutedDate}&CurrentDate={CurrentDate}&TerminalId={TerminalId}&SharedDB={SharedDB}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LastExecutedDate

date

None.

CurrentDate

date

None.

TerminalId

globally unique identifier

None.

SharedDB

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerDebt
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

OrderId

globally unique identifier

None.

CustomerId

globally unique identifier

None.

InvoiceDate

date

None.

Status

CustomerDebtStatus

None.

TotalAmount

decimal number

None.

RUTAmount

decimal number

None.

Balance

decimal number

None.

PaymentType

byte

None.

Synced

boolean

None.

Updated

date

None.

InvoiceNumber

integer

None.

PayNow

boolean

None.

BtnColor

string

None.

PaidBy

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": "09e0d0b1-f54b-4a20-8068-f6890bf36ad0",
    "OrderId": "5bd6eb82-7188-4055-a089-9f802341e2f8",
    "CustomerId": "60a50edc-0f14-4378-9829-7033077216af",
    "InvoiceDate": "2024-05-16T19:33:49.1652982+02:00",
    "Status": 0,
    "TotalAmount": 5.0,
    "RUTAmount": 6.0,
    "Balance": 7.0,
    "PaymentType": 64,
    "Synced": true,
    "Updated": "2024-05-16T19:33:49.1652982+02:00",
    "InvoiceNumber": 10,
    "PayNow": false,
    "BtnColor": "#FFD3D3D3",
    "PaidBy": "sample string 11"
  },
  {
    "$ref": "1"
  }
]