GET api/NYMCARDService/GetListOfWebhooks

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

BaseResponseOfListOfWebhook
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Data

Collection of Webhook

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Data": [
    {
      "endpoint": "sample string 1",
      "id": "sample string 2",
      "active": true,
      "events": [
        "sample string 1",
        "sample string 2"
      ],
      "config": {
        "basic_auth_username": "sample string 1",
        "basic_auth_password": "sample string 2",
        "custom_headers": [
          {
            "header_name": "sample string 1",
            "header_value": "sample string 2"
          },
          {
            "header_name": "sample string 1",
            "header_value": "sample string 2"
          }
        ],
        "created": "2024-09-19T04:21:43.3461838+00:00",
        "modified": "2024-09-19T04:21:43.3461838+00:00"
      },
      "created": "2024-09-19T04:21:43.3461838+00:00",
      "modified": "2024-09-19T04:21:43.3461838+00:00"
    },
    {
      "endpoint": "sample string 1",
      "id": "sample string 2",
      "active": true,
      "events": [
        "sample string 1",
        "sample string 2"
      ],
      "config": {
        "basic_auth_username": "sample string 1",
        "basic_auth_password": "sample string 2",
        "custom_headers": [
          {
            "header_name": "sample string 1",
            "header_value": "sample string 2"
          },
          {
            "header_name": "sample string 1",
            "header_value": "sample string 2"
          }
        ],
        "created": "2024-09-19T04:21:43.3461838+00:00",
        "modified": "2024-09-19T04:21:43.3461838+00:00"
      },
      "created": "2024-09-19T04:21:43.3461838+00:00",
      "modified": "2024-09-19T04:21:43.3461838+00:00"
    }
  ],
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<BaseResponseOfArrayOfWebhookzwF0ve9J xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.NYMCARD.Service.Models">
  <Data>
    <Webhook>
      <active>true</active>
      <config>
        <basic_auth_password>sample string 2</basic_auth_password>
        <basic_auth_username>sample string 1</basic_auth_username>
        <created>2024-09-19T04:21:43.3461838+00:00</created>
        <custom_headers>
          <CustomHeader>
            <header_name>sample string 1</header_name>
            <header_value>sample string 2</header_value>
          </CustomHeader>
          <CustomHeader>
            <header_name>sample string 1</header_name>
            <header_value>sample string 2</header_value>
          </CustomHeader>
        </custom_headers>
        <modified>2024-09-19T04:21:43.3461838+00:00</modified>
      </config>
      <created>2024-09-19T04:21:43.3461838+00:00</created>
      <endpoint>sample string 1</endpoint>
      <events xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </events>
      <id>sample string 2</id>
      <modified>2024-09-19T04:21:43.3461838+00:00</modified>
    </Webhook>
    <Webhook>
      <active>true</active>
      <config>
        <basic_auth_password>sample string 2</basic_auth_password>
        <basic_auth_username>sample string 1</basic_auth_username>
        <created>2024-09-19T04:21:43.3461838+00:00</created>
        <custom_headers>
          <CustomHeader>
            <header_name>sample string 1</header_name>
            <header_value>sample string 2</header_value>
          </CustomHeader>
          <CustomHeader>
            <header_name>sample string 1</header_name>
            <header_value>sample string 2</header_value>
          </CustomHeader>
        </custom_headers>
        <modified>2024-09-19T04:21:43.3461838+00:00</modified>
      </config>
      <created>2024-09-19T04:21:43.3461838+00:00</created>
      <endpoint>sample string 1</endpoint>
      <events xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </events>
      <id>sample string 2</id>
      <modified>2024-09-19T04:21:43.3461838+00:00</modified>
    </Webhook>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccess>true</IsSuccess>
</BaseResponseOfArrayOfWebhookzwF0ve9J>