GET v1/bunits/{bunitId}/DeleteRequestSettings/possibledates?typeId={typeId}

Get deletion request settings relevant to the business unit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bunitId The business unit requesting the deletion requests integer

Required

typeId The type of request planned to create integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

Deletion request settings relevant to the business unit

DeletionDates
NameDescriptionTypeAdditional information
ConsecutiveDays Whether or not all dates follow eachother consecutively
Information can be used to decide upon drop down list or calendar when displaying dates
boolean

None.

Dates A list of all dates that are possible when creating a deletion request
Collection of date

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<DeletionDates xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ConsecutiveDays>true</ConsecutiveDays>
  <Dates>
    <dateTime>2024-11-21T08:44:06.4545919+01:00</dateTime>
    <dateTime>2024-11-21T08:44:06.4545919+01:00</dateTime>
  </Dates>
</DeletionDates>