ChemPal Documentation - v1.6.0
    Preparing search index...

    Interface MacklinMsdsSearchResponse

    data payload of the MSDS search endpoint (/api/msds/search?keyword=<item_code>), as returned by request<T> after it unwraps the { code, message, data } envelope. Only the code: 200 response carries data.url; error responses (e.g. code 1104 "MSDS temporarily does not exist", code 201 "please enter a valid item number") return data: [], which lacks url.

    { "url": "https://www.macklin.cn/pdf/msds/download?lang=en&id=23884&item_id=819228" }
    
    interface MacklinMsdsSearchResponse {
        url: string;
    }
    Index

    Properties

    Properties

    url: string

    SDS document location (present only on a 200 response).