• FEATURES
  • PRICING
  • MARKETPLACE
  • CASE STUDIES
  • BLOG
  • Openspecimen/rest/ng/permissible-values API

    Hello,

    I’ve seen here on the forums that not all of the API elements in the documentation are available in the different OpenSpecimen versions. We have version 1.1 and are trying to add permissible values through the API.
    I’m getting no errors but nothing is ever added.
    Does anyone have experience with the permissible values API functions?
    Thanks,
    Kenneth Buck

    Actually, I may be getting an error in the creation of a permissible value.
    I see this in our server.log file:

    ORA-02289: sequence does not exist

    We do have a sequence in our database called CATISSUE_PERMISSIBLE_VALUE_SEQ but it’s next value was 1 when I selected it.
    So I don’t think that sequence is used in the insert of the table row.

    Hi @Kenneth_Buck,

    OpenSpecimen-v1.1 version supports some basic API’s like create/register participant, collect specimen etc.

    The permissible values API won’t work in OS-v1.1. These are supported in OpenSpecimen-v2.0. So we would suggest you to upgrade to OS-v2.0 to use all these API’s.

    In v1.1, you need to insert the permissible values using SQL’s.

    ~Nitesh