POST Relations/GetAddresses

Verkrijg adressen

Request Information

URI Parameters

None.

Body Parameters

CustomerContactAddressFilter
NameDescriptionTypeAdditional information
Id

Nummer

integer

None.

AddressTypeId

AdrestypeId

integer

None.

PhoneNumber

Telefoonnummer, er wordt gezocht op de velden telefoonnummer en mobielnummer

string

None.

DebtorId

Debiteurnummer

integer

None.

CreditorId

Crediteurnummer

integer

None.

SkipRecords

Sla x aantal records over

integer

None.

TakeRecords

Return x aantal records

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AddressTypeId": 1,
  "PhoneNumber": "sample string 1",
  "DebtorId": 1,
  "CreditorId": 1,
  "SkipRecords": 1,
  "TakeRecords": 1
}

application/xml, text/xml

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

Response Information

Resource Description

Logic4ResponseListOfCustomerAddress
NameDescriptionTypeAdditional information
Records

Collection of CustomerAddress

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "Type": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Province": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Email": "sample string 1",
      "ContactName": "sample string 2",
      "CompanyName": "sample string 3",
      "Address2": "sample string 4",
      "Id": 1,
      "DebtorId": 1,
      "CreditorId": 1,
      "IsMainContact": true,
      "CountryCode": "sample string 6",
      "IsoCode": "sample string 7",
      "City": "sample string 8",
      "Zipcode": "sample string 9",
      "Street": "sample string 10",
      "HouseNumber": "sample string 11",
      "HouseNumberAddition": "sample string 12",
      "TelephoneNumber": "sample string 13",
      "CountryId": 14,
      "ZoneId": 15
    },
    {
      "Type": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Province": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Email": "sample string 1",
      "ContactName": "sample string 2",
      "CompanyName": "sample string 3",
      "Address2": "sample string 4",
      "Id": 1,
      "DebtorId": 1,
      "CreditorId": 1,
      "IsMainContact": true,
      "CountryCode": "sample string 6",
      "IsoCode": "sample string 7",
      "City": "sample string 8",
      "Zipcode": "sample string 9",
      "Street": "sample string 10",
      "HouseNumber": "sample string 11",
      "HouseNumberAddition": "sample string 12",
      "TelephoneNumber": "sample string 13",
      "CountryId": 14,
      "ZoneId": 15
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfCustomerAddressLnN1pw8Y 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:CustomerAddress>
      <d2p1:City>sample string 8</d2p1:City>
      <d2p1:CountryCode>sample string 6</d2p1:CountryCode>
      <d2p1:CountryId>14</d2p1:CountryId>
      <d2p1:HouseNumber>sample string 11</d2p1:HouseNumber>
      <d2p1:HouseNumberAddition>sample string 12</d2p1:HouseNumberAddition>
      <d2p1:IsoCode>sample string 7</d2p1:IsoCode>
      <d2p1:Street>sample string 10</d2p1:Street>
      <d2p1:TelephoneNumber>sample string 13</d2p1:TelephoneNumber>
      <d2p1:Zipcode>sample string 9</d2p1:Zipcode>
      <d2p1:ZoneId>15</d2p1:ZoneId>
      <d2p1:CreditorId>1</d2p1:CreditorId>
      <d2p1:DebtorId>1</d2p1:DebtorId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsMainContact>true</d2p1:IsMainContact>
      <d2p1:Address2>sample string 4</d2p1:Address2>
      <d2p1:CompanyName>sample string 3</d2p1:CompanyName>
      <d2p1:ContactName>sample string 2</d2p1:ContactName>
      <d2p1:Email>sample string 1</d2p1:Email>
      <d2p1:Province>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Province>
      <d2p1:Type>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Type>
    </d2p1:CustomerAddress>
    <d2p1:CustomerAddress>
      <d2p1:City>sample string 8</d2p1:City>
      <d2p1:CountryCode>sample string 6</d2p1:CountryCode>
      <d2p1:CountryId>14</d2p1:CountryId>
      <d2p1:HouseNumber>sample string 11</d2p1:HouseNumber>
      <d2p1:HouseNumberAddition>sample string 12</d2p1:HouseNumberAddition>
      <d2p1:IsoCode>sample string 7</d2p1:IsoCode>
      <d2p1:Street>sample string 10</d2p1:Street>
      <d2p1:TelephoneNumber>sample string 13</d2p1:TelephoneNumber>
      <d2p1:Zipcode>sample string 9</d2p1:Zipcode>
      <d2p1:ZoneId>15</d2p1:ZoneId>
      <d2p1:CreditorId>1</d2p1:CreditorId>
      <d2p1:DebtorId>1</d2p1:DebtorId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsMainContact>true</d2p1:IsMainContact>
      <d2p1:Address2>sample string 4</d2p1:Address2>
      <d2p1:CompanyName>sample string 3</d2p1:CompanyName>
      <d2p1:ContactName>sample string 2</d2p1:ContactName>
      <d2p1:Email>sample string 1</d2p1:Email>
      <d2p1:Province>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Province>
      <d2p1:Type>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Type>
    </d2p1:CustomerAddress>
  </Records>
</Logic4ResponseListOfCustomerAddressLnN1pw8Y>