dc:lastContributor is not updated to with customer name

I want to update dc:lastContributor with customer like below POST request: var data = '{“entity-type”: “document”, “name”: “' + name + '“, “type”: “' +

                type + '", "properties": {"dc:title": "' + name + '", "dc:description": "",**"dc:lastContributor": "' + customer + '"**}}';

But it getting updated with only Administrator please help me how to update “dc:lastContributor Response { “entity-type”: “document”, “repository”: “default”, “uid”: “0a6fe8e1-b048-4a87-8b97-934c59f2f1e8”, “path”: “/default-domain/workspaces/SurekhaBiradar-workspace/Folder4”, “type”: “Folder”, “state”: “project”, “parentRef”: “7680cb0f-54db-41f0-b4fa-84373ad4ab80”, “isCheckedOut”: true, “changeToken”: “1466486825099”, “title”: “Folder4”, “lastModified”: “2016-06-21T05:27:05.09Z”, “properties”: {

"common:size": null,
"common:icon-expanded": null,
"common:icon": "/icons/folder.gif",
"dc:description": "",
"dc:language": null,
"dc:coverage": null,
"dc:valid": null,
"dc:creator": "Administrator",
"dc:modified": "2016-06-21T05:27:05.09Z",

“dc:lastContributor”: “Administrator”,**

"dc:rights": null,
"dc:expired": null,
"dc:format": null,
"dc:created": "2016-06-21T05:27:05.09Z",
"dc:title": "Folder4",
"dc:issued": null,
"dc:nature": null,
"dc:subjects": [],
"dc:contributors": [
  "Administrator"
],
"dc:source": null,
"dc:publisher": null

}, “facets”: [

"Folderish"

] }

0 votes

0 answers

935 views

ANSWER

To send your POST request, you must create a connection and provide a username? What is it?
07/05/2016