GET api/JournalizeFlag/SetFlags?internetMessageID={internetMessageID}&OutlookColorName={OutlookColorName}

Sets journalize flags for an email

Request Information

URI Parameters

NameDescriptionTypeAdditional information
internetMessageID

string

Required

OutlookColorName

string

Required

Body Parameters

None.

Response Information

Resource Description

Returns a list with information for mails where a flag has been set

WorkPoint365.WebAPI.Model.SetFlagsResult
NameDescriptionTypeAdditional information
MailInfos

Collection of string

None.

Errors

Collection of string

None.

Warnings

Collection of string

None.

Informations

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "MailInfos": [
    "sample string 1",
    "sample string 2"
  ],
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Warnings": [
    "sample string 1",
    "sample string 2"
  ],
  "Informations": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<SetFlagsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Informations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Informations>
  <MailInfos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </MailInfos>
  <Warnings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Warnings>
</SetFlagsResult>