POST Email/GetEmailBoxes

Verkrijg emailboxen o.b.v. meegestuurde userbearer.

Request Information

URI Parameters

None.

Body Parameters

EmailBoxFilter
NameDescriptionTypeAdditional information
ParentId

Pak de onderliggende emailboxjes

integer

None.

ShowOnlyTopLevelEmailboxes

Laat alleen hoofd emailboxjes zien

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ParentId": 1,
  "ShowOnlyTopLevelEmailboxes": true
}

application/xml, text/xml

Sample:
<EmailBoxFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <ParentId>1</ParentId>
  <ShowOnlyTopLevelEmailboxes>true</ShowOnlyTopLevelEmailboxes>
</EmailBoxFilter>

Response Information

Resource Description

Logic4ResponseListOfEmailBox
NameDescriptionTypeAdditional information
Records

Collection of EmailBox

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "ParentId": 1,
      "UserCanRead": true,
      "UserCanDelete": true,
      "SortId": 5,
      "NewMessages": 6,
      "HasEmails": true
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "ParentId": 1,
      "UserCanRead": true,
      "UserCanDelete": true,
      "SortId": 5,
      "NewMessages": 6,
      "HasEmails": true
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfEmailBoxLnN1pw8Y 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:EmailBox>
      <d2p1:HasEmails>true</d2p1:HasEmails>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:NewMessages>6</d2p1:NewMessages>
      <d2p1:ParentId>1</d2p1:ParentId>
      <d2p1:SortId>5</d2p1:SortId>
      <d2p1:UserCanDelete>true</d2p1:UserCanDelete>
      <d2p1:UserCanRead>true</d2p1:UserCanRead>
    </d2p1:EmailBox>
    <d2p1:EmailBox>
      <d2p1:HasEmails>true</d2p1:HasEmails>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:NewMessages>6</d2p1:NewMessages>
      <d2p1:ParentId>1</d2p1:ParentId>
      <d2p1:SortId>5</d2p1:SortId>
      <d2p1:UserCanDelete>true</d2p1:UserCanDelete>
      <d2p1:UserCanRead>true</d2p1:UserCanRead>
    </d2p1:EmailBox>
  </Records>
</Logic4ResponseListOfEmailBoxLnN1pw8Y>