curl --location --request PUT 'https://api.makini.io/v4/fiscal-periods' \
--header 'Content-Type: application/json' \
--data '{
"code": "entity-code-1",
"name": "Entity Name",
"description": "Entity Description",
"periodNumber": "string",
"isQuarterStart": true,
"isQuarterEnd": true,
"isYearStart": true,
"isYearEnd": true,
"startDate": "2019-08-24",
"endDate": "2019-08-24",
"isActive": true
}'{
"data": {
"id": "12345678aaaaaa111111bbbbbb222222cccccc33",
"code": "entity-code-1",
"_source": "EndpointName",
"_idValue": "1234",
"_displayValue": "string",
"_updatedAt": "2019-08-24T14:15:22.123Z",
"_createdAt": "2019-08-24T14:15:22.123Z",
"_deletedAt": "2019-08-24T14:15:22.123Z",
"_implements": [
"string"
],
"name": "Entity Name",
"description": "Entity Description",
"periodNumber": "string",
"isQuarterStart": true,
"isQuarterEnd": true,
"isYearStart": true,
"isYearEnd": true,
"startDate": "2019-08-24",
"endDate": "2019-08-24",
"isActive": true
}
}