Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

GET /ssp/api/1/person/{id}/document

Security

PERSON_DOCUMENT_READ

Parameters

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

...

GET /ssp/api/1/person/{id}/document/{id}

Security

PERSON_DOCUMENT_READ

Returns

Document

Code Block
{"id" : "cb9ae287-0b28-4a3b-aece-2c6d1d974443",
  "createdBy" : 
     {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
      "firstName" : "John",
      "lastName" : "Doe"},
  "createdDate" : "1332216000000",
  "modifiedBy" : 
     {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
      "firstName" : "John",
      "lastName" : "Doe"},
  "modifiedDate" : "1332216000000",
  "objectStatus" : "ACTIVE",
  "name" : "High School Transcript",
  "note" : "This is Billy's high school transcript from Oakwood High School",
  "confidentialityLevel" :
     {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
      "name" : "EVERYONE"}}

...

POST /ssp/api/1/person/{id}/document

Security

PERSON_DOCUMENT_WRITE

Sample Post

Code Block
{"name" : "High School Transcript",
 "note" : "This is Billy's high school transcript from Oakwood High School",
 "confidentialityLevel" :
     {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
      "name" : "EVERYONE"}}

...

PUT /ssp/api/1/person/{id}/document/{id}

Security

PERSON_DOCUMENT_WRITE

Sample Post

Code Block
{"id" : "cb9ae287-0b28-4a3b-aece-2c6d1d974443",
  "createdBy" : 
     {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
      "firstName" : "John",
      "lastName" : "Doe"},
  "createdDate" : "1332216000000",
  "modifiedBy" : 
     {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280",
      "firstName" : "John",
      "lastName" : "Doe"},
  "modifiedDate" : "1332216000000",
  "objectStatus" : "ACTIVE",
  "name" : "High School Transcript",
  "note" : "This is Billy's high school transcript from Oakwood High School",
  "confidentialityLevel" :
     {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995",
      "name" : "EVERYONE"}}

...

DELETE /ssp/api/1/person/{id}/document/{id}

Security

PERSON_DOCUMENT_DELETE

Returns

Code Block
{"success" : "true"}

...