PUT api/Conversation/UpdateInbox

Request Information

URI Parameters

None.

Body Parameters

UpdateInboxRequestVM
NameDescriptionTypeAdditional information
Id

string

None.

ParentAccountId

string

Required

SubAccountId

string

Required

UserId

string

Required

Name

string

Required

Type

ConversationInboxType

None.

AvailableRoutes

Collection of ConversationAvailableRoutesVM

Required

AssignedToUserIds

Collection of string

None.

AssignedToTeamId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "ParentAccountId": "sample string 2",
  "SubAccountId": "sample string 3",
  "UserId": "sample string 4",
  "Name": "sample string 5",
  "Type": "Group",
  "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
    }
  ],
  "AssignedToUserIds": [
    "sample string 1",
    "sample string 2"
  ],
  "AssignedToTeamId": "sample string 6"
}

application/xml, text/xml

Sample:
<UpdateInboxRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.Conversation">
  <AssignedToTeamId>sample string 6</AssignedToTeamId>
  <AssignedToUserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AssignedToUserIds>
  <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>
  <Name>sample string 5</Name>
  <ParentAccountId>sample string 2</ParentAccountId>
  <SubAccountId>sample string 3</SubAccountId>
  <Type>Group</Type>
  <UserId>sample string 4</UserId>
  <Id>sample string 1</Id>
</UpdateInboxRequestVM>

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.