{"action":"closed","issue":{"url":"https://api.github.com/repos/mailjet/mailjet-apiv3-java/issues/48","labels_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-java/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-java/issues/48/comments","events_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-java/issues/48/events","html_url":"https://github.com/mailjet/mailjet-apiv3-java/issues/48","id":120789570,"number":48,"title":"managecontactslists , important","user":{"login":"sicoa","id":16082087,"avatar_url":"https://avatars.githubusercontent.com/u/16082087?v=3","gravatar_id":"","url":"https://api.github.com/users/sicoa","html_url":"https://github.com/sicoa","followers_url":"https://api.github.com/users/sicoa/followers","following_url":"https://api.github.com/users/sicoa/following{/other_user}","gists_url":"https://api.github.com/users/sicoa/gists{/gist_id}","starred_url":"https://api.github.com/users/sicoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sicoa/subscriptions","organizations_url":"https://api.github.com/users/sicoa/orgs","repos_url":"https://api.github.com/users/sicoa/repos","events_url":"https://api.github.com/users/sicoa/events{/privacy}","received_events_url":"https://api.github.com/users/sicoa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-07T14:49:08Z","updated_at":"2015-12-07T17:07:40Z","closed_at":"2015-12-07T17:07:40Z","body":"Hello, i would like to understand how managecontactslists works and how that applies to the rest of submethods in API, used for the java wrapper.\r\nThank you \r\nsicoaDev\r\n\r\ncontact/:id/managecontactslists\r\nMethod: Create\r\nSubscribe the contact to the given contact lists \r\ncurl -s -X POST \\\r\n--user \"$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE\" \\\r\nhttps://api.mailjet.com/v3/REST/contact/:id/managecontactslists \\\r\n-H 'Content-Type: application/json' \\\r\n-d '{\"ContactsLists\": ...}'\r\nContactsLists \t Mandatory [ Type TContactsListActionList \r\n\r\nQUESTION: what is the input here? The lists' ids?\r\n\r\nQUESTION2:\r\nIn the library implementation what should i do? \r\nThe following does not work and it is very important to me right now:\r\nrequest\r\n{\"Action\":\"\",\"Filters\":\"{}\",\"Action ID\":0,\"Resource\":\"contact\",\"ID\":1.......33,\"Body\":\"{\\\"ContactsLists\\\":[{\\\"Action\\\":\\\"addforce\\\",\\\"ListID\\\":\\\"1\\\"}]}\"}\r\nresponse:\r\n{\"Status\":405,\"ErrorInfo\":\"\",\"ErrorMessage\":\"Method not allowed\",\"StatusCode\":405}\r\n\r\nrequest = new MailjetRequest(Contact.resource, contactID)\r\n\t\t\t\t\t\t\t\t\t.property(ContactManagecontactslists.CONTACTSLISTS, new JSONArray()\r\n                                            .put(new JSONObject()\r\n                                                    .put(\"ListID\", listID)\r\n                                                    .put(\"Action\", action)));"}}