POST api/Nymcard/GetWebhooklist

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

OperationStatusOfListOfWebhook
NameDescriptionTypeAdditional information
Result

Collection of Webhook

None.

HasNoData

boolean

None.

ErrorMsg

string

None.

Succeeded

boolean

None.

AlreadyExists

boolean

None.

NotFound

boolean

None.

Error

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": [
    {
      "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-10-01T10:00:57.1985973+00:00",
        "modified": "2024-10-01T10:00:57.1985973+00:00"
      },
      "created": "2024-10-01T10:00:57.1985973+00:00",
      "modified": "2024-10-01T10:00:57.1985973+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-10-01T10:00:57.1985973+00:00",
        "modified": "2024-10-01T10:00:57.1985973+00:00"
      },
      "created": "2024-10-01T10:00:57.1985973+00:00",
      "modified": "2024-10-01T10:00:57.1985973+00:00"
    }
  ],
  "HasNoData": true,
  "ErrorMsg": "sample string 2",
  "Succeeded": true,
  "AlreadyExists": true,
  "NotFound": true,
  "Error": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

application/xml, text/xml

Sample:
<OperationStatusOfArrayOfWebhooki81L1NcA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <AlreadyExists>true</AlreadyExists>
  <Error xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Error>
  <ErrorMsg>sample string 2</ErrorMsg>
  <HasNoData>true</HasNoData>
  <NotFound>true</NotFound>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bankiom.Integrations.NYMCARD">
    <d2p1:Webhook>
      <d2p1:active>true</d2p1:active>
      <d2p1:config>
        <d2p1:basic_auth_password>sample string 2</d2p1:basic_auth_password>
        <d2p1:basic_auth_username>sample string 1</d2p1:basic_auth_username>
        <d2p1:created>2024-10-01T10:00:57.1985973+00:00</d2p1:created>
        <d2p1:custom_headers>
          <d2p1:CustomHeader>
            <d2p1:header_name>sample string 1</d2p1:header_name>
            <d2p1:header_value>sample string 2</d2p1:header_value>
          </d2p1:CustomHeader>
          <d2p1:CustomHeader>
            <d2p1:header_name>sample string 1</d2p1:header_name>
            <d2p1:header_value>sample string 2</d2p1:header_value>
          </d2p1:CustomHeader>
        </d2p1:custom_headers>
        <d2p1:modified>2024-10-01T10:00:57.1985973+00:00</d2p1:modified>
      </d2p1:config>
      <d2p1:created>2024-10-01T10:00:57.1985973+00:00</d2p1:created>
      <d2p1:endpoint>sample string 1</d2p1:endpoint>
      <d2p1: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>
      </d2p1:events>
      <d2p1:id>sample string 2</d2p1:id>
      <d2p1:modified>2024-10-01T10:00:57.1985973+00:00</d2p1:modified>
    </d2p1:Webhook>
    <d2p1:Webhook>
      <d2p1:active>true</d2p1:active>
      <d2p1:config>
        <d2p1:basic_auth_password>sample string 2</d2p1:basic_auth_password>
        <d2p1:basic_auth_username>sample string 1</d2p1:basic_auth_username>
        <d2p1:created>2024-10-01T10:00:57.1985973+00:00</d2p1:created>
        <d2p1:custom_headers>
          <d2p1:CustomHeader>
            <d2p1:header_name>sample string 1</d2p1:header_name>
            <d2p1:header_value>sample string 2</d2p1:header_value>
          </d2p1:CustomHeader>
          <d2p1:CustomHeader>
            <d2p1:header_name>sample string 1</d2p1:header_name>
            <d2p1:header_value>sample string 2</d2p1:header_value>
          </d2p1:CustomHeader>
        </d2p1:custom_headers>
        <d2p1:modified>2024-10-01T10:00:57.1985973+00:00</d2p1:modified>
      </d2p1:config>
      <d2p1:created>2024-10-01T10:00:57.1985973+00:00</d2p1:created>
      <d2p1:endpoint>sample string 1</d2p1:endpoint>
      <d2p1: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>
      </d2p1:events>
      <d2p1:id>sample string 2</d2p1:id>
      <d2p1:modified>2024-10-01T10:00:57.1985973+00:00</d2p1:modified>
    </d2p1:Webhook>
  </Result>
  <Succeeded>true</Succeeded>
</OperationStatusOfArrayOfWebhooki81L1NcA>