---
# System prepended metadata

title: 'Call:SiebelServiceRead.getAssets'

---

# Call:SiebelServiceRead.getAssets

## Nodes
- UC20
    - CALL_CIR_51_01

## Multiple calls: false
## Version: 20200302.0
## Note
Service will retrieve Asset structures from Siebel CRM Stage DB.

## Input
- MSISDN of customer in format 0987654321
>CALL_CIR_51_01

## Local variables

| Node | Section | Name | Description | Type | Value |
| -------- | -------- | -------- | -------- | -------- | -------- |
|      | Header     | version | Message version |  Constant | Constant value: 1.0 |
| | Header | originator | System which sends this message | Constant | Constant value: Good.bot |
| | Header | correlationId | Unique ID throught out whole Business process communication | | Generated by Good.bot Format: {conversationId}-{UUID} UUID part is generated by Good.bot for each message
| | Header | timeout | Client defined timeout in milliseconds | Constant| Constant value: 180000|
| | body | assetInstallDate | Limits assets returned from the call by their installation date | Constant T01:00:00.000+01:00 | Constant value: 1950-01-1 |
| | body | maxRecords| Defines limit of returned customers | Constant | Constant value: 50 |
| | body | assetSerialNum | Asset Serial Number (e.g. ‘1234567890’) | Variable | MSISDN of customer in format 0987654321 - information from parameter phoneNumber from GVP
| 

## Request

> [name=Michaljurco] Doplni MartinSImon podla specifikacie konkretny request, ktory budeme posielat?

## Example Request
```xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.t-mobile.sk/soa/SiebelServices/xsd" xmlns:eur="http://www.logica.com/eurotel-crm">
   <soapenv:Header/>
   <soapenv:Body>
      <xsd:GetAssetMessageIn>
         <eur:Header>
            <eur:version>1.0</eur:version>
            <eur:originator>Good.bot</eur:originator>
         </eur:Header>
         <xsd:body>
            <xsd:assetInstallDate>1950-01-01T01:00:00.000+01:00</xsd:assetInstallDate>
             <xsd:assetStatus>Active</xsd:assetStatus>
             <xsd:assetSerialNum>0556740752</xsd:assetSerialNum>
         </xsd:body>
      </xsd:GetAssetMessageIn>
   </soapenv:Body>
</soapenv:Envelope>
```

