filter-formula-batch-post

post

filter-formula-batch-post

Submit an array of up to 100 formulas via POST. You can optionally supply dataSources as a JSON-formatted array of up to 20 strings, representing the data sources to query. You can obtain valid values from the /lookups/datasources endpoint. If dataSources is not specified, all known sources are searched. This will take longer. Optionally, you can also submit orderBy and orderDirection to specify the sort order for the results. Valid values for orderBy are recordId, massDefect, molecularWeight, referenceCount, dataSourceCount, pubMedCount, rscCount. Valid values for orderDirection are ascending, descending. If successful, returns a Query ID representing the search. If not successful, returns an HTTP status other than 200. After running this search, iteratively send the returned Query ID to /filter/formula/batch/{queryId}/status to check the status of the asynchronous query. When the status is 'Complete', send the Query ID to /filter/formula/batch/{queryId}/results to obtain the result.

Resource URL

https://api.rsc.org/compounds/v1 /filter/formula/batch

Header Parameters


Name Values Description
Content-Type

apikey
(required)

Your personal key

Body Parameters


Name Values Description
body
(required)

Request Body

Search query object

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400
    400

    Bad Request. Check the request you sent and try again.

  • 401
    401

    Unauthorized. Check you have supplied the correct API key and that you have sent it as an HTTP Header called 'apikey'.

  • 404
    404

    Not Found. The requested endpoint URL is not recognized. Change your request and try again.

  • 405
    405

    Method Not Allowed. The verb is incorrect for the endpoint. Change your request and try again.

  • 413
    413

    Payload Too Large. The request you sent was too big to handle. Change your request and try again.

  • 429
    429

    Too Many Requests. Send fewer requests, or use rate-limiting to slow them down, then try again.

  • 500
    500

    Internal Server Error. Wait and try again.

  • 503
    503

    Service Unavailable. Wait and try again.

Resource Summary

Security

Category

filtering

Working...