POST api/CommunicationRoutes/CheckImpactedItemsOnRouteChangeOrRemoved

Request Information

URI Parameters

None.

Body Parameters

CheckRouteChangeImpactRequestVM
NameDescriptionTypeAdditional information
UserId

string

None.

AccountIds

Collection of string

Required

RemovedInboundNumberDetails

Collection of RouteNumberAddedOrChangedRequestVM

None.

AddedInboundNumberDetails

Collection of RouteNumberAddedOrChangedRequestVM

None.

RemovedOutboundNumberDetails

Collection of RouteNumberAddedOrChangedRequestVM

None.

AdminUserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "AccountIds": [
    "sample string 1",
    "sample string 2"
  ],
  "RemovedInboundNumberDetails": [
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    },
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    }
  ],
  "AddedInboundNumberDetails": [
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    },
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    }
  ],
  "RemovedOutboundNumberDetails": [
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    },
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    }
  ],
  "AdminUserId": "sample string 2"
}

application/xml, text/xml

Sample:
<CheckRouteChangeImpactRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CommunicationRoutesAndGateway">
  <AccountIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AccountIds>
  <AddedInboundNumberDetails>
    <RouteNumberAddedOrChangedRequestVM>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </RouteNumberAddedOrChangedRequestVM>
    <RouteNumberAddedOrChangedRequestVM>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </RouteNumberAddedOrChangedRequestVM>
  </AddedInboundNumberDetails>
  <AdminUserId>sample string 2</AdminUserId>
  <RemovedInboundNumberDetails>
    <RouteNumberAddedOrChangedRequestVM>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </RouteNumberAddedOrChangedRequestVM>
    <RouteNumberAddedOrChangedRequestVM>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </RouteNumberAddedOrChangedRequestVM>
  </RemovedInboundNumberDetails>
  <RemovedOutboundNumberDetails>
    <RouteNumberAddedOrChangedRequestVM>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </RouteNumberAddedOrChangedRequestVM>
    <RouteNumberAddedOrChangedRequestVM>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </RouteNumberAddedOrChangedRequestVM>
  </RemovedOutboundNumberDetails>
  <UserId>sample string 1</UserId>
</CheckRouteChangeImpactRequestVM>

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.