Retrieve multiple products based on a MongoDB query
Version 1.0
Endpoint
POST
https://pinv.dev.att.com/products/find-all
Copy
This endpoint allows you to retrieve a list of TMF637 products from the database by providing a MongoDB-like query in the request body. ### Features: - Supports advanced filtering using MongoDB operators such as `$eq`, `$ne`, `$gt`, `$gte`, `$lt`, `$lte`, `$in`, `$nin`, `$exists`, `$regex`, and `$elemMatch`. - Allows pagination using the `limit` and `offset` query parameters. - Optional functionality to dereference related data using the `should-dereference` query parameter. - Optionally retrieves the entire ADI package using the `as-adi-package` query parameter. > **Note**: For more information about MongoDB queries, refer to the [MongoDB Query Documentation](https://www.mongodb.com/docs/manual/tutorial/query-documents/).
http
scheme:bearer
bearerFormat:JWT
Query Parameters
- limitNumber of products in one page (Default: 1000)Example: 1000
- offsetOffset position (Default: 0)Example: 0
- should-dereferenceShould dereference the 1st level of references (Default: false). Note: setting this parameter to "true" will cause the API performance to be slower than using references only.Example: false
- as-adi-packageInclude the entire ADI, access, port and dynamic defense product package as an array. (Default: false)Example: false
Body Parameters
- objectRequired
Responses
Success response
Body
application/json
- objectRequired
- status
- timestampstring
- responseDataarray of objects