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

« Previous Version 2 Next »

Get All Confidentiality Levels

GET /ssp/api/1/reference/confidentialityLevel

Note

Filter by assigned user confidentiality levels

Parameters

status : ALL, ACTIVE, INACTIVE, DELETED<br>
start : First result (0-based index) to return<br>
limit : Maximum number of results to return<br>
sort : Property name<br>
sortDirection : Ascending/descending keyword (ASC/DESC or ASCENDING/DESCENDING)

Returns

List<ConfidentialityLevel>

[{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
  "createdDate" : "2008-04-09T12:07:56",
  "createdBy" : 
     {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
      "firstName" : "John",
      "lastName" : "Doe"},  
  "modifiedDate" : "2008-04-09T12:07:56",
  "modifiedBy" : 
     {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
      "firstName" : "John",
      "lastName" : "Doe"},  
  "objectStatus" : "ACTIVE",
  "acronym" : "DIS"
  "name" : "Disability",
  "description" : "Provides access to disability information."},
 {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
  "createdDate" : "2008-04-09T12:07:56",
  "createdBy" : 
     {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
      "firstName" : "John",
      "lastName" : "Doe"},  
  "modifiedDate" : "2008-04-09T12:07:56",
  "modifiedBy" : 
     {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
      "firstName" : "John",
      "lastName" : "Doe"},  
  "objectStatus" : "ACTIVE",
  "acronym" : "CNSL",
  "name" : "Counselor",
  "description" : "Provides access to uses with the counselor confidentiality level."}
 ...
]

 

Get a Confidentiality Level

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

Returns

ConfidentialityLevel

{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdDate" : "2008-04-09T12:07:56",
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},  
 "modifiedDate" : "2008-04-09T12:07:56",
 "modifiedBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},  
 "objectStatus" : "ACTIVE",
 "acronym" : "DIS"
 "name" : "Disability",
 "description" : "Provides access to disability information."}

 

Create a ConfidentialityLevel

POST /ssp/api/1/reference/confidentialityLevel

Sample Post

{"acronym" : "DIS"
 "name" : "Disability",
 "description" : "Provides access to disability information."}

Returns

ConfidentialityLevel

{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdDate" : "2008-04-09T12:07:56",
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},  
 "modifiedDate" : "2008-04-09T12:07:56",
 "modifiedBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},  
 "objectStatus" : "ACTIVE",
 "acronym" : "DIS"
 "name" : "Disability",
 "description" : "Provides access to disability information."}

 

Save a ConfidentialityLevel

PUT /ssp/api/1/reference/confidentiaityLevel/{id}

Sample Post

{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdDate" : "2008-04-09T12:07:56",
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},  
 "modifiedDate" : "2008-04-09T12:07:56",
 "modifiedBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},  
 "objectStatus" : "ACTIVE",
 "acronym" : "DIS"
 "name" : "Disability",
 "description" : "Provides access to disability information."}

Returns

ConfidentialityLevel

{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "createdDate" : "2008-04-09T12:07:56",
 "createdBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},  
 "modifiedDate" : "2008-04-09T12:07:56",
 "modifiedBy" : 
    {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
     "firstName" : "John",
     "lastName" : "Doe"},  
 "objectStatus" : "ACTIVE",
 "acronym" : "DIS"
 "name" : "Disability",
 "description" : "Provides access to disability information."}

 

Delete a Confidentiality Level

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

Returns

{"success" : "true"}

or

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