POST api/v1/SetMailSecurities

Request Information

URI Parameters

None.

Body Parameters

SetMailSecuritiesParameter
NameDescriptionTypeAdditional information
MailIDs

Collection of MailID

None.

addSecurityGroups

Collection of SecurityGroup

None.

deleteSecurityGroups

Collection of SecurityGroup

None.

Request Formats

application/json, text/json

Sample:
{
  "MailIDs": [
    {
      "ConversationID": "sample string 1",
      "MessageID": "sample string 2"
    },
    {
      "ConversationID": "sample string 1",
      "MessageID": "sample string 2"
    }
  ],
  "addSecurityGroups": [
    {
      "TeamID": "sample string 1",
      "TeamName": "sample string 2",
      "IsDomainGroup": true
    },
    {
      "TeamID": "sample string 1",
      "TeamName": "sample string 2",
      "IsDomainGroup": true
    }
  ],
  "deleteSecurityGroups": [
    {
      "TeamID": "sample string 1",
      "TeamName": "sample string 2",
      "IsDomainGroup": true
    },
    {
      "TeamID": "sample string 1",
      "TeamName": "sample string 2",
      "IsDomainGroup": true
    }
  ]
}

application/xml, text/xml

Sample:
<SetMailSecuritiesParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model">
  <MailIDs>
    <MailID>
      <ConversationID>sample string 1</ConversationID>
      <MessageID>sample string 2</MessageID>
    </MailID>
    <MailID>
      <ConversationID>sample string 1</ConversationID>
      <MessageID>sample string 2</MessageID>
    </MailID>
  </MailIDs>
  <addSecurityGroups>
    <SecurityGroup>
      <IsDomainGroup>true</IsDomainGroup>
      <TeamID>sample string 1</TeamID>
      <TeamName>sample string 2</TeamName>
    </SecurityGroup>
    <SecurityGroup>
      <IsDomainGroup>true</IsDomainGroup>
      <TeamID>sample string 1</TeamID>
      <TeamName>sample string 2</TeamName>
    </SecurityGroup>
  </addSecurityGroups>
  <deleteSecurityGroups>
    <SecurityGroup>
      <IsDomainGroup>true</IsDomainGroup>
      <TeamID>sample string 1</TeamID>
      <TeamName>sample string 2</TeamName>
    </SecurityGroup>
    <SecurityGroup>
      <IsDomainGroup>true</IsDomainGroup>
      <TeamID>sample string 1</TeamID>
      <TeamName>sample string 2</TeamName>
    </SecurityGroup>
  </deleteSecurityGroups>
</SetMailSecuritiesParameter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>