net.olamaelcu.livtet.biblio.readingGoal.set

Upsert the reading goal at rkey 'current'.

Details · procedure
Kindprocedure
AuthorityreadingGoal.biblio.livtet.olamaelcu.net
Indexed

Procedure

procedure · POST

Input

application/json

booksGoal

requiredinteger

Number of books to finish in the period.

  • minimum: 1

period

requiredstring

weekly = Mon-Sun, monthly = calendar month, annual = calendar year.

  • knownValues: weekly | monthly | annual

year

requiredinteger

Calendar year the goal belongs to.

  • minimum: 1900
  • maximum: 9999

Output

application/json

booksGoal

requiredinteger

The goal that was written.

period

requiredstring

The period that was written.

uri

requiredstring · at-uri

AT-URI of the readingGoal record.

year

requiredinteger

The year that was written.