POST v1/SendgridEvent/Search

Documentation for 'Search'.

Request Information

Parameters

NameDescriptionAdditional information
model
Documentation for 'model'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
Click to beautify!
{
  "SendgridEmailId": "sample string 1",
  "ToEmail": "sample string 2"
}

application/xml, text/xml

Sample:
Click to beautify!
<SearchSendgridEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Post">
  <SendgridEmailId>sample string 1</SendgridEmailId>
  <ToEmail>sample string 2</ToEmail>
</SearchSendgridEvent>

application/x-www-form-urlencoded

Sample:
Click to beautify!

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
Click to beautify!
[
  {
    "id": 1,
    "sendgridEmailId": "sample string 1",
    "event": "sample string 2",
    "reason": "sample string 3",
    "response": "sample string 4",
    "attempt": 1,
    "sendgridTimestamp": "2024-05-03T10:13:38.6350234+00:00",
    "createdTimestamp": "2024-05-03T10:13:38.6350234+00:00"
  },
  {
    "id": 1,
    "sendgridEmailId": "sample string 1",
    "event": "sample string 2",
    "reason": "sample string 3",
    "response": "sample string 4",
    "attempt": 1,
    "sendgridTimestamp": "2024-05-03T10:13:38.6350234+00:00",
    "createdTimestamp": "2024-05-03T10:13:38.6350234+00:00"
  },
  {
    "id": 1,
    "sendgridEmailId": "sample string 1",
    "event": "sample string 2",
    "reason": "sample string 3",
    "response": "sample string 4",
    "attempt": 1,
    "sendgridTimestamp": "2024-05-03T10:13:38.6350234+00:00",
    "createdTimestamp": "2024-05-03T10:13:38.6350234+00:00"
  }
]

application/xml, text/xml

Sample:
Click to beautify!
<ArrayOfSendgridEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Get">
  <SendgridEvent>
    <Attempt>1</Attempt>
    <CreatedTimestamp>2024-05-03T10:13:38.6350234+00:00</CreatedTimestamp>
    <Event>sample string 2</Event>
    <Id>1</Id>
    <Reason>sample string 3</Reason>
    <Response>sample string 4</Response>
    <SendgridEmailId>sample string 1</SendgridEmailId>
    <SendgridTimestamp>2024-05-03T10:13:38.6350234+00:00</SendgridTimestamp>
  </SendgridEvent>
  <SendgridEvent>
    <Attempt>1</Attempt>
    <CreatedTimestamp>2024-05-03T10:13:38.6350234+00:00</CreatedTimestamp>
    <Event>sample string 2</Event>
    <Id>1</Id>
    <Reason>sample string 3</Reason>
    <Response>sample string 4</Response>
    <SendgridEmailId>sample string 1</SendgridEmailId>
    <SendgridTimestamp>2024-05-03T10:13:38.6350234+00:00</SendgridTimestamp>
  </SendgridEvent>
  <SendgridEvent>
    <Attempt>1</Attempt>
    <CreatedTimestamp>2024-05-03T10:13:38.6350234+00:00</CreatedTimestamp>
    <Event>sample string 2</Event>
    <Id>1</Id>
    <Reason>sample string 3</Reason>
    <Response>sample string 4</Response>
    <SendgridEmailId>sample string 1</SendgridEmailId>
    <SendgridTimestamp>2024-05-03T10:13:38.6350234+00:00</SendgridTimestamp>
  </SendgridEvent>
</ArrayOfSendgridEvent>