POST api/Conversation/CheckRouteChangesImpactOnScheduledMessages

Request Information

URI Parameters

None.

Body Parameters

CheckInboxRouteChangeAffectRequestVM
NameDescriptionTypeAdditional information
InboxId

string

Required

AvailableRoutes

Collection of ConversationAvailableRoutesVM

Required

Request Formats

application/json, text/json

Sample:
{
  "InboxId": "sample string 1",
  "AvailableRoutes": [
    {
      "Route": "Text",
      "TextRouting": {
        "RouteId": "sample string 1",
        "NumberId": "sample string 2",
        "CountryId": "sample string 3",
        "FullNumber": "sample string 4",
        "CountryCode": "sample string 5"
      },
      "EmailRouting": {
        "IntegrationId": "sample string 1",
        "Email": "sample string 2"
      },
      "HasScheduledMessages": true
    },
    {
      "Route": "Text",
      "TextRouting": {
        "RouteId": "sample string 1",
        "NumberId": "sample string 2",
        "CountryId": "sample string 3",
        "FullNumber": "sample string 4",
        "CountryCode": "sample string 5"
      },
      "EmailRouting": {
        "IntegrationId": "sample string 1",
        "Email": "sample string 2"
      },
      "HasScheduledMessages": true
    }
  ]
}

application/xml, text/xml

Sample:
<CheckInboxRouteChangeAffectRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.Conversation">
  <AvailableRoutes xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.DTO_Models.Conversation">
    <d2p1:ConversationAvailableRoutesVM>
      <d2p1:EmailRouting>
        <d2p1:Email>sample string 2</d2p1:Email>
        <d2p1:IntegrationId>sample string 1</d2p1:IntegrationId>
      </d2p1:EmailRouting>
      <d2p1:HasScheduledMessages>true</d2p1:HasScheduledMessages>
      <d2p1:Route>Text</d2p1:Route>
      <d2p1:TextRouting>
        <d2p1:CountryCode>sample string 5</d2p1:CountryCode>
        <d2p1:CountryId>sample string 3</d2p1:CountryId>
        <d2p1:FullNumber>sample string 4</d2p1:FullNumber>
        <d2p1:NumberId>sample string 2</d2p1:NumberId>
        <d2p1:RouteId>sample string 1</d2p1:RouteId>
      </d2p1:TextRouting>
    </d2p1:ConversationAvailableRoutesVM>
    <d2p1:ConversationAvailableRoutesVM>
      <d2p1:EmailRouting>
        <d2p1:Email>sample string 2</d2p1:Email>
        <d2p1:IntegrationId>sample string 1</d2p1:IntegrationId>
      </d2p1:EmailRouting>
      <d2p1:HasScheduledMessages>true</d2p1:HasScheduledMessages>
      <d2p1:Route>Text</d2p1:Route>
      <d2p1:TextRouting>
        <d2p1:CountryCode>sample string 5</d2p1:CountryCode>
        <d2p1:CountryId>sample string 3</d2p1:CountryId>
        <d2p1:FullNumber>sample string 4</d2p1:FullNumber>
        <d2p1:NumberId>sample string 2</d2p1:NumberId>
        <d2p1:RouteId>sample string 1</d2p1:RouteId>
      </d2p1:TextRouting>
    </d2p1:ConversationAvailableRoutesVM>
  </AvailableRoutes>
  <InboxId>sample string 1</InboxId>
</CheckInboxRouteChangeAffectRequestVM>

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.