Body_update_collector_collector__collector_id__put
collector_in objectrequired
id object
anyOf
- string
- null
string
name object
anyOf
- string
- null
string
responseLimit object
anyOf
- integer
- null
integer
completedResponsesCount object
anyOf
- integer
- null
integer
surveyId object
anyOf
- integer
- null
integer
type object
anyOf
- CollectorType
- null
CollectorType (string)
Collector type enum.
Possible values: [SMS, EMAIL, WEB_LINK, WHATSAPP, WIDGET]
openDate object
anyOf
- string<date-time>
- null
string<date-time>
closeDate object
anyOf
- string<date-time>
- null
string<date-time>
fromEmail object
anyOf
- EmailDomainEmail
- null
emailEmail (string)required
name object
anyOf
- string
- null
string
senderId object
anyOf
- string
- null
string
messageText object
anyOf
- string
- null
string
closedMessage object
anyOf
- string
- null
string
showUnsubscribe object
anyOf
- boolean
- null
boolean
status object
anyOf
- CollectorStatus
- null
CollectorStatus (string)
Collector status enum.
Possible values: [OPEN, CLOSED, DRAFT, DELETED, INACTIVE, SCHEDULED, RESPONSE_LIMIT_EXCEEDED]
createdAt object
anyOf
- string<date-time>
- null
string<date-time>
updatedAt object
anyOf
- string<date-time>
- null
string<date-time>
dynamicParameters object
anyOf
- object
- null
object
isActive object
anyOf
- boolean
- null
boolean
isDeleted object
anyOf
- boolean
- null
boolean
buttonText object
anyOf
- string
- null
string
provider object
anyOf
- WhatsAppProvider
- null
WhatsAppProvider (string)
Constant value:
glassixtemplateId object
anyOf
- string
- integer
- null
string
phoneNumber object
anyOf
- string
- null
string
parameters object
anyOf
- object
- null
object
limitByIp object
anyOf
- boolean
- null
boolean
limitByCookie object
anyOf
- boolean
- null
boolean
rules_in object
anyOf
- object[]
- null
Array [
id object
anyOf
- integer
- null
integer
operator object
anyOf
- string
- null
string
isActive object
anyOf
- boolean
- null
boolean
collectorId object
anyOf
- string
- null
string
conditions object
anyOf
- object[]
- null
Array [
id object
anyOf
- integer
- null
integer
ruleId object
anyOf
- integer
- null
integer
value object
anyOf
- string
- null
string
typeConditionTypes (string)required
Possible values: [Survey Opened, Survey Completed, Survey Score Below, Survey Score Above, Survey Score Below Percentage, Survey Score Above Percentage]
]
actions object
anyOf
- object[]
- null
Array [
id object
anyOf
- integer
- null
integer
ruleId object
anyOf
- integer
- null
integer
type object
anyOf
- ActionType
- null
ActionType (string)
Action type enum.
Possible values: [Coupon, Email, SMS, WhatsApp, Coupon Email, Coupon SMS, Coupon WhatsApp]
parameters object
anyOf
- EmailActionParameters
- SMSActionParameters
- CouponActionParameters
- WhatsAppActionParameters
- null
fromEmail objectrequired
emailEmail (string)required
name object
anyOf
- string
- null
string
subjectSubject (string)required
bodyBody (string)required
recipientRecipient (string)
Default value:
surveyFillercouponGroupId object
anyOf
- integer
- null
integer
]
]
Body_update_collector_collector__collector_id__put
{
"collector_in": {
"id": "string",
"name": "string",
"responseLimit": 0,
"completedResponsesCount": 0,
"surveyId": 0,
"type": "SMS",
"openDate": "2024-07-29T15:51:28.071Z",
"closeDate": "2024-07-29T15:51:28.071Z",
"fromEmail": {
"email": "string",
"name": "string"
},
"senderId": "string",
"messageText": "string",
"closedMessage": "string",
"showUnsubscribe": true,
"status": "OPEN",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"dynamicParameters": {},
"isActive": true,
"isDeleted": true,
"buttonText": "string",
"provider": "glassix",
"templateId": "string",
"phoneNumber": "string",
"parameters": {},
"limitByIp": true,
"limitByCookie": true
},
"rules_in": [
{
"id": 0,
"operator": "string",
"isActive": true,
"collectorId": "string",
"conditions": [
{
"id": 0,
"ruleId": 0,
"value": "string",
"type": "Survey Opened"
}
],
"actions": [
{
"id": 0,
"ruleId": 0,
"type": "Coupon",
"parameters": {
"fromEmail": {
"email": "string",
"name": "string"
},
"subject": "string",
"body": "string",
"recipient": "surveyFiller",
"couponGroupId": 0
}
}
]
}
]
}
Was this page helpful?