PUT api/v{version}/models/{modelId}/domain
Sets user-defined domain settings for the specified model (or globally)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
modelId |
ID of the model (0 for global domain) |
integer |
Required |
version | string |
None. |
Body Parameters
Domain settings
WebDomainName | Description | Type | Additional information |
---|---|---|---|
Correct | integer |
None. |
|
Incorrect | integer |
None. |
|
Unknown | integer |
None. |
|
NoHeteroAtoms | boolean |
None. |
|
InertAdditions | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Correct": 1, "Incorrect": 2, "Unknown": 3, "NoHeteroAtoms": true, "InertAdditions": true }
application/xml, text/xml
Sample:
<WebDomain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oasis.WebAPI.Definitions"> <Correct>1</Correct> <Incorrect>2</Incorrect> <InertAdditions>true</InertAdditions> <NoHeteroAtoms>true</NoHeteroAtoms> <Unknown>3</Unknown> </WebDomain>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.