POST Email/EmailMessagesAction

Update minimale gegevens van een mailtje.

Request Information

URI Parameters

None.

Body Parameters

EmailMessageUpdate
NameDescriptionTypeAdditional information
EmailIds

Emails die ge-update moeten worden

Collection of integer

Required

EmailBoxId

Verplaats emails naar Emailbox

integer

None.

EmailStatusId

Verander email statussen, Let op! geef null mee om de emailstatussen leeg te maken

integer

None.

IsRead

Verander gelezen statussen

boolean

None.

Action

Geef de actie op

UpdateEmailMessagesAction

Required

Request Formats

application/json, text/json

Sample:
{
  "EmailIds": [
    1,
    2
  ],
  "EmailBoxId": 1,
  "EmailStatusId": 1,
  "IsRead": true,
  "Action": "EmailBox"
}

application/xml, text/xml

Sample:
<EmailMessageUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
  <Action>EmailBox</Action>
  <EmailBoxId>1</EmailBoxId>
  <EmailIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </EmailIds>
  <EmailStatusId>1</EmailStatusId>
  <IsRead>true</IsRead>
</EmailMessageUpdate>

Response Information

Resource Description

Logic4ResponseOfBoolean
NameDescriptionTypeAdditional information
Value

boolean

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": true,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseOfboolean 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>
  <Value>true</Value>
</Logic4ResponseOfboolean>