POST api/Conversation/CreateInbox
Request Information
URI Parameters
None.
Body Parameters
CreateInboxRequestVMName | Description | Type | Additional information |
---|---|---|---|
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:
{ "ParentAccountId": "sample string 1", "SubAccountId": "sample string 2", "UserId": "sample string 3", "Name": "sample string 4", "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 5" }
application/xml, text/xml
Sample:
<CreateInboxRequestVM 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 5</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 4</Name> <ParentAccountId>sample string 1</ParentAccountId> <SubAccountId>sample string 2</SubAccountId> <Type>Group</Type> <UserId>sample string 3</UserId> </CreateInboxRequestVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.