POST api/normalizer/notifications

Request Information

URI Parameters

None.

Body Parameters

NormalizerNotification_Req
NameDescriptionTypeAdditional information
event

NormalizerEvent

None.

signature

string

None.

Request Formats

application/json, text/json

Sample:
{
  "event": {
    "id": 1,
    "event_type": "sample string 2",
    "created_at": "sample string 3",
    "data": {
      "order_id": "sample string 1",
      "guest": {
        "id": 1,
        "date_of_birth": "sample string 2",
        "email": "sample string 3",
        "name": "sample string 4",
        "nationality": "sample string 5",
        "nationality_identity": "sample string 6",
        "phone_code": "sample string 7",
        "phone_number": "sample string 8"
      },
      "email": "sample string 2",
      "email_content": "sample string 3",
      "confirmation_code": "sample string 4"
    }
  },
  "signature": "sample string 1"
}

application/xml, text/xml

Sample:
<NormalizerNotification_Req xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TEAPI.WebApi.Models.Normalizer">
  <event>
    <created_at>sample string 3</created_at>
    <data>
      <confirmation_code>sample string 4</confirmation_code>
      <email>sample string 2</email>
      <email_content>sample string 3</email_content>
      <guest>
        <date_of_birth>sample string 2</date_of_birth>
        <email>sample string 3</email>
        <id>1</id>
        <name>sample string 4</name>
        <nationality>sample string 5</nationality>
        <nationality_identity>sample string 6</nationality_identity>
        <phone_code>sample string 7</phone_code>
        <phone_number>sample string 8</phone_number>
      </guest>
      <order_id>sample string 1</order_id>
    </data>
    <event_type>sample string 2</event_type>
    <id>1</id>
  </event>
  <signature>sample string 1</signature>
</NormalizerNotification_Req>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NormalizerNotification_Req'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.