GET 3dCartWebAPI/v1/Webhooks/{id}


Get a Webhook

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id

integer

Required

Body Parameters

None.


Sample Request



Response Information

Resource Description

Collection of Webhook
NameDescriptionTypeAdditional information
Id

database reference = webhooks.id

integer

None.

Name

database reference = webhooks.name

string

String length: inclusive between 0 and 80

Url

database reference = webhooks.url

string

String length: inclusive between 0 and 1000

EventType

database reference = webhooks.event_type

integer

None.

DateCreated

database reference = webhooks.datecreated

date

None.

DateUpdated

database reference = webhooks.dateupdated

date

None.

Format

(JSON | XML) database reference = webhook_formats.format_name

string

String length: inclusive between 0 and 50

Enabled

database reference = webhooks.enabled

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 1",
    "Url": "sample string 2",
    "EventType": 3,
    "DateCreated": "04/19/2024 11:42",
    "DateUpdated": "04/19/2024 11:42",
    "Format": "sample string 4",
    "Enabled": true
  },
  {
    "Id": 1,
    "Name": "sample string 1",
    "Url": "sample string 2",
    "EventType": 3,
    "DateCreated": "04/19/2024 11:42",
    "DateUpdated": "04/19/2024 11:42",
    "Format": "sample string 4",
    "Enabled": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfWebhook xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Webhook>
    <Id>1</Id>
    <Name>sample string 1</Name>
    <Url>sample string 2</Url>
    <EventType>3</EventType>
    <DateCreated>2024-04-19T11:42:07.5950012-04:00</DateCreated>
    <DateUpdated>2024-04-19T11:42:07.5950012-04:00</DateUpdated>
    <Format>sample string 4</Format>
    <Enabled>true</Enabled>
  </Webhook>
  <Webhook>
    <Id>1</Id>
    <Name>sample string 1</Name>
    <Url>sample string 2</Url>
    <EventType>3</EventType>
    <DateCreated>2024-04-19T11:42:07.5950012-04:00</DateCreated>
    <DateUpdated>2024-04-19T11:42:07.5950012-04:00</DateUpdated>
    <Format>sample string 4</Format>
    <Enabled>true</Enabled>
  </Webhook>
</ArrayOfWebhook>