POST Relations/GetContacts

Verkrijg contactpersonen

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

Logic4ResponseListOfCustomerContact
NameDescriptionTypeAdditional information
Records

Collection of CustomerContact

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "EmailAddress": "sample string 1",
      "FirstName": "sample string 2",
      "Function": "sample string 3",
      "Gender": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Initials": "sample string 4",
      "InsertionName": "sample string 5",
      "LastName": "sample string 6",
      "MobileNumber": "sample string 7",
      "Id": 1,
      "DebtorId": 1,
      "CreditorId": 1,
      "IsMainContact": true,
      "OwnContactNumber": "sample string 9",
      "CountryCode": "sample string 10",
      "IsoCode": "sample string 11",
      "City": "sample string 12",
      "Zipcode": "sample string 13",
      "Street": "sample string 14",
      "HouseNumber": "sample string 15",
      "HouseNumberAddition": "sample string 16",
      "TelephoneNumber": "sample string 17",
      "CountryId": 18,
      "ZoneId": 19
    },
    {
      "EmailAddress": "sample string 1",
      "FirstName": "sample string 2",
      "Function": "sample string 3",
      "Gender": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Initials": "sample string 4",
      "InsertionName": "sample string 5",
      "LastName": "sample string 6",
      "MobileNumber": "sample string 7",
      "Id": 1,
      "DebtorId": 1,
      "CreditorId": 1,
      "IsMainContact": true,
      "OwnContactNumber": "sample string 9",
      "CountryCode": "sample string 10",
      "IsoCode": "sample string 11",
      "City": "sample string 12",
      "Zipcode": "sample string 13",
      "Street": "sample string 14",
      "HouseNumber": "sample string 15",
      "HouseNumberAddition": "sample string 16",
      "TelephoneNumber": "sample string 17",
      "CountryId": 18,
      "ZoneId": 19
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfCustomerContactLnN1pw8Y 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:CustomerContact>
      <d2p1:City>sample string 12</d2p1:City>
      <d2p1:CountryCode>sample string 10</d2p1:CountryCode>
      <d2p1:CountryId>18</d2p1:CountryId>
      <d2p1:HouseNumber>sample string 15</d2p1:HouseNumber>
      <d2p1:HouseNumberAddition>sample string 16</d2p1:HouseNumberAddition>
      <d2p1:IsoCode>sample string 11</d2p1:IsoCode>
      <d2p1:Street>sample string 14</d2p1:Street>
      <d2p1:TelephoneNumber>sample string 17</d2p1:TelephoneNumber>
      <d2p1:Zipcode>sample string 13</d2p1:Zipcode>
      <d2p1:ZoneId>19</d2p1:ZoneId>
      <d2p1:CreditorId>1</d2p1:CreditorId>
      <d2p1:DebtorId>1</d2p1:DebtorId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsMainContact>true</d2p1:IsMainContact>
      <d2p1:OwnContactNumber>sample string 9</d2p1:OwnContactNumber>
      <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
      <d2p1:FirstName>sample string 2</d2p1:FirstName>
      <d2p1:Function>sample string 3</d2p1:Function>
      <d2p1:Gender>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Gender>
      <d2p1:Initials>sample string 4</d2p1:Initials>
      <d2p1:InsertionName>sample string 5</d2p1:InsertionName>
      <d2p1:LastName>sample string 6</d2p1:LastName>
      <d2p1:MobileNumber>sample string 7</d2p1:MobileNumber>
    </d2p1:CustomerContact>
    <d2p1:CustomerContact>
      <d2p1:City>sample string 12</d2p1:City>
      <d2p1:CountryCode>sample string 10</d2p1:CountryCode>
      <d2p1:CountryId>18</d2p1:CountryId>
      <d2p1:HouseNumber>sample string 15</d2p1:HouseNumber>
      <d2p1:HouseNumberAddition>sample string 16</d2p1:HouseNumberAddition>
      <d2p1:IsoCode>sample string 11</d2p1:IsoCode>
      <d2p1:Street>sample string 14</d2p1:Street>
      <d2p1:TelephoneNumber>sample string 17</d2p1:TelephoneNumber>
      <d2p1:Zipcode>sample string 13</d2p1:Zipcode>
      <d2p1:ZoneId>19</d2p1:ZoneId>
      <d2p1:CreditorId>1</d2p1:CreditorId>
      <d2p1:DebtorId>1</d2p1:DebtorId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsMainContact>true</d2p1:IsMainContact>
      <d2p1:OwnContactNumber>sample string 9</d2p1:OwnContactNumber>
      <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
      <d2p1:FirstName>sample string 2</d2p1:FirstName>
      <d2p1:Function>sample string 3</d2p1:Function>
      <d2p1:Gender>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Gender>
      <d2p1:Initials>sample string 4</d2p1:Initials>
      <d2p1:InsertionName>sample string 5</d2p1:InsertionName>
      <d2p1:LastName>sample string 6</d2p1:LastName>
      <d2p1:MobileNumber>sample string 7</d2p1:MobileNumber>
    </d2p1:CustomerContact>
  </Records>
</Logic4ResponseListOfCustomerContactLnN1pw8Y>