GET api/v{version}/models/{modelId}/domain
Retrieves 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
None.
Response Information
Resource Description
WebDomain| Name | Description | Type | Additional information |
|---|---|---|---|
| Correct | integer |
None. |
|
| Incorrect | integer |
None. |
|
| Unknown | integer |
None. |
|
| NoHeteroAtoms | boolean |
None. |
|
| InertAdditions | boolean |
None. |
Response 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>