{"action":"created","issue":{"url":"https://api.github.com/repos/GSA/sam_api/issues/128","repository_url":"https://api.github.com/repos/GSA/sam_api","labels_url":"https://api.github.com/repos/GSA/sam_api/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/GSA/sam_api/issues/128/comments","events_url":"https://api.github.com/repos/GSA/sam_api/issues/128/events","html_url":"https://github.com/GSA/sam_api/issues/128","id":283890191,"number":128,"title":"Search API v2 not allowing search by updateDate createDate","user":{"login":"krishnamohanthamisetty","id":28723990,"avatar_url":"https://avatars1.githubusercontent.com/u/28723990?v=4","gravatar_id":"","url":"https://api.github.com/users/krishnamohanthamisetty","html_url":"https://github.com/krishnamohanthamisetty","followers_url":"https://api.github.com/users/krishnamohanthamisetty/followers","following_url":"https://api.github.com/users/krishnamohanthamisetty/following{/other_user}","gists_url":"https://api.github.com/users/krishnamohanthamisetty/gists{/gist_id}","starred_url":"https://api.github.com/users/krishnamohanthamisetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krishnamohanthamisetty/subscriptions","organizations_url":"https://api.github.com/users/krishnamohanthamisetty/orgs","repos_url":"https://api.github.com/users/krishnamohanthamisetty/repos","events_url":"https://api.github.com/users/krishnamohanthamisetty/events{/privacy}","received_events_url":"https://api.github.com/users/krishnamohanthamisetty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-21T13:58:39Z","updated_at":"2018-03-06T21:27:28Z","closed_at":null,"author_association":"NONE","body":"documentation from https://gsa.github.io/sam_api/sam/index.html:\r\n\r\nVersion 2 (v2)\r\n\r\nThe following updates have been applied:\r\n\r\nAdded ability to check companies that were added/updated /expired between 2 dates\r\nWill use the following format\r\nexpirationDate:[2015-01-01,2015-05-05]\r\nupdateDate:[2015-01-01,2015-05-05]\r\ncreateDate:[2015-01-01,2015-05-05]\r\n\r\nwhen I am using API with updateDate search field\r\nhttps://api.data.gov/sam/v2/registrations?qterms=updateDate:[2017-01-01,2017-12-01]&start=1&length=10&api_key=....\r\nwe are getting following error:\r\n{\"Message\":\"One or more invalid search field(s). ', updateDate' is not a valid search field(s). Please resolve and resubmit your search. You may reference the SAM API Documentation at http://gsa.github.io/sam_api/sam/search.html for a list of valid search fields.\",\"Code\":400,\"Error\":\"Bad Request\"}\r\n\r\nsame with createDate search field\r\nhttps://api.data.gov/sam/v2/registrations?qterms=createDate:[2017-01-01,2017-12-01]&start=1&length=10&api_key=...\r\nwe are getting following error:\r\n{\"Message\":\"One or more invalid search field(s). ', createDate' is not a valid search field(s). Please resolve and resubmit your search. You may reference the SAM API Documentation at http://gsa.github.io/sam_api/sam/search.html for a list of valid search fields.\",\"Code\":400,\"Error\":\"Bad Request\"}\r\n\r\nPlease let us know what we are missing in above APIs."},"comment":{"url":"https://api.github.com/repos/GSA/sam_api/issues/comments/370934349","html_url":"https://github.com/GSA/sam_api/issues/128#issuecomment-370934349","issue_url":"https://api.github.com/repos/GSA/sam_api/issues/128","id":370934349,"user":{"login":"justawhiteguy","id":4359573,"avatar_url":"https://avatars1.githubusercontent.com/u/4359573?v=4","gravatar_id":"","url":"https://api.github.com/users/justawhiteguy","html_url":"https://github.com/justawhiteguy","followers_url":"https://api.github.com/users/justawhiteguy/followers","following_url":"https://api.github.com/users/justawhiteguy/following{/other_user}","gists_url":"https://api.github.com/users/justawhiteguy/gists{/gist_id}","starred_url":"https://api.github.com/users/justawhiteguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justawhiteguy/subscriptions","organizations_url":"https://api.github.com/users/justawhiteguy/orgs","repos_url":"https://api.github.com/users/justawhiteguy/repos","events_url":"https://api.github.com/users/justawhiteguy/events{/privacy}","received_events_url":"https://api.github.com/users/justawhiteguy/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T21:27:28Z","updated_at":"2018-03-06T21:27:28Z","author_association":"NONE","body":"I'm seeing this issue as well when doing `dunsPlus4`: receiving:\r\n ```One or more invalid search field(s). ', dunsPlus4' is not a valid search field(s).```\r\nIt seems like the it's thinking the field is `', dunsPlus4'` rather than just `dunsPlus4` (i.e. included command and space)."}}
{"actor":{"display_login":"justawhiteguy"}}