POST Relations/GetCreditors

Crediteuren ophalen

Request Information

URI Parameters

None.

Body Parameters

CreditorFilter
NameDescriptionTypeAdditional information
Id

Debiteurnummer/Crediteurnummer

integer

None.

PhoneNumber

Telefoonnummer, er wordt gezocht op de velden telefoonnummer en mobielnummer

string

None.

SkipRecords

Sla x aantal records over

integer

None.

TakeRecords

Return x aantal records

integer

None.

WebsiteDomainId

Website domein nummer

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PhoneNumber": "sample string 1",
  "SkipRecords": 1,
  "TakeRecords": 1,
  "WebsiteDomainId": 1
}

application/xml, text/xml

Sample:
<CreditorFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <Id>1</Id>
  <PhoneNumber>sample string 1</PhoneNumber>
  <SkipRecords>1</SkipRecords>
  <TakeRecords>1</TakeRecords>
  <WebsiteDomainId>1</WebsiteDomainId>
</CreditorFilter>

Response Information

Resource Description

Logic4ResponseListOfCreditor
NameDescriptionTypeAdditional information
Records

Collection of Creditor

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "CompanyName": "sample string 1",
      "EmailAddress": "sample string 2",
      "Faxnumber": "sample string 3",
      "FirstName": "sample string 4",
      "Id": 5,
      "LastName": "sample string 6",
      "MobileNumber": "sample string 7",
      "TelephoneNumber": "sample string 8"
    },
    {
      "CompanyName": "sample string 1",
      "EmailAddress": "sample string 2",
      "Faxnumber": "sample string 3",
      "FirstName": "sample string 4",
      "Id": 5,
      "LastName": "sample string 6",
      "MobileNumber": "sample string 7",
      "TelephoneNumber": "sample string 8"
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfCreditorLnN1pw8Y xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels">
  <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ValidationMessages>
  <Records xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
    <d2p1:Creditor>
      <d2p1:CompanyName>sample string 1</d2p1:CompanyName>
      <d2p1:EmailAddress>sample string 2</d2p1:EmailAddress>
      <d2p1:Faxnumber>sample string 3</d2p1:Faxnumber>
      <d2p1:FirstName>sample string 4</d2p1:FirstName>
      <d2p1:Id>5</d2p1:Id>
      <d2p1:LastName>sample string 6</d2p1:LastName>
      <d2p1:MobileNumber>sample string 7</d2p1:MobileNumber>
      <d2p1:TelephoneNumber>sample string 8</d2p1:TelephoneNumber>
    </d2p1:Creditor>
    <d2p1:Creditor>
      <d2p1:CompanyName>sample string 1</d2p1:CompanyName>
      <d2p1:EmailAddress>sample string 2</d2p1:EmailAddress>
      <d2p1:Faxnumber>sample string 3</d2p1:Faxnumber>
      <d2p1:FirstName>sample string 4</d2p1:FirstName>
      <d2p1:Id>5</d2p1:Id>
      <d2p1:LastName>sample string 6</d2p1:LastName>
      <d2p1:MobileNumber>sample string 7</d2p1:MobileNumber>
      <d2p1:TelephoneNumber>sample string 8</d2p1:TelephoneNumber>
    </d2p1:Creditor>
  </Records>
</Logic4ResponseListOfCreditorLnN1pw8Y>