Ir al contenido

Lista los períodos de un tipo de período entre dos fechas

GET
/PeriodTypes/External/ListPeriods
curl --request GET \
--url 'https://api-prod.scoreplan.com.br/PeriodTypes/External/ListPeriods?page=1&quantityPerPage=100' \
--header 'Authorization: Bearer <token>'
periodType
string
startDate
string
endDate
string
page
integer format: int32
default: 1
quantityPerPage
integer format: int32
default: 100

OK

Media type application/json
object
totalRecords
required
integer format: int64
listRecords
required
Array<object> | null
object
code
null | string
description
null | string
fullDescription
null | string
startDate
string format: date-time
endDate
string format: date-time
periodType
object
code
null | string
companyId
null | integer format: int64
Example generated
{
"totalRecords": 1,
"listRecords": [
{
"code": "example",
"description": "example",
"fullDescription": "example",
"startDate": "2026-04-15T12:00:00Z",
"endDate": "2026-04-15T12:00:00Z",
"periodType": {
"code": "example",
"companyId": 1
}
}
]
}