SICS API Server - P&C - Domain Retrieval - Retrieve Object - Business
Retrieve Object #
Description #
This message retrieves the following fields on a business with identifier = NPTTY1A:
| Object | Field | Description |
|---|---|---|
| Business | title |
The business title |
| Insured Period | beginDateTime |
The Insured Period begin-date |
| Insured Period | beginEndTime |
The Insured Period end-date |
Request message #
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ep:retrieveObject soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://www.SicsNt.com/DomainRetrieval"
xmlns:sri="http://www.SicsNt.com/ReferenceItems"
xmlns:ep="urn:SicsWsDomainRetrievalEntryPoint">
<input>
<referenceObject xsi:type="sri:SicsBusinessReference">
<identifier>NPTTY1A</identifier>
</referenceObject>
<specification>
<elementSpecification>
<name>title</name>
</elementSpecification>
<elementSpecification>
<name>insuredPeriod</name>
<elementSpecification>
<name>beginDateTime</name>
</elementSpecification>
<elementSpecification>
<name>endDateTime</name>
</elementSpecification>
</elementSpecification>
</specification>
</input>
</ep:retrieveObject>
</soapenv:Body>
</soapenv:Envelope>
Response message #
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ct="http://www.SicsNt.com/CommonTypes"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:bus="http://www.SicsNt.com/Business"
xmlns:ref="http://www.SicsNt.com/ReferenceItems"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<swdrep:retrieveObjectOut xmlns:swdrep="urn:SicsWsDomainRetrievalEntryPoint">
<result xsi:type="bus:Business">
<title xsi:type="Business example 1"></title>
<insuredPeriod xsi:type="bus:InsuredPeriod">
<beginDateTime xsi:type="xsd:dateTime">2001-01-01T00:00:00+00:00</beginDateTime>
<endDateTime xsi:type="xsd:dateTime">2001-12-31T23:59:59+00:00</endDateTime>
</insuredPeriod>
<insuredPeriod xsi:type="bus:InsuredPeriod">
<beginDateTime xsi:type="xsd:dateTime">2002-01-01T00:00:00+00:00</beginDateTime>
<endDateTime xsi:type="xsd:dateTime">2002-12-31T23:59:59+00:00</endDateTime>
</insuredPeriod>
</result>
</swdrep:retrieveObjectOut>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>