propertymappings_notification_create
POST/api/v3//propertymappings/notification/
NotificationWebhookMapping Viewset
Request
- application/json
Body
required
name stringrequired
Possible values: non-empty
expression stringrequired
Possible values: non-empty
Responses
- 201
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
pk uuidrequired
name stringrequired
expression stringrequired
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"expression": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '/api/v3/propertymappings/notification/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"name": "string",
"expression": "string"
}'