POST Api/Sms/Outbox/Send

Request Information

URI Parameters

None.

Body Parameters

SmsCreateView
NameDescriptionTypeAdditional information
RelatedTypeCode

string

None.

IsGroup

boolean

None.

RelatedId

integer

None.

Text

string

None.

ReceiverNumber

string

None.

PeriorityLevel

SmsPeriorityLevel

None.

SenderLineNumbers

Collection of SelectListItem

None.

SenderLineNumberId

integer

None.

ProcessStatus

SmsProcessStatus

None.

Request Formats

application/json, text/json

Sample:
{
  "RelatedTypeCode": "sample string 1",
  "IsGroup": true,
  "RelatedId": 3,
  "Text": "sample string 4",
  "ReceiverNumber": "sample string 5",
  "PeriorityLevel": 1,
  "SenderLineNumbers": [
    {
      "Disabled": true,
      "Group": {
        "Disabled": true,
        "Name": "sample string 2"
      },
      "Selected": true,
      "Text": "sample string 3",
      "Value": "sample string 4"
    },
    {
      "Disabled": true,
      "Group": {
        "Disabled": true,
        "Name": "sample string 2"
      },
      "Selected": true,
      "Text": "sample string 3",
      "Value": "sample string 4"
    }
  ],
  "SenderLineNumberId": 6,
  "ProcessStatus": 0
}

application/xml, text/xml

Sample:
<SmsCreateView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.SmsView">
  <IsGroup>true</IsGroup>
  <PeriorityLevel>Critical</PeriorityLevel>
  <ProcessStatus>None</ProcessStatus>
  <ReceiverNumber>sample string 5</ReceiverNumber>
  <RelatedId>3</RelatedId>
  <RelatedTypeCode>sample string 1</RelatedTypeCode>
  <SenderLineNumberId>6</SenderLineNumberId>
  <SenderLineNumbers xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
    <d2p1:SelectListItem>
      <d2p1:Disabled>true</d2p1:Disabled>
      <d2p1:Group>
        <d2p1:Disabled>true</d2p1:Disabled>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Group>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 3</d2p1:Text>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Disabled>true</d2p1:Disabled>
      <d2p1:Group>
        <d2p1:Disabled>true</d2p1:Disabled>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:Group>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 3</d2p1:Text>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:SelectListItem>
  </SenderLineNumbers>
  <Text>sample string 4</Text>
</SmsCreateView>

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.