POST Relations/GetCustomers

Debiteur

Request Information

URI Parameters

None.

Body Parameters

CustomerFilter
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:
<CustomerFilter 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>
</CustomerFilter>

Response Information

Resource Description

Logic4ResponseListOfCustomer
NameDescriptionTypeAdditional information
Records

Collection of Customer

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "Id": 1,
      "IsoCode": "sample string 3",
      "CountryCode": "sample string 4",
      "CountryId": 5,
      "CompanyName": "sample string 6",
      "FirstName": "sample string 7",
      "LastName": "sample string 8",
      "EmailAddress": "sample string 9",
      "PaymentMethodId": 1,
      "PricelistIds": [
        1,
        2
      ],
      "VatCode": {
        "Id": 1,
        "Percent": 2.0,
        "Name": "sample string 3"
      },
      "TelephoneNumber": "sample string 10",
      "MobileNumber": "sample string 11",
      "Faxnumber": "sample string 12",
      "ChamberOfCommerceCode": "sample string 13",
      "Website": "sample string 14",
      "Status": {
        "Id": 1,
        "Description": "sample string 2"
      },
      "Hide": true,
      "Discount": 1.0,
      "Representative": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Type": {
        "Id": 1,
        "Description": "sample string 2"
      },
      "StandardReportIdForPickingList": 1,
      "StandardReportIdForSalesOrderDelivery": 1,
      "City": "sample string 16",
      "Zipcode": "sample string 17",
      "Street": "sample string 18",
      "HouseNumber": "sample string 19",
      "HouseNumberAddition": "sample string 20",
      "VatNumber": "sample string 21",
      "DontPrintPaperInvoiceForDebtor": true,
      "ReceiveInvoiceElectronically": true,
      "ElectronicInvoiceAttachmentType": 1,
      "StandardInvoiceLayoutReportId": 1,
      "FreeValue1": "sample string 24",
      "FreeValue2": "sample string 25",
      "FreeValue3": "sample string 26",
      "Gender": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Preposition": "sample string 27"
    },
    {
      "Id": 1,
      "IsoCode": "sample string 3",
      "CountryCode": "sample string 4",
      "CountryId": 5,
      "CompanyName": "sample string 6",
      "FirstName": "sample string 7",
      "LastName": "sample string 8",
      "EmailAddress": "sample string 9",
      "PaymentMethodId": 1,
      "PricelistIds": [
        1,
        2
      ],
      "VatCode": {
        "Id": 1,
        "Percent": 2.0,
        "Name": "sample string 3"
      },
      "TelephoneNumber": "sample string 10",
      "MobileNumber": "sample string 11",
      "Faxnumber": "sample string 12",
      "ChamberOfCommerceCode": "sample string 13",
      "Website": "sample string 14",
      "Status": {
        "Id": 1,
        "Description": "sample string 2"
      },
      "Hide": true,
      "Discount": 1.0,
      "Representative": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Type": {
        "Id": 1,
        "Description": "sample string 2"
      },
      "StandardReportIdForPickingList": 1,
      "StandardReportIdForSalesOrderDelivery": 1,
      "City": "sample string 16",
      "Zipcode": "sample string 17",
      "Street": "sample string 18",
      "HouseNumber": "sample string 19",
      "HouseNumberAddition": "sample string 20",
      "VatNumber": "sample string 21",
      "DontPrintPaperInvoiceForDebtor": true,
      "ReceiveInvoiceElectronically": true,
      "ElectronicInvoiceAttachmentType": 1,
      "StandardInvoiceLayoutReportId": 1,
      "FreeValue1": "sample string 24",
      "FreeValue2": "sample string 25",
      "FreeValue3": "sample string 26",
      "Gender": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Preposition": "sample string 27"
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfCustomerLnN1pw8Y 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:Customer>
      <d2p1:ChamberOfCommerceCode>sample string 13</d2p1:ChamberOfCommerceCode>
      <d2p1:City>sample string 16</d2p1:City>
      <d2p1:CompanyName>sample string 6</d2p1:CompanyName>
      <d2p1:CountryCode>sample string 4</d2p1:CountryCode>
      <d2p1:CountryId>5</d2p1:CountryId>
      <d2p1:Discount>1</d2p1:Discount>
      <d2p1:DontPrintPaperInvoiceForDebtor>true</d2p1:DontPrintPaperInvoiceForDebtor>
      <d2p1:ElectronicInvoiceAttachmentType>1</d2p1:ElectronicInvoiceAttachmentType>
      <d2p1:EmailAddress>sample string 9</d2p1:EmailAddress>
      <d2p1:Faxnumber>sample string 12</d2p1:Faxnumber>
      <d2p1:FirstName>sample string 7</d2p1:FirstName>
      <d2p1:FreeValue1>sample string 24</d2p1:FreeValue1>
      <d2p1:FreeValue2>sample string 25</d2p1:FreeValue2>
      <d2p1:FreeValue3>sample string 26</d2p1:FreeValue3>
      <d2p1:Gender>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Gender>
      <d2p1:Hide>true</d2p1:Hide>
      <d2p1:HouseNumber>sample string 19</d2p1:HouseNumber>
      <d2p1:HouseNumberAddition>sample string 20</d2p1:HouseNumberAddition>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsoCode>sample string 3</d2p1:IsoCode>
      <d2p1:LastName>sample string 8</d2p1:LastName>
      <d2p1:MobileNumber>sample string 11</d2p1:MobileNumber>
      <d2p1:PaymentMethodId>1</d2p1:PaymentMethodId>
      <d2p1:Preposition>sample string 27</d2p1:Preposition>
      <d2p1:PricelistIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:PricelistIds>
      <d2p1:ReceiveInvoiceElectronically>true</d2p1:ReceiveInvoiceElectronically>
      <d2p1:Representative>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Representative>
      <d2p1:StandardInvoiceLayoutReportId>1</d2p1:StandardInvoiceLayoutReportId>
      <d2p1:StandardReportIdForPickingList>1</d2p1:StandardReportIdForPickingList>
      <d2p1:StandardReportIdForSalesOrderDelivery>1</d2p1:StandardReportIdForSalesOrderDelivery>
      <d2p1:Status>
        <d2p1:Description>sample string 2</d2p1:Description>
        <d2p1:Id>1</d2p1:Id>
      </d2p1:Status>
      <d2p1:Street>sample string 18</d2p1:Street>
      <d2p1:TelephoneNumber>sample string 10</d2p1:TelephoneNumber>
      <d2p1:Type>
        <d2p1:Description>sample string 2</d2p1:Description>
        <d2p1:Id>1</d2p1:Id>
      </d2p1:Type>
      <d2p1:VatCode>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 3</d2p1:Name>
        <d2p1:Percent>2</d2p1:Percent>
      </d2p1:VatCode>
      <d2p1:VatNumber>sample string 21</d2p1:VatNumber>
      <d2p1:Website>sample string 14</d2p1:Website>
      <d2p1:Zipcode>sample string 17</d2p1:Zipcode>
    </d2p1:Customer>
    <d2p1:Customer>
      <d2p1:ChamberOfCommerceCode>sample string 13</d2p1:ChamberOfCommerceCode>
      <d2p1:City>sample string 16</d2p1:City>
      <d2p1:CompanyName>sample string 6</d2p1:CompanyName>
      <d2p1:CountryCode>sample string 4</d2p1:CountryCode>
      <d2p1:CountryId>5</d2p1:CountryId>
      <d2p1:Discount>1</d2p1:Discount>
      <d2p1:DontPrintPaperInvoiceForDebtor>true</d2p1:DontPrintPaperInvoiceForDebtor>
      <d2p1:ElectronicInvoiceAttachmentType>1</d2p1:ElectronicInvoiceAttachmentType>
      <d2p1:EmailAddress>sample string 9</d2p1:EmailAddress>
      <d2p1:Faxnumber>sample string 12</d2p1:Faxnumber>
      <d2p1:FirstName>sample string 7</d2p1:FirstName>
      <d2p1:FreeValue1>sample string 24</d2p1:FreeValue1>
      <d2p1:FreeValue2>sample string 25</d2p1:FreeValue2>
      <d2p1:FreeValue3>sample string 26</d2p1:FreeValue3>
      <d2p1:Gender>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Gender>
      <d2p1:Hide>true</d2p1:Hide>
      <d2p1:HouseNumber>sample string 19</d2p1:HouseNumber>
      <d2p1:HouseNumberAddition>sample string 20</d2p1:HouseNumberAddition>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsoCode>sample string 3</d2p1:IsoCode>
      <d2p1:LastName>sample string 8</d2p1:LastName>
      <d2p1:MobileNumber>sample string 11</d2p1:MobileNumber>
      <d2p1:PaymentMethodId>1</d2p1:PaymentMethodId>
      <d2p1:Preposition>sample string 27</d2p1:Preposition>
      <d2p1:PricelistIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:PricelistIds>
      <d2p1:ReceiveInvoiceElectronically>true</d2p1:ReceiveInvoiceElectronically>
      <d2p1:Representative>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Representative>
      <d2p1:StandardInvoiceLayoutReportId>1</d2p1:StandardInvoiceLayoutReportId>
      <d2p1:StandardReportIdForPickingList>1</d2p1:StandardReportIdForPickingList>
      <d2p1:StandardReportIdForSalesOrderDelivery>1</d2p1:StandardReportIdForSalesOrderDelivery>
      <d2p1:Status>
        <d2p1:Description>sample string 2</d2p1:Description>
        <d2p1:Id>1</d2p1:Id>
      </d2p1:Status>
      <d2p1:Street>sample string 18</d2p1:Street>
      <d2p1:TelephoneNumber>sample string 10</d2p1:TelephoneNumber>
      <d2p1:Type>
        <d2p1:Description>sample string 2</d2p1:Description>
        <d2p1:Id>1</d2p1:Id>
      </d2p1:Type>
      <d2p1:VatCode>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 3</d2p1:Name>
        <d2p1:Percent>2</d2p1:Percent>
      </d2p1:VatCode>
      <d2p1:VatNumber>sample string 21</d2p1:VatNumber>
      <d2p1:Website>sample string 14</d2p1:Website>
      <d2p1:Zipcode>sample string 17</d2p1:Zipcode>
    </d2p1:Customer>
  </Records>
</Logic4ResponseListOfCustomerLnN1pw8Y>