Advisors Survey Resource
get
Authorizations
SessionIdstringRequired
SessionId
Path parameters
templateIdstringRequiredExample:
64f8a0e2d5b7c9a1e3f4a5b6Responses
200
OK
*/*
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6categoryIdstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6activebooleanOptional
restrictedToCompaniesstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6imagePathstringOptional
usedInstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6get/api/v1/company/advisor/surveys/templates/{templateId}
GET /api/v1/company/advisor/surveys/templates/{templateId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"categoryId": "64f8a0e2d5b7c9a1e3f4a5b6",
"active": true,
"restrictedToCompanies": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"restrictedToIndustries": [
"ACCOMMODATION_AND_FOOT_SERVICES"
],
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogDescription": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imagePath": "text",
"blocks": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"order": 1,
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questions": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questionType": "GENERAL",
"order": 1,
"visible": true,
"computeInBlock": true,
"feedbackEnabled": true,
"voteMode": "MANDATORY",
"representation": "IMAGES",
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"requireNotEmpty": true
}
]
}
],
"usedIn": [
"64f8a0e2d5b7c9a1e3f4a5b6"
]
}put
Authorizations
SessionIdstringRequired
SessionId
Path parameters
templateIdstringRequiredExample:
64f8a0e2d5b7c9a1e3f4a5b6Body
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6categoryIdstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6activebooleanOptional
restrictedToCompaniesstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6imagePathstringOptional
usedInstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6Responses
200
OK
*/*
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6categoryIdstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6activebooleanOptional
restrictedToCompaniesstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6imagePathstringOptional
usedInstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6put/api/v1/company/advisor/surveys/templates/{templateId}
PUT /api/v1/company/advisor/surveys/templates/{templateId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 1455
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"categoryId": "64f8a0e2d5b7c9a1e3f4a5b6",
"active": true,
"restrictedToCompanies": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"restrictedToIndustries": [
"ACCOMMODATION_AND_FOOT_SERVICES"
],
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogDescription": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imagePath": "text",
"blocks": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"order": 1,
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questions": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questionType": "GENERAL",
"order": 1,
"visible": true,
"computeInBlock": true,
"feedbackEnabled": true,
"voteMode": "MANDATORY",
"representation": "IMAGES",
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"requireNotEmpty": true
}
]
}
],
"usedIn": [
"64f8a0e2d5b7c9a1e3f4a5b6"
]
}200
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"categoryId": "64f8a0e2d5b7c9a1e3f4a5b6",
"active": true,
"restrictedToCompanies": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"restrictedToIndustries": [
"ACCOMMODATION_AND_FOOT_SERVICES"
],
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogDescription": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imagePath": "text",
"blocks": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"order": 1,
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questions": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questionType": "GENERAL",
"order": 1,
"visible": true,
"computeInBlock": true,
"feedbackEnabled": true,
"voteMode": "MANDATORY",
"representation": "IMAGES",
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"requireNotEmpty": true
}
]
}
],
"usedIn": [
"64f8a0e2d5b7c9a1e3f4a5b6"
]
}delete
Authorizations
SessionIdstringRequired
SessionId
Path parameters
templateIdstringRequiredExample:
64f8a0e2d5b7c9a1e3f4a5b6Responses
200
OK
*/*
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6colorstringOptional
iconPathstringOptional
delete/api/v1/company/advisor/surveys/templates/{templateId}
DELETE /api/v1/company/advisor/surveys/templates/{templateId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"color": "text",
"iconPath": "text"
}put
Authorizations
SessionIdstringRequired
SessionId
Path parameters
categoryIdstringRequiredExample:
64f8a0e2d5b7c9a1e3f4a5b6Body
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6colorstringOptional
iconPathstringOptional
Responses
200
OK
*/*
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6colorstringOptional
iconPathstringOptional
put/api/v1/company/advisor/surveys/categories/{categoryId}
PUT /api/v1/company/advisor/surveys/categories/{categoryId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 279
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"color": "text",
"iconPath": "text"
}200
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"color": "text",
"iconPath": "text"
}delete
Authorizations
SessionIdstringRequired
SessionId
Path parameters
categoryIdstringRequiredExample:
64f8a0e2d5b7c9a1e3f4a5b6Responses
200
OK
*/*
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6colorstringOptional
iconPathstringOptional
delete/api/v1/company/advisor/surveys/categories/{categoryId}
DELETE /api/v1/company/advisor/surveys/categories/{categoryId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"color": "text",
"iconPath": "text"
}get
Authorizations
SessionIdstringRequired
SessionId
Responses
200
OK
*/*
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6categoryIdstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6activebooleanOptional
restrictedToCompaniesstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6imagePathstringOptional
usedInstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6get/api/v1/company/advisor/surveys/templates
GET /api/v1/company/advisor/surveys/templates HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
[
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"categoryId": "64f8a0e2d5b7c9a1e3f4a5b6",
"active": true,
"restrictedToCompanies": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"restrictedToIndustries": [
"ACCOMMODATION_AND_FOOT_SERVICES"
],
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogDescription": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imagePath": "text",
"blocks": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"order": 1,
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questions": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questionType": "GENERAL",
"order": 1,
"visible": true,
"computeInBlock": true,
"feedbackEnabled": true,
"voteMode": "MANDATORY",
"representation": "IMAGES",
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"requireNotEmpty": true
}
]
}
],
"usedIn": [
"64f8a0e2d5b7c9a1e3f4a5b6"
]
}
]post
Authorizations
SessionIdstringRequired
SessionId
Body
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6categoryIdstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6activebooleanOptional
restrictedToCompaniesstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6imagePathstringOptional
usedInstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6Responses
200
OK
*/*
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6categoryIdstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6activebooleanOptional
restrictedToCompaniesstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6imagePathstringOptional
usedInstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6post/api/v1/company/advisor/surveys/templates
POST /api/v1/company/advisor/surveys/templates HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 1455
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"categoryId": "64f8a0e2d5b7c9a1e3f4a5b6",
"active": true,
"restrictedToCompanies": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"restrictedToIndustries": [
"ACCOMMODATION_AND_FOOT_SERVICES"
],
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogDescription": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imagePath": "text",
"blocks": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"order": 1,
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questions": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questionType": "GENERAL",
"order": 1,
"visible": true,
"computeInBlock": true,
"feedbackEnabled": true,
"voteMode": "MANDATORY",
"representation": "IMAGES",
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"requireNotEmpty": true
}
]
}
],
"usedIn": [
"64f8a0e2d5b7c9a1e3f4a5b6"
]
}200
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"categoryId": "64f8a0e2d5b7c9a1e3f4a5b6",
"active": true,
"restrictedToCompanies": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"restrictedToIndustries": [
"ACCOMMODATION_AND_FOOT_SERVICES"
],
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"catalogDescription": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imagePath": "text",
"blocks": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"order": 1,
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questions": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"questionType": "GENERAL",
"order": 1,
"visible": true,
"computeInBlock": true,
"feedbackEnabled": true,
"voteMode": "MANDATORY",
"representation": "IMAGES",
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"requireNotEmpty": true
}
]
}
],
"usedIn": [
"64f8a0e2d5b7c9a1e3f4a5b6"
]
}get
Authorizations
SessionIdstringRequired
SessionId
Responses
200
OK
*/*
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6colorstringOptional
iconPathstringOptional
get/api/v1/company/advisor/surveys/categories
GET /api/v1/company/advisor/surveys/categories HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
200
OK
[
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"color": "text",
"iconPath": "text"
}
]post
Authorizations
SessionIdstringRequired
SessionId
Body
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6colorstringOptional
iconPathstringOptional
Responses
200
OK
*/*
idstringOptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6colorstringOptional
iconPathstringOptional
post/api/v1/company/advisor/surveys/categories
POST /api/v1/company/advisor/surveys/categories HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 279
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"color": "text",
"iconPath": "text"
}200
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"description": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"color": "text",
"iconPath": "text"
}Last updated