This method returns the subject domain description by the subject domain code. An exception is thrown when the subject domain code is not valid.
Input parameters
| Tag | Description |
apiKey |
Your API key |
code |
a subject domain code |
Output
| Tag | Description |
return/code |
the code of the subject domain
|
return/name |
the name of the subject domain |
Request Sample
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:stub="stubs.api.opendover.byelex.nl">
<soapenv:Header/>
<soapenv:Body>
<stub:getSubjectDomainByCode>
<apiKey>abcdefg0123456789abcdefg</apiKey>
<code>product.camera</code>
</stub:getSubjectDomainByCode>
</soapenv:Body>
</soapenv:Envelope>
Response Sample
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:getSubjectDomainByCodeResponse xmlns:ns2="stubs.api.opendover.byelex.nl">
<return>
<code>product.camera</code>
<name>Product - Camera</name>
</return>
</ns2:getSubjectDomainByCodeResponse>
</S:Body>
</S:Envelope>