GET api/{database}/AccountsPayableBalanceList/ByFiscalYear/{fiscalYear}/{balanceSelection}

Gets a list of AccountsPayableInfo that matches the specified criteria



Request Information

Parameters

NameDescriptionAdditional information
fiscalYear The fiscalYear.

Define this parameter in the request URI.

balanceSelection The balanceSelection. Accepted values are: Value Description 0 AllEntries 1 UnbalancedEntries 2 UnbalancedEntriesIncludeInPaymentBatch

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "balanceAmount": 1.0,
    "city": "sample string 2",
    "documents": null,
    "journalCode": 3,
    "name": "sample string 4",
    "organizationId": 5,
    "phoneNumber": "sample string 6",
    "shortName": "sample string 7",
    "street": "sample string 8",
    "supplierId": "sample string 9"
  },
  {
    "balanceAmount": 1.0,
    "city": "sample string 2",
    "documents": null,
    "journalCode": 3,
    "name": "sample string 4",
    "organizationId": 5,
    "phoneNumber": "sample string 6",
    "shortName": "sample string 7",
    "street": "sample string 8",
    "supplierId": "sample string 9"
  },
  {
    "balanceAmount": 1.0,
    "city": "sample string 2",
    "documents": null,
    "journalCode": 3,
    "name": "sample string 4",
    "organizationId": 5,
    "phoneNumber": "sample string 6",
    "shortName": "sample string 7",
    "street": "sample string 8",
    "supplierId": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccountsPayableInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Info">
  <AccountsPayableInfo>
    <BalanceAmount>1</BalanceAmount>
    <City>sample string 2</City>
    <Documents xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
    <JournalCode>3</JournalCode>
    <Name>sample string 4</Name>
    <OrganizationId>5</OrganizationId>
    <PhoneNumber>sample string 6</PhoneNumber>
    <ShortName>sample string 7</ShortName>
    <Street>sample string 8</Street>
    <SupplierId>sample string 9</SupplierId>
  </AccountsPayableInfo>
  <AccountsPayableInfo>
    <BalanceAmount>1</BalanceAmount>
    <City>sample string 2</City>
    <Documents xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
    <JournalCode>3</JournalCode>
    <Name>sample string 4</Name>
    <OrganizationId>5</OrganizationId>
    <PhoneNumber>sample string 6</PhoneNumber>
    <ShortName>sample string 7</ShortName>
    <Street>sample string 8</Street>
    <SupplierId>sample string 9</SupplierId>
  </AccountsPayableInfo>
  <AccountsPayableInfo>
    <BalanceAmount>1</BalanceAmount>
    <City>sample string 2</City>
    <Documents xmlns:d3p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Lists" i:nil="true" />
    <JournalCode>3</JournalCode>
    <Name>sample string 4</Name>
    <OrganizationId>5</OrganizationId>
    <PhoneNumber>sample string 6</PhoneNumber>
    <ShortName>sample string 7</ShortName>
    <Street>sample string 8</Street>
    <SupplierId>sample string 9</SupplierId>
  </AccountsPayableInfo>
</ArrayOfAccountsPayableInfo>