Chemical
POST /ver2/ChemicalService.svc/chemicals
envianceSdk.chemicals.createChemical
[
{
"name": "Chemical Name",
"casnum": "0",
"alias": "chemicalAlias",
"description": "chemical description",
"historyItems": [
{
"beginDate": "2012-01-01T20:00:00",
"Mw": "1",
"antA": "1",
"antB": "1",
"antC": "1",
"antAk": "1",
"antBk": "1",
"vp60": "1",
"density": "1",
"dipprA": "1",
"dipprB": "1",
"dipprC": "1",
"dipprD": "1",
"dipprE": "1",
"dipprF": "1",
"dipprG": "1",
"rcraHaz": "false",
"hap": "false",
"tri": "false",
"ehs": "false",
"pbt": "false",
"dioxin": "false",
"caa112R": "false",
"pac": "false",
"diisocyan": "false",
"cerclaHaz": "false",
"airToxicEmissionInventory": "false",
"solid": "false",
"nonEvaporative": "false",
"rcraVoc": "false",
"rcraSvoc": "false",
"caaVoc": "false"
},
{
"beginDate": "2013-02-01T20:00:00",
"Mw": "2",
"antA": "3",
"antB": "4",
"antC": "5",
"antAk": "6",
"antBk": "7",
"vp60": "8",
"density": "9",
"dipprA": "10",
"dipprB": "11",
"dipprC": "12",
"dipprD": "13",
"dipprE": "14",
"dipprF": "15",
"dipprG": "16",
"rcraHaz": "false",
"hap": "true",
"tri": "false",
"ehs": "true",
"pbt": "false",
"dioxin": "false",
"caa112R": "false",
"pac": "false",
"diisocyan": "false",
"cerclaHaz": "false",
"airToxicEmissionInventory": "false",
"solid": "false",
"nonEvaporative": "false",
"rcraVoc": "true",
"rcraSvoc": "false",
"caaVoc": "false"
}
]
},
"onsuccess",
"onerror"
]
envianceSdk.chemicalgroups.createChemicalGroup
[
{
"name": "Chemical Group Name",
"description": "Chemical Group Description",
"chemicals": [
"896197B8-E007-4169-8C03-D9D0E8411150",
"FF710D9F-4367-4C0C-A5CB-497CB18FA842"
]
},
"onsuccess",
"onerror"
]
envianceSdk.chemicallists.createChemicalList
[
{
"name": "Chemical List Name",
"description": "Chemical List Description",
"chemicalListHistoryItems": [
{
"beginDate": "2012-01-01T20:00:00",
"limits": [
{
"chemicalIdOrAlias": "FF710D9F-4367-4C0C-A5CB-497CB18FA842",
"limit": "1"
},
{
"chemicalIdOrAlias": "5376DF01-45B5-4153-ACCF-8E208DB69979",
"limit": "1"
}
]
},
{
"beginDate": "2013-01-01T20:00:00",
"limits": [
{
"chemicalIdOrAlias": "FF710D9F-4367-4C0C-A5CB-497CB18FA842",
"limit": "3"
}
]
}
]
},
"onsuccess",
"onerror"
]
Request
- Base URLhttps://api.enviance.com (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
EnvApi-Systemidstring
Specify specific system to run instead of Home
EnvApi-Packageidstring
(optional) Clients application/package ID
EnvApi-Udf-DateTime-Iso-In-CustomFieldsstring
Udfs of DateTime should use Iso
EnvApi-Udf-DateTime-ReadInUserTzstring
(obsolete) Udfs of DateTime type whould be in ReadInUserTz
EnvApi-Udf-Value-Invariantstring
(optional) Udfs - Force Non-Localized (invariant) values
EnvApi-Localization-Allstring
(optional) Extend objects with User-given Localizations
x-client-request-idstring
(optional) Client ID for double submit prevention
Request body
Response
not available
string guid required
Changes
No recorded changes to this operation across all 1 revision of this API.