Authorization: Bearer ********************
curl --location --request GET 'https://horizon-api-sb.app.rpe.tech/api/v1/pixcard/relatorios/assinaturas?dataContratacao&ativo&dataCancelamento&idPlano&dataValidade&cpfPortador&page&size' \
--header 'Accept: */*' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'
{
"content": [
{
"idAssinatura": 0,
"dataContratacao": "2022-12-14T12:05:39.502Z",
"ativa": false,
"dataCancelamento": "2022-12-14T12:05:39.502Z",
"idPessoa": 0,
"idPlano": 0,
"dataValidade": "2025-12-14T12:05:39.502Z"
}
],
"pageable": {
"offset": 0,
"sort": {
"empty": false,
"unsorted": false,
"sorted": true
},
"paged": true,
"unpaged": false,
"pageNumber": 2,
"pageSize": 4
},
"totalElements": 10,
"totalPages": 10,
"last": false,
"size": 12,
"number": 2,
"sort": {
"empty": false,
"unsorted": false,
"sorted": true
},
"numberOfElements": 4,
"first": true,
"empty": false
}