Records CURL - Setor7Technology/portal_gateway GitHub Wiki
curl -i --user [email protected]:suasenha -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"deviceSerialNumber":"0000000000123456", "dateTimeStart":"20200101T000000", "dateTimeEnd":"20200601T000000"}' https://portal.setor7.com/gateway/rest/records
HTTP/2 200 x-powered-by: Undertow/1 server: WildFly/10 content-type: application/json date: Mon, 14 Oct 2019 18:25:32 GMT via: 1.1 google alt-svc: clear
{ "success" : true, "message" : "Success", "deviceSerialNumber" : "84E0F422BCDE07B2", "deviceTimeZone" : "America/Sao_Paulo", "records" : [ { "personId" : "06310041908", "dateTime" : "20200529T180600" }, { "personId" : "09004466924", "dateTime" : "20200529T182300" }, { ...