Disability Type API
Get All Disability Type
GET /ssp/api/1/reference/disabilityType
Security
SERVICE_REFERENCE_READ
Returns
{"createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "BLIND", "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "name" : "BLIND", "objectStatus" : "ACTIVE"}
Get Disability Type by parameter
GET /ssp/api/1/reference/disabilityType/{id}
Security
SERVICE_REFERENCE_READ
Returns
Disability Type
{ "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "BLIND", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "name" : "BLIND", "objectStatus" : "ACTIVE"}
Create a Disability Type
POST /ssp/api/1/reference/disabilityType
Security
SERVICE_REFERENCE_WRITE
Sample Post
{"description" : "Blind", "name" : "Blind"}
Returns
Disability Type
{"createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "BLIND", "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "name" : "BLIND", "objectStatus" : "ACTIVE"}
Save a Disability Type
PUT /ssp/api/1/reference/disabilityType/{id}
Security
SERVICE_REFERENCE_WRITE
Sample Post
{"createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "BLIND", "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "name" : "BLIND", "objectStatus" : "ACTIVE"}
Returns
Disability Type
{"createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "BLIND", "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "name" : "BLIND", "objectStatus" : "ACTIVE"}
Delete a Disability Type
DELETE /ssp/api/1/reference/disabilityType/{id}
Security
SERVICE_REFERENCE_WRITE
Returns
{"success" : "true"}
or
{"success" : "false", "message" : "Message when success is false."}