GET api/CompanyPayees?companyCode={companyCode}

Gets all payees for the specified company code.

Request Information

Parameters

NameDescriptionAdditional information
companyCode
The companyCode.

Define this parameter in the request URI.

Response Information

IEnumerable{CompanyPayeePoco}.

Response body formats

application/json, text/json

Sample:
[
  {
    "Company_Cd": "sample string 1",
    "Payee_Cd": "sample string 2",
    "Payee_Nm": "sample string 3"
  },
  {
    "Company_Cd": "sample string 1",
    "Payee_Cd": "sample string 2",
    "Payee_Nm": "sample string 3"
  },
  {
    "Company_Cd": "sample string 1",
    "Payee_Cd": "sample string 2",
    "Payee_Nm": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanyPayee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netchex.API.External.Areas.CompanyPayees.Models">
  <CompanyPayee>
    <Company_Cd>sample string 1</Company_Cd>
    <Payee_Cd>sample string 2</Payee_Cd>
    <Payee_Nm>sample string 3</Payee_Nm>
  </CompanyPayee>
  <CompanyPayee>
    <Company_Cd>sample string 1</Company_Cd>
    <Payee_Cd>sample string 2</Payee_Cd>
    <Payee_Nm>sample string 3</Payee_Nm>
  </CompanyPayee>
  <CompanyPayee>
    <Company_Cd>sample string 1</Company_Cd>
    <Payee_Cd>sample string 2</Payee_Cd>
    <Payee_Nm>sample string 3</Payee_Nm>
  </CompanyPayee>
</ArrayOfCompanyPayee>