Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

/openspecimen/rest/ng/permissible-values/{ID}

Use this resource URL to delete a PV dropdown value.

http[s]:<host>:<port>/openspecimen/rest/ng/permissible-values/{ID}

Use this URL to delete the PV dropdown.

Result:

The response to this request will contain the details of the deleted PV dropdown.

Below is an example of a deleted PV dropdown:

URL

http[s]:<host>:<port>/openspecimen/rest/ng/permissible-values/91621

Method

PUT

Request

application/json

Request Payload

{
    "value": "5*5mm",
    "attribute": "spsz",
    "conceptCode": "size in mm",
    "props": {
        "abbreviation": "5x5mm"
    },
    "activityStatus": "Closed"
}

Response

{
    "id": 91622,
    "value": "5*5mm",
    "attribute": "spsz",
    "conceptCode": "size in mm",
    "props": {},
    "activityStatus": "Closed"
}

code

Applies to

Status Message

200

All resources

PV dropdown has been archieved successfully

400

All requests

Invalid parameters, e.g  entry not found … etc

401

All requests

Authorization failed, user doesn’t have authority

500

All requests

Internal server error, encountered server error while performing operations

  • No labels