Ir al contenido

Registra o modifica períodos de tipos de período de las empresas del grupo

POST
/PeriodTypes/External/InsertPeriods
curl --request POST \
--url https://api-prod.scoreplan.com.br/PeriodTypes/External/InsertPeriods \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[ { "code": "example", "description": "example", "fullDescription": "example", "startDate": "2026-04-15T12:00:00Z", "endDate": "2026-04-15T12:00:00Z", "periodType": { "code": "example", "companyId": 1 } } ]'
Media type application/json
Array<object>
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
[
{
"code": "example",
"description": "example",
"fullDescription": "example",
"startDate": "2026-04-15T12:00:00Z",
"endDate": "2026-04-15T12:00:00Z",
"periodType": {
"code": "example",
"companyId": 1
}
}
]

OK

Media type application/json
object
key
additional properties
string
Example generated
{
"additionalProperty": "example"
}