GET api/PaymentReport/{id}?type={type}&startdatetime={startdatetime}&enddatetime={enddatetime}

Gets a list sales report item.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Organization Id.

integer

Required

type

List Type.

string

Required

startdatetime

Start DateTime.

date

Required

enddatetime

End DatTime.

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PaymentReport
NameDescriptionTypeAdditional information
PaymentId

integer

None.

PaymentMethodId

integer

None.

PaymentMethod

string

None.

OrderId

integer

None.

OrganizationId

integer

None.

PaymentDate

date

None.

CreatedBy

string

None.

CreatedByName

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

GlobalId

string

None.

Amount

decimal number

None.

ReferenceNumber

string

None.

OrderNumber

integer

None.

CustomerNameWithPhone

string

None.

PaymentStatusId

integer

None.

PaymentStatus

string

None.

ReturnOrderId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PaymentId": 1,
    "PaymentMethodId": 1,
    "PaymentMethod": "sample string 2",
    "OrderId": 1,
    "OrganizationId": 1,
    "PaymentDate": "2025-01-15T22:53:16.0488501+00:00",
    "CreatedBy": "sample string 3",
    "CreatedByName": "sample string 4",
    "CreatedDate": "2025-01-15T22:53:16.0488501+00:00",
    "UpdatedBy": "sample string 5",
    "UpdatedDate": "2025-01-15T22:53:16.0488501+00:00",
    "GlobalId": "sample string 6",
    "Amount": 1.0,
    "ReferenceNumber": "sample string 7",
    "OrderNumber": 1,
    "CustomerNameWithPhone": "sample string 8",
    "PaymentStatusId": 1,
    "PaymentStatus": "sample string 9",
    "ReturnOrderId": 1
  },
  {
    "PaymentId": 1,
    "PaymentMethodId": 1,
    "PaymentMethod": "sample string 2",
    "OrderId": 1,
    "OrganizationId": 1,
    "PaymentDate": "2025-01-15T22:53:16.0488501+00:00",
    "CreatedBy": "sample string 3",
    "CreatedByName": "sample string 4",
    "CreatedDate": "2025-01-15T22:53:16.0488501+00:00",
    "UpdatedBy": "sample string 5",
    "UpdatedDate": "2025-01-15T22:53:16.0488501+00:00",
    "GlobalId": "sample string 6",
    "Amount": 1.0,
    "ReferenceNumber": "sample string 7",
    "OrderNumber": 1,
    "CustomerNameWithPhone": "sample string 8",
    "PaymentStatusId": 1,
    "PaymentStatus": "sample string 9",
    "ReturnOrderId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <PaymentReport>
    <Amount>1</Amount>
    <CreatedBy>sample string 3</CreatedBy>
    <CreatedByName>sample string 4</CreatedByName>
    <CreatedDate>2025-01-15T22:53:16.0488501+00:00</CreatedDate>
    <CustomerNameWithPhone>sample string 8</CustomerNameWithPhone>
    <GlobalId>sample string 6</GlobalId>
    <OrderId>1</OrderId>
    <OrderNumber>1</OrderNumber>
    <OrganizationId>1</OrganizationId>
    <PaymentDate>2025-01-15T22:53:16.0488501+00:00</PaymentDate>
    <PaymentId>1</PaymentId>
    <PaymentMethod>sample string 2</PaymentMethod>
    <PaymentMethodId>1</PaymentMethodId>
    <PaymentStatus>sample string 9</PaymentStatus>
    <PaymentStatusId>1</PaymentStatusId>
    <ReferenceNumber>sample string 7</ReferenceNumber>
    <ReturnOrderId>1</ReturnOrderId>
    <UpdatedBy>sample string 5</UpdatedBy>
    <UpdatedDate>2025-01-15T22:53:16.0488501+00:00</UpdatedDate>
  </PaymentReport>
  <PaymentReport>
    <Amount>1</Amount>
    <CreatedBy>sample string 3</CreatedBy>
    <CreatedByName>sample string 4</CreatedByName>
    <CreatedDate>2025-01-15T22:53:16.0488501+00:00</CreatedDate>
    <CustomerNameWithPhone>sample string 8</CustomerNameWithPhone>
    <GlobalId>sample string 6</GlobalId>
    <OrderId>1</OrderId>
    <OrderNumber>1</OrderNumber>
    <OrganizationId>1</OrganizationId>
    <PaymentDate>2025-01-15T22:53:16.0488501+00:00</PaymentDate>
    <PaymentId>1</PaymentId>
    <PaymentMethod>sample string 2</PaymentMethod>
    <PaymentMethodId>1</PaymentMethodId>
    <PaymentStatus>sample string 9</PaymentStatus>
    <PaymentStatusId>1</PaymentStatusId>
    <ReferenceNumber>sample string 7</ReferenceNumber>
    <ReturnOrderId>1</ReturnOrderId>
    <UpdatedBy>sample string 5</UpdatedBy>
    <UpdatedDate>2025-01-15T22:53:16.0488501+00:00</UpdatedDate>
  </PaymentReport>
</ArrayOfPaymentReport>