{"action":"created","issue":{"url":"https://api.github.com/repos/diadoc/diadocsdk-1c-docs/issues/208","repository_url":"https://api.github.com/repos/diadoc/diadocsdk-1c-docs","labels_url":"https://api.github.com/repos/diadoc/diadocsdk-1c-docs/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/diadoc/diadocsdk-1c-docs/issues/208/comments","events_url":"https://api.github.com/repos/diadoc/diadocsdk-1c-docs/issues/208/events","html_url":"https://github.com/diadoc/diadocsdk-1c-docs/issues/208","id":297360577,"number":208,"title":"diadoc-api.kontur.ru - HTTP API -  GetDocument - где взять messageId?","user":{"login":"komissarovev","id":36499475,"avatar_url":"https://avatars2.githubusercontent.com/u/36499475?v=4","gravatar_id":"","url":"https://api.github.com/users/komissarovev","html_url":"https://github.com/komissarovev","followers_url":"https://api.github.com/users/komissarovev/followers","following_url":"https://api.github.com/users/komissarovev/following{/other_user}","gists_url":"https://api.github.com/users/komissarovev/gists{/gist_id}","starred_url":"https://api.github.com/users/komissarovev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/komissarovev/subscriptions","organizations_url":"https://api.github.com/users/komissarovev/orgs","repos_url":"https://api.github.com/users/komissarovev/repos","events_url":"https://api.github.com/users/komissarovev/events{/privacy}","received_events_url":"https://api.github.com/users/komissarovev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-15T08:17:08Z","updated_at":"2018-02-16T09:40:29Z","closed_at":null,"author_association":"NONE","body":"Каким методом получить объект документ? Или сначала чтобы получить документ нужно получить объект организация, а потом вызвать метод объекта организация? (если так то как получить объект организация)\r\nУ меня получилось поулчить GetMyOrganizations"},"comment":{"url":"https://api.github.com/repos/diadoc/diadocsdk-1c-docs/issues/comments/366187451","html_url":"https://github.com/diadoc/diadocsdk-1c-docs/issues/208#issuecomment-366187451","issue_url":"https://api.github.com/repos/diadoc/diadocsdk-1c-docs/issues/208","id":366187451,"user":{"login":"volodkindv","id":12305552,"avatar_url":"https://avatars1.githubusercontent.com/u/12305552?v=4","gravatar_id":"","url":"https://api.github.com/users/volodkindv","html_url":"https://github.com/volodkindv","followers_url":"https://api.github.com/users/volodkindv/followers","following_url":"https://api.github.com/users/volodkindv/following{/other_user}","gists_url":"https://api.github.com/users/volodkindv/gists{/gist_id}","starred_url":"https://api.github.com/users/volodkindv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volodkindv/subscriptions","organizations_url":"https://api.github.com/users/volodkindv/orgs","repos_url":"https://api.github.com/users/volodkindv/repos","events_url":"https://api.github.com/users/volodkindv/events{/privacy}","received_events_url":"https://api.github.com/users/volodkindv/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T09:40:29Z","updated_at":"2018-02-16T09:40:29Z","author_association":"CONTRIBUTOR","body":"Понятно, вам возвращается бинарный protobuf.\r\nПеред выполнением http запроса можно настроить заголовки для получения json в ответе:\r\n\r\n```\r\n\t\tЗаголовки = Новый Соответствие;\r\n\t\tЗаголовки.Вставить(\"Accept\",\t\t\"application/json\");  // без этого вернется протобуфер\r\n\t\tЗаголовки.Вставить(\"Content-Type\",\t\"application/json; charset=utf-8\");  // для отправки в JSON вместо protobuf\r\n\t\tЗаголовки.Вставить(\"Authorization\",\t\"DiadocAuth ddauth_api_client_id=\" + КлючАПИ + \",ddauth_token=\" + Токен);\r\n\r\n```\r\n\r\nДля чего вам http api? Впереди у вас возникнет еще несколько десятков вопросов."}}
{"actor":{"display_login":"volodkindv"}}