GET api/SDInvoiceBatch/GetAllOpenBatchesToClose/{accountId}/{companyId}/{startDate}/{endDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

companyId

string

Required

startDate

string

Required

endDate

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SDInvoiceBatch
NameDescriptionTypeAdditional information
AccountId

integer

None.

CompanyId

string

None.

BatchNum

string

None.

BatchOpenedOn

date

None.

BatchOpenedBy

string

None.

BatchClosedOn

date

None.

BatchClosedBy

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AccountId": 1,
    "CompanyId": "sample string 2",
    "BatchNum": "sample string 3",
    "BatchOpenedOn": "2025-12-16T20:21:00.1261044+00:00",
    "BatchOpenedBy": "sample string 4",
    "BatchClosedOn": "2025-12-16T20:21:00.1261044+00:00",
    "BatchClosedBy": "sample string 5"
  },
  {
    "AccountId": 1,
    "CompanyId": "sample string 2",
    "BatchNum": "sample string 3",
    "BatchOpenedOn": "2025-12-16T20:21:00.1261044+00:00",
    "BatchOpenedBy": "sample string 4",
    "BatchClosedOn": "2025-12-16T20:21:00.1261044+00:00",
    "BatchClosedBy": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSDInvoiceBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD">
  <SDInvoiceBatch>
    <AccountId>1</AccountId>
    <BatchClosedBy>sample string 5</BatchClosedBy>
    <BatchClosedOn>2025-12-16T20:21:00.1261044+00:00</BatchClosedOn>
    <BatchNum>sample string 3</BatchNum>
    <BatchOpenedBy>sample string 4</BatchOpenedBy>
    <BatchOpenedOn>2025-12-16T20:21:00.1261044+00:00</BatchOpenedOn>
    <CompanyId>sample string 2</CompanyId>
  </SDInvoiceBatch>
  <SDInvoiceBatch>
    <AccountId>1</AccountId>
    <BatchClosedBy>sample string 5</BatchClosedBy>
    <BatchClosedOn>2025-12-16T20:21:00.1261044+00:00</BatchClosedOn>
    <BatchNum>sample string 3</BatchNum>
    <BatchOpenedBy>sample string 4</BatchOpenedBy>
    <BatchOpenedOn>2025-12-16T20:21:00.1261044+00:00</BatchOpenedOn>
    <CompanyId>sample string 2</CompanyId>
  </SDInvoiceBatch>
</ArrayOfSDInvoiceBatch>