POST api/sms/ring-central-receive-inbound-message

Request Information

URI Parameters

None.

Body Parameters

RingCentralReceiveInboundMessageRequest
NameDescriptionTypeAdditional information
uuid

string

None.

body

RingCentralBody

Required

Request Formats

application/json, text/json

Sample:
{
  "uuid": "sample string 1",
  "body": {
    "id": "sample string 1",
    "to": [
      {
        "phoneNumber": "sample string 1",
        "extensionNumber": "sample string 2"
      },
      {
        "phoneNumber": "sample string 1",
        "extensionNumber": "sample string 2"
      }
    ],
    "from": {
      "phoneNumber": "sample string 1",
      "extensionNumber": "sample string 2"
    },
    "subject": "sample string 2",
    "attachments": [
      {
        "id": "sample string 1",
        "type": "sample string 2",
        "uri": "sample string 3",
        "contentType": "sample string 4",
        "size": 1
      },
      {
        "id": "sample string 1",
        "type": "sample string 2",
        "uri": "sample string 3",
        "contentType": "sample string 4",
        "size": 1
      }
    ]
  }
}

application/xml, text/xml

Sample:
<RingCentralReceiveInboundMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.OData.SMS">
  <_x003C_Body_x003E_k__BackingField>
    <Attachments>
      <MessageAttachment>
        <ContentType>sample string 4</ContentType>
        <Id>sample string 1</Id>
        <Size>1</Size>
        <Type>sample string 2</Type>
        <Uri>sample string 3</Uri>
      </MessageAttachment>
      <MessageAttachment>
        <ContentType>sample string 4</ContentType>
        <Id>sample string 1</Id>
        <Size>1</Size>
        <Type>sample string 2</Type>
        <Uri>sample string 3</Uri>
      </MessageAttachment>
    </Attachments>
    <From>
      <ExtensionNumber>sample string 2</ExtensionNumber>
      <PhoneNumber>sample string 1</PhoneNumber>
    </From>
    <Id>sample string 1</Id>
    <Subject>sample string 2</Subject>
    <To>
      <UserInfo>
        <ExtensionNumber>sample string 2</ExtensionNumber>
        <PhoneNumber>sample string 1</PhoneNumber>
      </UserInfo>
      <UserInfo>
        <ExtensionNumber>sample string 2</ExtensionNumber>
        <PhoneNumber>sample string 1</PhoneNumber>
      </UserInfo>
    </To>
  </_x003C_Body_x003E_k__BackingField>
  <_x003C_Uuid_x003E_k__BackingField>sample string 1</_x003C_Uuid_x003E_k__BackingField>
</RingCentralReceiveInboundMessageRequest>

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.