Skip to main content
POST
/
pension-schema
cURL
curl --request POST \
  --url https://api.sandbox.flowpayroll.ai/v2/pension/pension-schema \
  --header 'Content-Type: application/json' \
  --data '
{
  "pensionProviderId": "<string>",
  "name": "<string>",
  "paymentSource": "<string>",
  "lastReEnrolmentDate": "2023-12-25",
  "dutyStartDate": "2023-12-25",
  "externalReferenceId": "<string>"
}
'
{
  "content": {
    "data": {
      "id": "<string>",
      "organisationId": "<string>",
      "pensionProviderId": "<string>",
      "name": "<string>",
      "createdBy": "<string>",
      "createdDate": "<string>",
      "updatedBy": "<string>",
      "updatedDate": "<string>",
      "paymentSource": "<string>",
      "lastReEnrolmentDate": "2023-12-25",
      "dutyStartDate": "2023-12-25",
      "externalReferenceId": "<string>"
    },
    "metadata": {
      "dateFormat": "<string>",
      "dateTimeFormat": "<string>"
    }
  },
  "metadata": {
    "dateFormat": "<string>",
    "dateTimeFormat": "<string>"
  },
  "errors": [
    {
      "field": "<string>",
      "reasonText": "<string>",
      "reasonId": "<string>",
      "reasonParameters": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ]
    }
  ],
  "message": {
    "text": "<string>",
    "textId": "<string>",
    "textParameters": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.flowpayroll.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
pensionProviderId
string | null
required
name
string | null
required
paymentSource
string | null
lastReEnrolmentDate
string<date> | null
dutyStartDate
string<date> | null
externalReferenceId
string | null

Response

200 - application/json

OK

content
object
metadata
object
errors
object[] | null
message
object