Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Get All Campus Service

GET /ssp/api/1/reference/campusService

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 Campus Service by parameter

GET /ssp/api/1/reference/campusService/{id}

Security

SERVICE_REFERENCE_READ

Returns

Campus Service

{ "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 Campus Service

POST /ssp/api/1/reference/campusService

Security

SERVICE_REFERENCE_WRITE

Sample Post

{"description" : "ENFJ",
 "name" : "Outward action and people oriented, factual and detailed, subjective/empathy, decisive and organized."}

Returns

Campus Service

{"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  Campus Service

PUT /ssp/api/1/reference/campusService/{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

Campus Service

{"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 Campus Service

DELETE /ssp/api/1/reference/campusService/{id}

Security

SERVICE_REFERENCE_WRITE

Returns

{"success" : "true"}

or

{"success" : "false", 
 "message" : "Message when success is false."}
  • No labels