Skip to content

Latest commit

 

History

History
62 lines (60 loc) · 1.26 KB

Readme.md

File metadata and controls

62 lines (60 loc) · 1.26 KB

getir-case-study

Endpoints

POST /records

Parameters

Name Type Description Required
startDate string Start date of records, Format : YYYY-MM-DD Required
endDate string Finish date of records, Format : YYYY-MM-DD Required
minCount string, integer Minimum number of total count Required
maxCount string, integer Maximum number of total count Required

Response

{
"code":0,
"msg":"Success",
"records":[
        {
            "key": "zeDf4lNE2wBKZSSg",
            "createdAt": "2017-01-01T05:55:36.281Z",
            "totalCount": 2700
        },
        {
            "key": "LBM3PSG8JKx8YgWk",
            "createdAt": "2017-01-01T07:13:54.115Z",
            "totalCount": 2800
        }
]
}