Personality Type API
Get All Personality Types
GET /ssp/api/1/reference/personalityType
Security
SERVICE_REFERENCE_READ
Returns
{"createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "ENFJ", "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "name" : "Outward action and people oriented, factual and detailed, subjective/empathy, decisive and organized.", "objectStatus" : "ACTIVE"}
Get Personality Type by parameter
GET /ssp/api/1/reference/personalityType/{id}
Security
SERVICE_REFERENCE_READ
Returns
Personality Type
{ "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "ENFJ", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "name" : "Outward action and people oriented, factual and detailed, subjective/empathy, decisive and organized.", "objectStatus" : "ACTIVE"}
Create a Personality Type
POST /ssp/api/1/reference/personalityType
Security
SERVICE_REFERENCE_WRITE
Sample Post
{"description" : "ENFJ", "name" : "Outward action and people oriented, factual and detailed, subjective/empathy, decisive and organized."}
Returns
Personality Type
{"createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "ENFJ", "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "name" : "Outward action and people oriented, factual and detailed, subjective/empathy, decisive and organized.", "objectStatus" : "ACTIVE"}
Save a Personality Type
PUT /ssp/api/1/reference/personalityType/{id}
Security
SERVICE_REFERENCE_WRITE
Sample Post
{"createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "ENFJ", "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "name" : "Outward action and people oriented, factual and detailed, subjective/empathy, decisive and organized.", "objectStatus" : "ACTIVE"}
Returns
Personality Type
{"createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "ENFJ", "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "name" : "Outward action and people oriented, factual and detailed, subjective/empathy, decisive and organized.", "objectStatus" : "ACTIVE"}
Delete a Personality Type
DELETE /ssp/api/1/reference/personalityType/{id}
Security
SERVICE_REFERENCE_WRITE
Returns
{"success" : "true"}
or
{"success" : "false", "message" : "Message when success is false."}