Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DirectionFieldLogic
From Faces (HTTP GET)gender
  • If a commonTitle is present, it is reported as-is
  • If sex is set, its Otherwise, the one-letter code of the sex is reported (M / F / U / X)
 titleWill be mapped one-to-one from greeting.formalTitle
To Faces (HTTP PATCH / POST)gender
  • If value is a known sex type one-letter code (M / F / U / X), apply it as "sex"
    • For F set greeting commonTitle = MS
    • for M set greeting commonTitle = MR
  • If value is a known common title, apply it as such and derive the default sex from it (e.g. MR = Sex "MALE", MS = Sex "FEMALE")
  • Otherwise set Sex = "UNDEF" and remove commonTitle. The sent value will not be stored.
 titleWill be mapped one-to-one to greeting.formalTitle

...