{"action":"closed","issue":{"url":"https://api.github.com/repos/telerik/kendo-ui-core/issues/956","labels_url":"https://api.github.com/repos/telerik/kendo-ui-core/issues/956/labels{/name}","comments_url":"https://api.github.com/repos/telerik/kendo-ui-core/issues/956/comments","events_url":"https://api.github.com/repos/telerik/kendo-ui-core/issues/956/events","html_url":"https://github.com/telerik/kendo-ui-core/issues/956","id":94931595,"number":956,"title":"Returning only IDs ","user":{"login":"tsvetomir","id":247917,"avatar_url":"https://avatars.githubusercontent.com/u/247917?v=3","gravatar_id":"","url":"https://api.github.com/users/tsvetomir","html_url":"https://github.com/tsvetomir","followers_url":"https://api.github.com/users/tsvetomir/followers","following_url":"https://api.github.com/users/tsvetomir/following{/other_user}","gists_url":"https://api.github.com/users/tsvetomir/gists{/gist_id}","starred_url":"https://api.github.com/users/tsvetomir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsvetomir/subscriptions","organizations_url":"https://api.github.com/users/tsvetomir/orgs","repos_url":"https://api.github.com/users/tsvetomir/repos","events_url":"https://api.github.com/users/tsvetomir/events{/privacy}","received_events_url":"https://api.github.com/users/tsvetomir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/telerik/kendo-ui-core/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/telerik/kendo-ui-core/labels/C:%20DataSource","name":"C: DataSource","color":"444444"},{"url":"https://api.github.com/repos/telerik/kendo-ui-core/labels/SEV:%20Medium","name":"SEV: Medium","color":"FF9999"}],"state":"closed","locked":false,"assignee":{"login":"rkonstantinov","id":568765,"avatar_url":"https://avatars.githubusercontent.com/u/568765?v=3","gravatar_id":"","url":"https://api.github.com/users/rkonstantinov","html_url":"https://github.com/rkonstantinov","followers_url":"https://api.github.com/users/rkonstantinov/followers","following_url":"https://api.github.com/users/rkonstantinov/following{/other_user}","gists_url":"https://api.github.com/users/rkonstantinov/gists{/gist_id}","starred_url":"https://api.github.com/users/rkonstantinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkonstantinov/subscriptions","organizations_url":"https://api.github.com/users/rkonstantinov/orgs","repos_url":"https://api.github.com/users/rkonstantinov/repos","events_url":"https://api.github.com/users/rkonstantinov/events{/privacy}","received_events_url":"https://api.github.com/users/rkonstantinov/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-14T12:11:03Z","updated_at":"2015-07-30T15:21:54Z","closed_at":"2015-07-30T15:21:54Z","body":"As per the [documentation](http://docs.telerik.com/kendo-ui/framework/datasource/crud#create-remote):\r\n> It is possible to return only the ID field(s) and value(s). In this case these IDs will be assigned to the client-side data items in the same order in which the newly created data items have been submitted.\r\n\r\nThis doesn't seem to work in practice:\r\n```html\r\n    <pre id=\"log\"></pre>\r\n    <script>\r\n      var dataSource = new kendo.data.DataSource({\r\n        autoSync: true,\r\n        schema: {\r\n          model: {\r\n            id: \"ID\",\r\n            fields: {\r\n              Name: { type: \"string\" }\r\n            }\r\n          }\r\n        },\r\n        transport: {\r\n          read: function(e) {\r\n            e.success([]);\r\n          },\r\n          create: function(e) {\r\n            e.success([{ ID: 123 }]);\r\n          }\r\n        }\r\n      });\r\n      \r\n      dataSource.read();\r\n      dataSource.add({ Name: \"myname\" });\r\n      \r\n      $(\"pre\").html(JSON.stringify(dataSource.view()[0], null, 2));\r\n    </script>\r\n```"}}