POST api/v1/MailSecurityGroupCollections

Request Information

URI Parameters

None.

Body Parameters

MailIDsParameter
NameDescriptionTypeAdditional information
MailIDs

Collection of MailID

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"
    }
  ]
}

application/xml, text/xml

Sample:
<MailIDsParameter 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>
</MailIDsParameter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of MailSecurityGroupCollection
NameDescriptionTypeAdditional information
MailID

MailID

None.

SecurityGroups

Collection of SecurityGroup

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MailID": {
      "ConversationID": "sample string 1",
      "MessageID": "sample string 2"
    },
    "SecurityGroups": [
      {
        "TeamID": "sample string 1",
        "TeamName": "sample string 2",
        "IsDomainGroup": true
      },
      {
        "TeamID": "sample string 1",
        "TeamName": "sample string 2",
        "IsDomainGroup": true
      }
    ]
  },
  {
    "MailID": {
      "ConversationID": "sample string 1",
      "MessageID": "sample string 2"
    },
    "SecurityGroups": [
      {
        "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:
<ArrayOfMailSecurityGroupCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model">
  <MailSecurityGroupCollection>
    <MailID>
      <ConversationID>sample string 1</ConversationID>
      <MessageID>sample string 2</MessageID>
    </MailID>
    <SecurityGroups>
      <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>
    </SecurityGroups>
  </MailSecurityGroupCollection>
  <MailSecurityGroupCollection>
    <MailID>
      <ConversationID>sample string 1</ConversationID>
      <MessageID>sample string 2</MessageID>
    </MailID>
    <SecurityGroups>
      <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>
    </SecurityGroups>
  </MailSecurityGroupCollection>
</ArrayOfMailSecurityGroupCollection>