PUT api/EmailIntegrations/UpdateEmailRouteSettings

Request Information

URI Parameters

None.

Body Parameters

UpdateEmailRoutingSettingsRequestVM
NameDescriptionTypeAdditional information
IsViaAdmin

boolean

None.

AdminUserId

string

None.

UserId

string

None.

ParentAccountId

string

Required

SubAccountId

string

Required

PersonalEmailSendingSettings

Collection of EmailSendingLimitRequest

None.

BulkEmailSendingSettings

Collection of EmailSendingLimitRequest

None.

Request Formats

application/json, text/json

Sample:
{
  "IsViaAdmin": true,
  "AdminUserId": "sample string 2",
  "UserId": "sample string 3",
  "ParentAccountId": "sample string 4",
  "SubAccountId": "sample string 5",
  "PersonalEmailSendingSettings": [
    {
      "IntegrationId": "sample string 1",
      "EmailDomainId": "sample string 2",
      "MaxSendLimit": 3,
      "DelayTime": 4,
      "SubAccountIds": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "IntegrationId": "sample string 1",
      "EmailDomainId": "sample string 2",
      "MaxSendLimit": 3,
      "DelayTime": 4,
      "SubAccountIds": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "BulkEmailSendingSettings": [
    {
      "IntegrationId": "sample string 1",
      "EmailDomainId": "sample string 2",
      "MaxSendLimit": 3,
      "DelayTime": 4,
      "SubAccountIds": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "IntegrationId": "sample string 1",
      "EmailDomainId": "sample string 2",
      "MaxSendLimit": 3,
      "DelayTime": 4,
      "SubAccountIds": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<UpdateEmailRoutingSettingsRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.EmailIntegrationModels">
  <AdminUserId>sample string 2</AdminUserId>
  <BulkEmailSendingSettings>
    <EmailSendingLimitRequest>
      <DelayTime>4</DelayTime>
      <EmailDomainId>sample string 2</EmailDomainId>
      <IntegrationId>sample string 1</IntegrationId>
      <MaxSendLimit>3</MaxSendLimit>
      <SubAccountIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </SubAccountIds>
    </EmailSendingLimitRequest>
    <EmailSendingLimitRequest>
      <DelayTime>4</DelayTime>
      <EmailDomainId>sample string 2</EmailDomainId>
      <IntegrationId>sample string 1</IntegrationId>
      <MaxSendLimit>3</MaxSendLimit>
      <SubAccountIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </SubAccountIds>
    </EmailSendingLimitRequest>
  </BulkEmailSendingSettings>
  <IsViaAdmin>true</IsViaAdmin>
  <ParentAccountId>sample string 4</ParentAccountId>
  <PersonalEmailSendingSettings>
    <EmailSendingLimitRequest>
      <DelayTime>4</DelayTime>
      <EmailDomainId>sample string 2</EmailDomainId>
      <IntegrationId>sample string 1</IntegrationId>
      <MaxSendLimit>3</MaxSendLimit>
      <SubAccountIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </SubAccountIds>
    </EmailSendingLimitRequest>
    <EmailSendingLimitRequest>
      <DelayTime>4</DelayTime>
      <EmailDomainId>sample string 2</EmailDomainId>
      <IntegrationId>sample string 1</IntegrationId>
      <MaxSendLimit>3</MaxSendLimit>
      <SubAccountIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </SubAccountIds>
    </EmailSendingLimitRequest>
  </PersonalEmailSendingSettings>
  <SubAccountId>sample string 5</SubAccountId>
  <UserId>sample string 3</UserId>
</UpdateEmailRoutingSettingsRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.