Headers
Todas as requisições devem incluir os seguintes headers:
Content-Type:application/json
Accept:application/json
Body (JSON)
{
"keyId": "e0c199b930f9b3c9fbcf4d15ad5c1c17",
"TerminalNumber":""
}
+ Response 200 (application/json)
{
[
{
"TerminalId":"17",
"TerminalNumber":"ADV2350",
"Description":"CENTRO COMERCIAL MIGRANTES"
},
{
"TerminalId":"19",
"TerminalNumber":"ADV2351",
"Description":"AUTO POSTO RELIX LTDA"},
{
"TerminalId":"21",
"TerminalNumber":"ADV2360",
"Description":"TONINHO TINTA AUTO POSTO"
},
{
"TerminalId":"38",
"TerminalNumber":"ADV2377",
"Description":"AUTO POSTO GROU"
},
{
"TerminalId":"39",
"TerminalNumber":"ADV2376",
"Description":"POSTO NOVO BROOKLIN \/ NEBRASKA"
}
]
}
Body (JSON)
{
"keyId": "e0c199b930f9b3c9fbcf4d15ad5c1c17",
"TerminalNumber":""
}
+ Response 200 (application/json)
[
{
"TerminalNumber":"ADV2350",
"Sector":"GERAL",
"Saldo":"2050"
},
{
"TerminalNumber":"ADV2350",
"Sector":"*TODOS*",
"Saldo":"2050"
}
]
Body (JSON)
{
"keyId": "e0c199b930f9b3c9fbcf4d15ad5c1c17",
"TerminalNumber":"",
"datain" : "2020-05-01 00:00:00",
"datafim" : "2020-07-01 23:59:59"
}
+ Response 200 (application/json)
[
{
"DepositId":"13005409",
"DepositDate":"2020-04-23 00:26:39",
"Amount":"160",
"EnvelopNumber":"0",
"QtHundredBills":"0",
"QtFiftyBills":"0",
"QtTwentyBills":"0",
"QtTenBills":"16",
"QtFiveBills":"0",
"QtTwoBills":"0",
"TerminalNumber":"ADV2351",
"Sector":"GERAL","UserReg":"02"
},
{
"DepositId":"13005410",
"DepositDate":"2020-04-23 00:49:45",
"Amount":"300",
"EnvelopNumber":"0",
"QtHundredBills":"2",
"QtFiftyBills":"2",
"QtTwentyBills":"0",
"QtTenBills":"0",
"QtFiveBills":"0",
"QtTwoBills":"0",
"TerminalNumber":"ADV2351",
"Sector":"GERAL",
"UserReg":"85"
}
]
Body (JSON)
{
"keyId": "e0c199b930f9b3c9fbcf4d15ad5c1c17",
"TerminalNumber":"",
"datain" : "2020-05-01 00:00:00",
"datafim" : "2020-07-01 23:59:59"
}
+ Response 200 (application/json)
[
{
"CollectedId":"13005534",
"CollectDate":"2020-04-23 12:42:31",
"AmountCollected":"7110",
"AmountEnvelopeCollected":"0",
"EnvelopesCollected":"0",
"QtHundredBills":"26",
"QtFiftyBills":"60",
"QtTwentyBills":"47",
"QtTenBills":"43",
"QtFiveBills":"22",
"QtTwoBills":"15",
"TerminalNumber":"ADV2350",
"Sector":"GERAL"
}
]