{"action":"created","issue":{"url":"https://api.github.com/repos/GSE-Project/SS2016-group1/issues/96","repository_url":"https://api.github.com/repos/GSE-Project/SS2016-group1","labels_url":"https://api.github.com/repos/GSE-Project/SS2016-group1/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/GSE-Project/SS2016-group1/issues/96/comments","events_url":"https://api.github.com/repos/GSE-Project/SS2016-group1/issues/96/events","html_url":"https://github.com/GSE-Project/SS2016-group1/issues/96","id":165534818,"number":96,"title":"POST request to 'customStops' fails","user":{"login":"skaldo","id":396663,"avatar_url":"https://avatars.githubusercontent.com/u/396663?v=3","gravatar_id":"","url":"https://api.github.com/users/skaldo","html_url":"https://github.com/skaldo","followers_url":"https://api.github.com/users/skaldo/followers","following_url":"https://api.github.com/users/skaldo/following{/other_user}","gists_url":"https://api.github.com/users/skaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/skaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skaldo/subscriptions","organizations_url":"https://api.github.com/users/skaldo/orgs","repos_url":"https://api.github.com/users/skaldo/repos","events_url":"https://api.github.com/users/skaldo/events{/privacy}","received_events_url":"https://api.github.com/users/skaldo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-14T11:03:17Z","updated_at":"2016-07-14T18:25:15Z","closed_at":null,"body":"Hi @GSE-Project/group1,\r\nwe are getting an error message if we request a new custom stop. Is there a problem on your side, or are we doing something wrong? I remember, that this feature worked before, though.\r\n\r\nYou can reproduce this issue by making the same request using the postman.\r\n\r\nBtw I don't get following:\r\n1) `POST ./customStops. --has return value as described rfc7231` states your wiki, but the _rfc7231_ describes the HTTP protocol. The section 4.3 describes the methods of the HTTP protocol. Maybe you wanted to reference the status codes, but these are described in the section _6._.\r\nAnyway, you wiki does not say anything about the payload of the HTTP POST request for the URL `customStops`.\r\n\r\n2) This `\"uuid\": \"aecbd94e-a1fd-4095-abbf-98bcdd3aa18a\"` is the part of the response. What is it? I'd understand it as the unique identifier of the device, but `aecbd94e-a1fd-4095-abbf-98bcdd3aa18a` is not equal to the submitted deviceID `somePC`.\r\n\r\n**URL:**\r\n```\r\nhttps://digital-villages-server.herokuapp.com/services/rest/linemanagement/v1/customStops\r\n```\r\n**Request:**\r\n```\r\n{\r\n    \"info\": {\r\n        \"address\": \"Musterstrasse 5\",\r\n        \"name\": \"Max Mustermann\",\r\n        \"assistance\": []\r\n    },\r\n    \"lineId\": 1,\r\n    \"deviceID\": \"somePC\",\r\n    \"pickUpTime\": 1468492871,\r\n    \"numberOfPersons\": 1,\r\n    \"location\": {\r\n        \"type\": \"Point\",\r\n        \"coordinates\": [7.769214212894444, 49.44740110245826]\r\n    }\r\n}\r\n```\r\n**Response:**\r\n```\r\n{\r\n  \"code\": \"TechnicalError\",\r\n  \"message\": \"An unexpected error has occurred! We apologize any inconvenience. Please try again later.\",\r\n  \"uuid\": \"aecbd94e-a1fd-4095-abbf-98bcdd3aa18a\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/GSE-Project/SS2016-group1/issues/comments/232750311","html_url":"https://github.com/GSE-Project/SS2016-group1/issues/96#issuecomment-232750311","issue_url":"https://api.github.com/repos/GSE-Project/SS2016-group1/issues/96","id":232750311,"user":{"login":"skaldo","id":396663,"avatar_url":"https://avatars.githubusercontent.com/u/396663?v=3","gravatar_id":"","url":"https://api.github.com/users/skaldo","html_url":"https://github.com/skaldo","followers_url":"https://api.github.com/users/skaldo/followers","following_url":"https://api.github.com/users/skaldo/following{/other_user}","gists_url":"https://api.github.com/users/skaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/skaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skaldo/subscriptions","organizations_url":"https://api.github.com/users/skaldo/orgs","repos_url":"https://api.github.com/users/skaldo/repos","events_url":"https://api.github.com/users/skaldo/events{/privacy}","received_events_url":"https://api.github.com/users/skaldo/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T18:25:15Z","updated_at":"2016-07-14T18:25:15Z","body":"@Sriramk88 I have an update:\r\nI've requested a stop with the ID = 2, now the server does not output an empty array anymore, but the same same weird response containing the error message:\r\n```\r\n[{\r\n    \"id\": 10000001,\r\n    \"modificationCounter\": 0,\r\n    \"revision\": null,\r\n    \"lineId\": 1,\r\n    \"pickUpTime\": 1468492871000,\r\n    \"location\": {\r\n        \"type\": \"Point\",\r\n        \"coordinates\": [7.769214213, 49.447401102]\r\n    },\r\n    \"numberOfPersons\": 1,\r\n    \"deviceId\": \"2\",\r\n    \"userInfo\": \"Max Mustermann;Musterstrasse 5;\",\r\n    \"status\": 1,\r\n    \"acceptingBus\": null,\r\n    \"timeStamp\": 1468520416861,\r\n    \"rejectingBus\": null\r\n}] {\r\n    \"code\": \"TechnicalError\",\r\n    \"message\": \"An unexpected error has occurred! We apologize any inconvenience. Please try again later.\",\r\n    \"uuid\": \"e9b5403d-3bc1-4f6c-a1ce-dab835ac42e2\"\r\n}\r\n```"}}
{"actor":{"display_login":"skaldo"}}