Versions Compared

Key

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

openspecimen/rest/ng/institutes/{instId}

or

openspecimen/rest/ng/institutes/name={name}

 

Use this resource to get institute . This API returns all the institute present in the . User can also specify the search string which will be used to match the values.

...

Below are the attributes which need to be sent in the request body:

Parameter
Details
InstIdinstIdInstitute id to fetch the institute
nameInstitute name to fetch the institute


http[s]:<host>:<port>/catissuecore/rest/ng/institutes/{instId}

or

http[s]:<host>:<port>/catissuecore/rest/ng/institutes/name={name}


Use this URL to get institute by an id in caTissue application.

...

Below is the example of the get institute:

URL

http://<host>:<port>/catissuecore/rest/ng/institutes/1

or

http://<host>:<port>/catissuecore/rest/ng/institutes/name=Institute of Oklahoma

MethodGET
Requestapplication/json

Response

{

    "id" : "1",

    "name":"Institute of Oklahoma"

}

...