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>
    <_x003C_Attachments_x003E_k__BackingField>
      <MessageAttachment>
        <_x003C_ContentType_x003E_k__BackingField>sample string 4</_x003C_ContentType_x003E_k__BackingField>
        <_x003C_Id_x003E_k__BackingField>sample string 1</_x003C_Id_x003E_k__BackingField>
        <_x003C_Size_x003E_k__BackingField>1</_x003C_Size_x003E_k__BackingField>
        <_x003C_Type_x003E_k__BackingField>sample string 2</_x003C_Type_x003E_k__BackingField>
        <_x003C_Uri_x003E_k__BackingField>sample string 3</_x003C_Uri_x003E_k__BackingField>
      </MessageAttachment>
      <MessageAttachment>
        <_x003C_ContentType_x003E_k__BackingField>sample string 4</_x003C_ContentType_x003E_k__BackingField>
        <_x003C_Id_x003E_k__BackingField>sample string 1</_x003C_Id_x003E_k__BackingField>
        <_x003C_Size_x003E_k__BackingField>1</_x003C_Size_x003E_k__BackingField>
        <_x003C_Type_x003E_k__BackingField>sample string 2</_x003C_Type_x003E_k__BackingField>
        <_x003C_Uri_x003E_k__BackingField>sample string 3</_x003C_Uri_x003E_k__BackingField>
      </MessageAttachment>
    </_x003C_Attachments_x003E_k__BackingField>
    <_x003C_From_x003E_k__BackingField>
      <_x003C_ExtensionNumber_x003E_k__BackingField>sample string 2</_x003C_ExtensionNumber_x003E_k__BackingField>
      <_x003C_PhoneNumber_x003E_k__BackingField>sample string 1</_x003C_PhoneNumber_x003E_k__BackingField>
    </_x003C_From_x003E_k__BackingField>
    <_x003C_Id_x003E_k__BackingField>sample string 1</_x003C_Id_x003E_k__BackingField>
    <_x003C_Subject_x003E_k__BackingField>sample string 2</_x003C_Subject_x003E_k__BackingField>
    <_x003C_To_x003E_k__BackingField>
      <UserInfo>
        <_x003C_ExtensionNumber_x003E_k__BackingField>sample string 2</_x003C_ExtensionNumber_x003E_k__BackingField>
        <_x003C_PhoneNumber_x003E_k__BackingField>sample string 1</_x003C_PhoneNumber_x003E_k__BackingField>
      </UserInfo>
      <UserInfo>
        <_x003C_ExtensionNumber_x003E_k__BackingField>sample string 2</_x003C_ExtensionNumber_x003E_k__BackingField>
        <_x003C_PhoneNumber_x003E_k__BackingField>sample string 1</_x003C_PhoneNumber_x003E_k__BackingField>
      </UserInfo>
    </_x003C_To_x003E_k__BackingField>
  </_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.