GET api/Debtor/GetDebtors?ApiKey={ApiKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ApiKey

string

Required

Body Parameters

None.

Response Information

Resource Description

DebtorResponse
NameDescriptionTypeAdditional information
ex

Collection of oErr

None.

Debtors

Collection of mDebtor

None.

Response Formats

application/json, text/json

Sample:
{
  "ex": [
    {
      "n": 1,
      "t": "sample string 2"
    },
    {
      "n": 1,
      "t": "sample string 2"
    }
  ],
  "Debtors": [
    {
      "Number": 1,
      "Name1": "sample string 2",
      "Name2": "sample string 3",
      "Adress": "sample string 4",
      "ZipAndCity": "sample string 5"
    },
    {
      "Number": 1,
      "Name1": "sample string 2",
      "Name2": "sample string 3",
      "Adress": "sample string 4",
      "ZipAndCity": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<DebtorResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ista.web.api.models">
  <Debtors>
    <mDebtor>
      <Adress>sample string 4</Adress>
      <Name1>sample string 2</Name1>
      <Name2>sample string 3</Name2>
      <Number>1</Number>
      <ZipAndCity>sample string 5</ZipAndCity>
    </mDebtor>
    <mDebtor>
      <Adress>sample string 4</Adress>
      <Name1>sample string 2</Name1>
      <Name2>sample string 3</Name2>
      <Number>1</Number>
      <ZipAndCity>sample string 5</ZipAndCity>
    </mDebtor>
  </Debtors>
  <ex>
    <oErr>
      <errNmbr>1</errNmbr>
      <errText>sample string 2</errText>
    </oErr>
    <oErr>
      <errNmbr>1</errNmbr>
      <errText>sample string 2</errText>
    </oErr>
  </ex>
</DebtorResponse>