Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed unhandled fields from PUT JSON payload example and added note that default values cannot be modified

...

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

Note that default values cannot be modified via this resource.

Security

SERVICE_REFERENCE_WRITE

...

Code Block
{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "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": "bcc_email_address",
 "description": "The email address to blind carbon copy on every message",
 "value": "noone@test.com",
 "valueValidation": null,
 "defaultValue": "noone@test.com",
 "sortOrder": 100}

Returns

...

Code Block
{"id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b",
 "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": "bcc_email_address",
 "description": "The email address to blind carbon copy on every message",
 "value": "noone@test.com",
 "valueValidation": null,
 "defaultValue": "noone@test.com",
 "sortOrder": 10100}