POST api/ExternalLineApi

Request Information

URI Parameters

None.

Body Parameters

LineWebhookData
NameDescriptionTypeAdditional information
destination

string

None.

events

Collection of EventData

None.

Request Formats

application/json, text/json

Sample:
{
  "destination": "sample string 1",
  "events": [
    {
      "type": "sample string 1",
      "message": {
        "type": "sample string 1",
        "id": "sample string 2",
        "quoteToken": "sample string 3",
        "text": "sample string 4"
      },
      "webhookEventId": "sample string 2",
      "deliveryContext": {
        "isRedelivery": true
      },
      "timestamp": 3,
      "source": {
        "type": "sample string 1",
        "groupId": "sample string 2",
        "userId": "sample string 3"
      },
      "replyToken": "sample string 4",
      "mode": "sample string 5"
    },
    {
      "type": "sample string 1",
      "message": {
        "type": "sample string 1",
        "id": "sample string 2",
        "quoteToken": "sample string 3",
        "text": "sample string 4"
      },
      "webhookEventId": "sample string 2",
      "deliveryContext": {
        "isRedelivery": true
      },
      "timestamp": 3,
      "source": {
        "type": "sample string 1",
        "groupId": "sample string 2",
        "userId": "sample string 3"
      },
      "replyToken": "sample string 4",
      "mode": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<LineWebhookData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apideeliveproperty.Models">
  <destination>sample string 1</destination>
  <events>
    <EventData>
      <deliveryContext>
        <isRedelivery>true</isRedelivery>
      </deliveryContext>
      <message>
        <id>sample string 2</id>
        <quoteToken>sample string 3</quoteToken>
        <text>sample string 4</text>
        <type>sample string 1</type>
      </message>
      <mode>sample string 5</mode>
      <replyToken>sample string 4</replyToken>
      <source>
        <groupId>sample string 2</groupId>
        <type>sample string 1</type>
        <userId>sample string 3</userId>
      </source>
      <timestamp>3</timestamp>
      <type>sample string 1</type>
      <webhookEventId>sample string 2</webhookEventId>
    </EventData>
    <EventData>
      <deliveryContext>
        <isRedelivery>true</isRedelivery>
      </deliveryContext>
      <message>
        <id>sample string 2</id>
        <quoteToken>sample string 3</quoteToken>
        <text>sample string 4</text>
        <type>sample string 1</type>
      </message>
      <mode>sample string 5</mode>
      <replyToken>sample string 4</replyToken>
      <source>
        <groupId>sample string 2</groupId>
        <type>sample string 1</type>
        <userId>sample string 3</userId>
      </source>
      <timestamp>3</timestamp>
      <type>sample string 1</type>
      <webhookEventId>sample string 2</webhookEventId>
    </EventData>
  </events>
</LineWebhookData>

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.