## Example Response
```xml
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Body>
      <ns0:GetAssetMessageOut xmlns:ns0="http://www.t-mobile.sk/soa/SiebelServices/xsd">
         <ns1:Header xmlns:ns1="http://www.logica.com/eurotel-crm">
            <ns1:version>1.0</ns1:version>
            <ns1:originator>TIBCO</ns1:originator>
         </ns1:Header>
         <ns0:body>
            <ns0:customerAsset>
               <ns0:customerRowId>1-BVX-1294</ns0:customerRowId>
               <ns0:asset>
                  <ns1:id xmlns:ns1="http://www.logica.com/eurotel-crm">SIEBEL-PRD-ASSET-1-4LENIFF</ns1:id>
                  <ns1:integrationId xmlns:ns1="http://www.logica.com/eurotel-crm">1-4F8XSST</ns1:integrationId>
                  <ns1:serviceInstanceId xmlns:ns1="http://www.logica.com/eurotel-crm">1-4F8XSST</ns1:serviceInstanceId>
                  <ns1:serviceAccountId xmlns:ns1="http://www.logica.com/eurotel-crm">1-BVX-1294</ns1:serviceAccountId>
                  <ns1:status xmlns:ns1="http://www.logica.com/eurotel-crm">Active</ns1:status>
                  <ns1:serialNum xmlns:ns1="http://www.logica.com/eurotel-crm">0556740752</ns1:serialNum>
                  <ns1:created xmlns:ns1="http://www.logica.com/eurotel-crm">2014-08-13T11:03:44Z</ns1:created>
                  <ns1:installDate xmlns:ns1="http://www.logica.com/eurotel-crm">2018-07-31T22:00:00Z</ns1:installDate>
                  <ns1:startDate xmlns:ns1="http://www.logica.com/eurotel-crm">2014-08-13T00:00:00+02:00</ns1:startDate>
                  <ns1:serviceType xmlns:ns1="http://www.logica.com/eurotel-crm">SUBSCRIPTION</ns1:serviceType>
                  <ns1:lastUpdated xmlns:ns1="http://www.logica.com/eurotel-crm">2019-12-03T18:56:24+01:00</ns1:lastUpdated>
                  <ns1:webProlongFlag xmlns:ns1="http://www.logica.com/eurotel-crm">false</ns1:webProlongFlag>
                  <ns1:prolongStartDate xmlns:ns1="http://www.logica.com/eurotel-crm">2020-03-03T00:00:00+01:00</ns1:prolongStartDate>
                  <ns1:cummulativeCommitment xmlns:ns1="http://www.logica.com/eurotel-crm">false</ns1:cummulativeCommitment>
                  <ns1:employeeOfferFlag xmlns:ns1="http://www.logica.com/eurotel-crm">false</ns1:employeeOfferFlag>
                  <ns1:rootAsset xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:id>SIEBEL-PRD-ASSET-1-4LENIFF</ns1:id>
                  </ns1:rootAsset>
                  <ns1:billingProfile xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:dunningScenarios>Residential A</ns1:dunningScenarios>
                     <ns1:dunningStatus>Closed</ns1:dunningStatus>
                     <ns1:dunningSubStatus>None</ns1:dunningSubStatus>
                     <ns1:id>SIEBEL-PRD-BILLINGPROFILE-1-IL9-1931</ns1:id>
                     <ns1:number>1047207501</ns1:number>
                  </ns1:billingProfile>
                  <ns1:servicePoint xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:id>SIEBEL-PRD-SERVICEPOINT-1-P0Y-992</ns1:id>
                     <ns1:number>0008023673</ns1:number>
                     <ns1:integrationId>S-1422868</ns1:integrationId>
                  </ns1:servicePoint>
                  <ns1:servicePointAddress xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:addressId>1-1P0-440</ns1:addressId>
                  </ns1:servicePointAddress>
                  <ns1:customer xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:id>SIEBEL-PRD-CUSTOMER-108172256</ns1:id>
                     <ns1:code>1047207500</ns1:code>
                  </ns1:customer>
                  <ns1:individualContract xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:contractNumber>9910926095</ns1:contractNumber>
                     <ns1:commitmentStart>2018-08-01T00:00:00+02:00</ns1:commitmentStart>
                     <ns1:commitmentEnd>2020-07-31T00:00:00+02:00</ns1:commitmentEnd>
                  </ns1:individualContract>
                  <ns1:product xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:productNumber>SX0001</ns1:productNumber>
                     <ns1:productType>TELEPHONE LINE</ns1:productType>
                     <ns1:productName>Telefonovanie</ns1:productName>
                     <ns1:promotionId>1-1OP2O2MA</ns1:promotionId>
                     <ns1:promotionName>3P INT + TV + TP 24M Domácnosti - 2015</ns1:promotionName>
                  </ns1:product>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Cable Internet QoS</ns1:name>
                     <ns1:value>0</ns1:value>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Cable Internet QoS Planned</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Cable Internet QoS Planned Date</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Cable Telephony QoS</ns1:name>
                     <ns1:value>N</ns1:value>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Copper Internet QoS</ns1:name>
                     <ns1:value>6</ns1:value>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Copper Internet QoS Planned</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Copper Internet QoS Planned Date</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Copper Telephony QoS</ns1:name>
                     <ns1:value>Y</ns1:value>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Copper TV QoS</ns1:name>
                     <ns1:value>2</ns1:value>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Copper TV QoS Planned</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Copper TV QoS Planned Date</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Naked Internet QoS</ns1:name>
                     <ns1:value>0</ns1:value>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Naked TV QoS</ns1:name>
                     <ns1:value>0</ns1:value>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Fibre Telephony Qos</ns1:name>
                     <ns1:value>1</ns1:value>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Fibre TV QoS</ns1:name>
                     <ns1:value>1</ns1:value>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Fibre TV Qos Planned</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Fibre TV Qos Planned Date</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:extendedAttribute xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:code>dunning</ns1:code>
                     <ns1:name>Upomínanie</ns1:name>
                     <ns1:value>N</ns1:value>
                  </ns1:extendedAttribute>
                  <ns1:extendedAttribute xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:code>employee_type</ns1:code>
                     <ns1:name>Typ zamestnanca</ns1:name>
                     <ns1:value>none</ns1:value>
                  </ns1:extendedAttribute>
                  <ns1:extendedAttribute xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:code>first_name</ns1:code>
                     <ns1:name>Meno</ns1:name>
                  </ns1:extendedAttribute>
                  <ns1:extendedAttribute xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:code>surname</ns1:code>
                     <ns1:name>Priezvisko</ns1:name>
                  </ns1:extendedAttribute>
                  <ns1:technicalAttribute xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:code>SELECT_TYPE</ns1:code>
                     <ns1:name>SELECT_TYPE</ns1:name>
                     <ns1:value>GENERAL</ns1:value>
                  </ns1:technicalAttribute>
               </ns0:asset>
            </ns0:customerAsset>
            <ns0:customerAsset>
               <ns0:customerRowId>1-BVX-1294</ns0:customerRowId>
               <ns0:asset>
                  <ns1:id xmlns:ns1="http://www.logica.com/eurotel-crm">SIEBEL-PRD-ASSET-1-4LENIG1</ns1:id>
                  <ns1:integrationId xmlns:ns1="http://www.logica.com/eurotel-crm">1-4F8XSTF</ns1:integrationId>
                  <ns1:serviceInstanceId xmlns:ns1="http://www.logica.com/eurotel-crm">1-4F8XSTF</ns1:serviceInstanceId>
                  <ns1:serviceAccountId xmlns:ns1="http://www.logica.com/eurotel-crm">1-BVX-1294</ns1:serviceAccountId>
                  <ns1:status xmlns:ns1="http://www.logica.com/eurotel-crm">Active</ns1:status>
                  <ns1:serialNum xmlns:ns1="http://www.logica.com/eurotel-crm">0556740752</ns1:serialNum>
                  <ns1:created xmlns:ns1="http://www.logica.com/eurotel-crm">2014-08-13T11:03:46Z</ns1:created>
                  <ns1:installDate xmlns:ns1="http://www.logica.com/eurotel-crm">2014-08-12T22:00:00Z</ns1:installDate>
                  <ns1:startDate xmlns:ns1="http://www.logica.com/eurotel-crm">2014-08-13T00:00:00+02:00</ns1:startDate>
                  <ns1:serviceType xmlns:ns1="http://www.logica.com/eurotel-crm">EVENT SOURCE</ns1:serviceType>
                  <ns1:lastUpdated xmlns:ns1="http://www.logica.com/eurotel-crm">2014-08-13T11:03:46+02:00</ns1:lastUpdated>
                  <ns1:webProlongFlag xmlns:ns1="http://www.logica.com/eurotel-crm">false</ns1:webProlongFlag>
                  <ns1:cummulativeCommitment xmlns:ns1="http://www.logica.com/eurotel-crm">false</ns1:cummulativeCommitment>
                  <ns1:employeeOfferFlag xmlns:ns1="http://www.logica.com/eurotel-crm">false</ns1:employeeOfferFlag>
                  <ns1:rootAsset xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:id>SIEBEL-PRD-ASSET-1-4LENIFF</ns1:id>
                  </ns1:rootAsset>
                  <ns1:parentAsset xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:id>SIEBEL-PRD-ASSET-1-4LENIFF</ns1:id>
                  </ns1:parentAsset>
                  <ns1:billingProfile xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:dunningScenarios>Residential A</ns1:dunningScenarios>
                     <ns1:dunningStatus>Closed</ns1:dunningStatus>
                     <ns1:dunningSubStatus>None</ns1:dunningSubStatus>
                     <ns1:id>SIEBEL-PRD-BILLINGPROFILE-1-IL9-1931</ns1:id>
                     <ns1:number>1047207501</ns1:number>
                  </ns1:billingProfile>
                  <ns1:customer xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:id>SIEBEL-PRD-CUSTOMER-108172256</ns1:id>
                     <ns1:code>1047207500</ns1:code>
                  </ns1:customer>
                  <ns1:product xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:productNumber>RS0001</ns1:productNumber>
                     <ns1:productType>PILOT EVENT SOURCE</ns1:productType>
                     <ns1:productName>Telefónne číslo</ns1:productName>
                  </ns1:product>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Cable Internet QoS</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Cable Internet QoS Planned</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Cable Internet QoS Planned Date</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Cable Telephony QoS</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Copper Internet QoS</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Copper Internet QoS Planned</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Copper Internet QoS Planned Date</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Copper Telephony QoS</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Copper TV QoS</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Copper TV QoS Planned</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1SK Copper TV QoS Planned Date</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Naked Internet QoS</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Naked TV QoS</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Fibre Telephony Qos</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Fibre TV QoS</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Fibre TV Qos Planned</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:QoS xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:name>NG1K Fibre TV Qos Planned Date</ns1:name>
                     <ns1:value/>
                  </ns1:QoS>
                  <ns1:extendedAttribute xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:code>primary_identifier</ns1:code>
                     <ns1:name>Primárny identifikátor</ns1:name>
                     <ns1:value>yes</ns1:value>
                  </ns1:extendedAttribute>
                  <ns1:extendedAttribute xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:code>selection_of_service_id</ns1:code>
                     <ns1:name>Výber ID služby</ns1:name>
                     <ns1:value>pool</ns1:value>
                  </ns1:extendedAttribute>
                  <ns1:extendedAttribute xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:code>service_type</ns1:code>
                     <ns1:name>Typ služby</ns1:name>
                  </ns1:extendedAttribute>
                  <ns1:technicalAttribute xmlns:ns1="http://www.logica.com/eurotel-crm">
                     <ns1:code>SELECT_TYPE</ns1:code>
                     <ns1:name>SELECT_TYPE</ns1:name>
                     <ns1:value>GENERAL</ns1:value>
                  </ns1:technicalAttribute>
               </ns0:asset>
            </ns0:customerAsset>
         </ns0:body>
      </ns0:GetAssetMessageOut>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
```
## Output

> [name=Michaljurco] Xpath premennu vyplna GoodAI??

| Node | Variable | Xpath | Postprocessing | Note |
| -------- | -------- | -------- | -------- | -------- |
| SP_CIR_51_01     | Service_Type    | ?     | If there is asset with serviceType=SUBSCRIPTION and has product with productType=MOBILE VOICE POSTPAID, map POSTPAID. If there is asset with serviceType=SUBSCRIPTION and has product with productType=MOBILE VOICE PREPAID, map PREPAID. If there is asset with serviceType=SUBSCRIPTION and has product with productType=TELEPHONE LINE, map FIX | Simmilar, as in UC33 CALL_THD_30_01  |


## Error handling

Invocation of the service is evaluated as successful only if no fault message is returned. Otherwise it is evaluated as failed.
## TODOs