{"action":"created","issue":{"url":"https://api.github.com/repos/coder-molok/foowd_alpha2/issues/75","labels_url":"https://api.github.com/repos/coder-molok/foowd_alpha2/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/coder-molok/foowd_alpha2/issues/75/comments","events_url":"https://api.github.com/repos/coder-molok/foowd_alpha2/issues/75/events","html_url":"https://github.com/coder-molok/foowd_alpha2/issues/75","id":89076405,"number":75,"title":"Board Preferenze inserite","user":{"login":"Panciz","id":2254988,"avatar_url":"https://avatars.githubusercontent.com/u/2254988?v=3","gravatar_id":"","url":"https://api.github.com/users/Panciz","html_url":"https://github.com/Panciz","followers_url":"https://api.github.com/users/Panciz/followers","following_url":"https://api.github.com/users/Panciz/following{/other_user}","gists_url":"https://api.github.com/users/Panciz/gists{/gist_id}","starred_url":"https://api.github.com/users/Panciz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Panciz/subscriptions","organizations_url":"https://api.github.com/users/Panciz/orgs","repos_url":"https://api.github.com/users/Panciz/repos","events_url":"https://api.github.com/users/Panciz/events{/privacy}","received_events_url":"https://api.github.com/users/Panciz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coder-molok/foowd_alpha2/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"predorock","id":5390248,"avatar_url":"https://avatars.githubusercontent.com/u/5390248?v=3","gravatar_id":"","url":"https://api.github.com/users/predorock","html_url":"https://github.com/predorock","followers_url":"https://api.github.com/users/predorock/followers","following_url":"https://api.github.com/users/predorock/following{/other_user}","gists_url":"https://api.github.com/users/predorock/gists{/gist_id}","starred_url":"https://api.github.com/users/predorock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/predorock/subscriptions","organizations_url":"https://api.github.com/users/predorock/orgs","repos_url":"https://api.github.com/users/predorock/repos","events_url":"https://api.github.com/users/predorock/events{/privacy}","received_events_url":"https://api.github.com/users/predorock/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/coder-molok/foowd_alpha2/milestones/3","html_url":"https://github.com/coder-molok/foowd_alpha2/milestones/Aplha%201.0","labels_url":"https://api.github.com/repos/coder-molok/foowd_alpha2/milestones/3/labels","id":1083854,"number":3,"title":"Aplha 1.0","description":"","creator":{"login":"Panciz","id":2254988,"avatar_url":"https://avatars.githubusercontent.com/u/2254988?v=3","gravatar_id":"","url":"https://api.github.com/users/Panciz","html_url":"https://github.com/Panciz","followers_url":"https://api.github.com/users/Panciz/followers","following_url":"https://api.github.com/users/Panciz/following{/other_user}","gists_url":"https://api.github.com/users/Panciz/gists{/gist_id}","starred_url":"https://api.github.com/users/Panciz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Panciz/subscriptions","organizations_url":"https://api.github.com/users/Panciz/orgs","repos_url":"https://api.github.com/users/Panciz/repos","events_url":"https://api.github.com/users/Panciz/events{/privacy}","received_events_url":"https://api.github.com/users/Panciz/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":40,"state":"open","created_at":"2015-04-26T10:00:31Z","updated_at":"2015-06-29T19:12:14Z","due_on":"2015-05-09T22:00:00Z","closed_at":null},"comments":2,"created_at":"2015-06-17T17:25:52Z","updated_at":"2015-06-30T06:21:21Z","closed_at":null,"body":"Elenco di tutte le preferenze inserite con barra vedi issue https://github.com/coder-molok/foowd_alpha2/issues/74\r\n\r\nVedi https://github.com/coder-molok/foowd_alpha2/blob/master/doc/Grafics/foow_pages.pdf pg 19"},"comment":{"url":"https://api.github.com/repos/coder-molok/foowd_alpha2/issues/comments/117006733","html_url":"https://github.com/coder-molok/foowd_alpha2/issues/75#issuecomment-117006733","issue_url":"https://api.github.com/repos/coder-molok/foowd_alpha2/issues/75","id":117006733,"user":{"login":"predorock","id":5390248,"avatar_url":"https://avatars.githubusercontent.com/u/5390248?v=3","gravatar_id":"","url":"https://api.github.com/users/predorock","html_url":"https://github.com/predorock","followers_url":"https://api.github.com/users/predorock/followers","following_url":"https://api.github.com/users/predorock/following{/other_user}","gists_url":"https://api.github.com/users/predorock/gists{/gist_id}","starred_url":"https://api.github.com/users/predorock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/predorock/subscriptions","organizations_url":"https://api.github.com/users/predorock/orgs","repos_url":"https://api.github.com/users/predorock/repos","events_url":"https://api.github.com/users/predorock/events{/privacy}","received_events_url":"https://api.github.com/users/predorock/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T06:21:21Z","updated_at":"2015-06-30T06:21:21Z","body":"Allora ho creato la pagina preferenze ma ho un piccolo problemino. Le API di simone fanno si che possa ottenere le preferenze di un certo utente, e va benissimo. Il problema che ciò che ritornano non sono i dati relativi alle offerte/preferenze ma l'associazione ```preferenza -> utente``` la quale è strutturata così:\r\n```json \r\n{\r\n    \"response\": true,\r\n    \"body\": [\r\n        {\r\n            \"Id\": 1,\r\n            \"UserId\": 37,\r\n            \"OfferId\": 2,\r\n            \"Created\": \"2015-06-11 14:14:00\",\r\n            \"Qt\": 6\r\n        },\r\n        {\r\n            \"Id\": 3,\r\n            \"UserId\": 37,\r\n            \"OfferId\": 3,\r\n            \"Created\": \"2015-06-13 14:21:07\",\r\n            \"Qt\": 36\r\n        },\r\n        {\r\n            \"Id\": 4,\r\n            \"UserId\": 37,\r\n            \"OfferId\": 4,\r\n            \"Created\": \"2015-06-14 01:32:53\",\r\n            \"Qt\": 3\r\n        },\r\n        {\r\n            \"Id\": 5,\r\n            \"UserId\": 37,\r\n            \"OfferId\": 8,\r\n            \"Created\": \"2015-06-14 01:39:38\",\r\n            \"Qt\": 4\r\n        },\r\n        {\r\n            \"Id\": 6,\r\n            \"UserId\": 37,\r\n            \"OfferId\": 7,\r\n            \"Created\": \"2015-06-14 17:17:46\",\r\n            \"Qt\": 6\r\n        },\r\n        {\r\n            \"Id\": 7,\r\n            \"UserId\": 37,\r\n            \"OfferId\": 5,\r\n            \"Created\": \"2015-06-14 18:43:09\",\r\n            \"Qt\": 5\r\n        },\r\n        {\r\n            \"Id\": 8,\r\n            \"UserId\": 37,\r\n            \"OfferId\": 6,\r\n            \"Created\": \"2015-06-15 07:45:03\",\r\n            \"Qt\": 7\r\n        },\r\n        {\r\n            \"Id\": 9,\r\n            \"UserId\": 37,\r\n            \"OfferId\": 9,\r\n            \"Created\": \"2015-06-15 07:45:29\",\r\n            \"Qt\": 8\r\n        }\r\n    ]\r\n} \r\n```\r\nOra per ottenere i dati relativi all'offerta/preferenza dovrei fare n successive chiamate per ogni OfferId del body precedente (cosa che rallenterebbe di parecchio il caricamento della pagina). Si può fare in modo che vengono trasmessi anche i dati relativi del prodotto? basterebbe nestare all'interno di ciascun elemento un oggetto json con i dettagli del prodotto.\r\n@SimoSca e chiaro? riesci a cambiarmelo?"}}