Yunique.Toolkit.API

<back to all web services

PackageDatabaseObjectList

Returns the list of database objects — views and stored procedures — which are used in the packages

The following routes are available for this service:
GET/v1/Package/DatabaseObject/
GET/v1/Package/DatabaseObject/{ObjectType}ObjectType can take the following values: View, StoredProcedure, Table
GET/v1/Package/DatabaseObject/{ObjectType}/{PackageID}ObjectType can take the following values: View, StoredProcedure, Table

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/PackageDatabaseObjectList HTTP/1.1 
Host: plm.gerber.fila.com 
Content-Type: application/json
Content-Length: length

{"objectType":"String","packageID":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"databaseObjects":[{"packageID":"String","packageName":"String","packageDescription":"String","objectName":"String","objectType":"String"}]}