0

Unable to Query Component Type "Object" via the API? Help requested?

Hello, I'm getting the following error when trying to query the component type 'Object'.  Seems to work find other component such as Objectlifecycle, Atomicsecurity, Objecttype, etc.

https://developer.veevavault.com/mdl/components/#object

NOTE: I'm quering using python, and using the following form:

headers = {'Authorization': self.sessionid}

url =https://qualityone.veevavault.com/api/v20.1/configuration/Object

response = requests.get(url=url, headers=headers)

When I query for Object I get the following response.  Why does it not work for Component Type "Object", but does work for the other component types?

{

    "responseStatus": "FAILURE",
    "errors": [
        {
            "type": "MALFORMED_URL",
            "message": "The resource [Object] does not exist."
        }
    ]
}

1 comment

  • Avatar
    Sameer Mehta Official comment

    Hi there,

    Querying the Object ComponentType is not supported in MDL. Object can be queried using the /api/{{version}}/metadata/vobjects endpoint only.  For more information on which component types are supported in MDL, please refer to the Component Support Matrix: http:// https://developer.veevavault.com/mdl/#component-support-matrix 

Please sign in to leave a comment.