---
title: "POST /schedules"
method: POST
path: "/schedules"
---

# POST /schedules

`POST /schedules`

store  schedules , return 201 if ok

## Request body

- InputSchedules
  - `nationalId` string, required — Icelandic nationalID
  - `phoneNumber` string, required — Phone number
  - `email` string, required — e-mail
  - `schedules` Schedules[], required
    - `type` string, required — schedule type
    - `organizationID` string, required
    - `payments` Payments[], required
      - `duedate` string, required
      - `payment` integer, required
      - `accumulated` integer, required
    - `chargeTypes` ChargeTypes[], required
      - `chargeID` string, required

## Response `200`

OK

- SchedulesPOSTResponse
  - `error` ProblemDetailsDT
    - `type` string — A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank".
    - `title` string, required — A short, human-readable summary of the problem type.It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization(e.g., using proactive content negotiation; see[RFC7231], Section 3.4).
    - `status` string, required — The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
    - `detail` string, required — A human-readable explanation specific to this occurrence of the problem.
    - `instance` string — A URI reference that identifies the specific occurrence of the problem.It may or may not yield further information if dereferenced.
    - `errors` Errors[]
      - `type` string
      - `title` string, required
      - `detail` string, required
      - `param` string
      - `traceId` string

## Other responses

- `401` — Access Denied

---

[API](https://skmtc.net/island-is/apis/payment-schedule-1-1.md) · [All operations](https://skmtc.net/island-is/apis/payment-schedule-1-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/island-is/payment-schedule-1-1/revisions/4e66c7728e19/schema)
