Skip to main content
POST
Send pension letters

Path Parameters

letterType
string
required

Body

application/json

Who to send a pension letter to.

Which letter is in the path, not here: the letter type names a sub-collection of this resource ("the enrolment letters"), and a path segment is how a collection is identified. The body carries only what is being created in it.

employeeIds
string[] | null
required

Who to write to. Repeated ids are collapsed, so asking twice for the same member still posts them one letter.

Response

Accepted

The response envelope every FlowPayroll API answers with: a message, the content, and any validationIssues. errors and the top-level metadata are deprecated copies of validationIssues and content.metadata, and will be removed.

message
object
required

What happened, as English text and a stable token to translate from. textId and textParameters are deprecated copies of token and tokenArguments.

content
object
validationIssues
object[] | null
errors
object[] | null
deprecated
read-only

Deprecated: the same issues as validationIssues (reasonText is reason, reasonId is reasonToken, reasonParameters is reasonTokenArguments). Read validationIssues; this will be removed.

metadata
object
deprecated

Deprecated: the same values as content.metadata. Read that; this will be removed.