Versions Compared

Key

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

...

  1. Validate $.availability_status is one of the following (dictionary: DEVICEequipment_AVAILABILITYavailability_STATUSESstatuses)

    1. in case of error - return 422 ("value is not allowed in enum")

  2. Validate $.availability_status is not equal to the current value of availability_status

    1. in case of error - return 409 ("equipment already has {availability_status} availability_status")

...