V1WebhooksContactRequest1
Name | Type | Tags | Description | Getter | Setter |
---|---|---|---|---|---|
attemptInterval |
?int |
Optional | Number of seconds before another retry is submitted Default: 300 Constraints: >= 300 , <= 86400 |
getAttemptInterval(): ?int | setAttemptInterval(?int attemptInterval): void |
basicAuthUsername |
?string |
Optional | The Basic authorization username for the URL, if not supplied, the postback will be submitted without Basic authorization headers Constraints: Maximum Length: 512 |
getBasicAuthUsername(): ?string | setBasicAuthUsername(?string basicAuthUsername): void |
basicAuthPassword |
?string |
Optional | The basic authorization password Constraints: Maximum Length: 512 |
getBasicAuthPassword(): ?string | setBasicAuthPassword(?string basicAuthPassword): void |
expands |
?string |
Optional | An option list of expanded data to send with base data. (i.e. set this field to “contact,account_vault” to get the contact an accountvault used to run a transaction.) Constraints: Maximum Length: 512 |
getExpands(): ?string | setExpands(?string expands): void |
format |
?string (FormatEnum) |
Optional | Options include: api-default | getFormat(): ?string | setFormat(?string format): void |
isActive |
?bool |
Optional | Flag to indicate whether configuration is active (in effect). | getIsActive(): ?bool | setIsActive(?bool isActive): void |
locationId |
?string |
Optional | The location identifier of the resource you want to recieve postbacks from. Constraints: Pattern: ^(([0-9a-fA-F\-]{24,36})|(([0-9a-fA-F]{8})-(([0-9a-fA-F]{4}\-){3})([0-9a-fA-F]{12})))$ |
getLocationId(): ?string | setLocationId(?string locationId): void |
locationApiId |
?string |
Optional | Location Api ID | getLocationApiId(): ?string | setLocationApiId(?string locationApiId): void |
onCreate |
?bool |
Optional | To receive postbacks on the creation of a resource | getOnCreate(): ?bool | setOnCreate(?bool onCreate): void |
onUpdate |
?bool |
Optional | To receive postbacks on the updating of a resource | getOnUpdate(): ?bool | setOnUpdate(?bool onUpdate): void |
onDelete |
?bool |
Optional | To receive postbacks when the record is deleted | getOnDelete(): ?bool | setOnDelete(?bool onDelete): void |
postbackConfigId |
?string |
Optional | Postback Config ID Constraints: Pattern: ^(([0-9a-fA-F\-]{24,36})|(([0-9a-fA-F]{8})-(([0-9a-fA-F]{4}\-){3})([0-9a-fA-F]{12})))$ |
getPostbackConfigId(): ?string | setPostbackConfigId(?string postbackConfigId): void |
productTransactionId |
?string |
Optional | Required when using 'transaction' or 'transactionbatch' resource Constraints: Pattern: ^(([0-9a-fA-F\-]{24,36})|(([0-9a-fA-F]{8})-(([0-9a-fA-F]{4}\-){3})([0-9a-fA-F]{12})))$ |
getProductTransactionId(): ?string | setProductTransactionId(?string productTransactionId): void |
resource |
?string (Resource12Enum) |
Optional | The resource you want to subscribe the postbacks to. Constraints: Maximum Length: 128 |
getResource(): ?string | setResource(?string resource): void |
numberOfAttempts |
?int |
Optional | Maximum number of attempts on failure Constraints: >= 1 , <= 5 |
getNumberOfAttempts(): ?int | setNumberOfAttempts(?int numberOfAttempts): void |
url |
?string |
Optional | The URL where the postback will be submitted Constraints: Maximum Length: 512 |
getUrl(): ?string | setUrl(?string url): void |
{
"attempt_interval": 300,
"basic_auth_username": "tester",
"basic_auth_password": "Test@522",
"expands": "changelogs,tags",
"format": "api-default",
"is_active": true,
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"on_create": true,
"on_update": true,
"on_delete": true,
"postback_config_id": "11e95f8ec39de8fbdb0a4f1a",
"product_transaction_id": "11e95f8ec39de8fbdb0a4f1a",
"resource": "contact",
"number_of_attempts": 1,
"url": "https://127.0.0.1/receiver"
}