3 Using OSM Entity Management Web Services

This chapter describes Oracle Communications Order and Service Management (OSM) entity management web services, which provide the primary interface for managing OSM entities. For general information about web services, see "About Web Services."

About Entity Management Web Services

OSM entity management web services provide the primary interface for inbound entity operations, such as creating, updating, and querying OSM entities.

OSM web services use the SOAP messaging protocol. For information about using SOAP, see "Using the SOAP Standard Message Format." For information about testing OSM web services with software such as SoapUI or HermesJMS, see "Testing OSM Web Services."

OSM entity management web service operations are defined in a Web Service Definition Language (WSDL) file. OSM provides the following operations:

These operations can be accessed using HTTP, HTTPS, or JMS as the transport protocol.

You can use the entity management operations that are defined in the WSDL file to create, update, and query both Asset and Account entities. See "Entity Management Request and Response Examples" for information about using the operations for each of the Asset and Account entity types.

About Request Validations

All OSM web service requests are validated by the server based on the rules defined in the schema files. If a validation error occurs, the server returns a fault message detailing the validation error so it can be resolved.

Accessing the WSDL File

OSM entity management web services are included in the OSM installation. The OSM WSDL file and supporting schema files (XSD files) are located in the OSM_home/SDK/WebService/wsdl directory.

Alternatively, you can access the entity management WSDL file by entering the following URL in your web browser after you have installed, configured, and deployed the OSM server:

http://server:port/OrderManagement/entity/wsapi?WSDL

where server is the server on which the application is deployed and port is the port on which the application listens. If you access the WSDL file using this URL, you must have your user name and password configured in the WebLogic Server Administration Console and you must belong to the group OMS_ws_api.

The syntax of each OSM web service operation is specified using the XML schema, which is associated with the WSDL file for the web service, and is the same for HTTP, HTTPS, and JMS port types. The JNDI name for the JMS request queue is available in the WSDL file.

About Entity Management Web Service Operations

The remaining sections of this chapter describe each entity management web service operation, and include the following information for each operation:

  • Preconditions: Describes the conditions that must exist prior to calling the request.

  • Expected Outcome: Describes the expected result of the request.

This chapter describes only those operation parameters that require explanation. Information about required parameters is available in the XSD files provided with your OSM installation. For basic information about the structure of the WSDL and XSD files, see "Navigating WSDL and XSD Files."

This chapter includes several request and response examples for the web service operations described in this chapter. You can use these examples to help you create or understand other web service requests and responses. See "Entity Management Request and Response Examples."

Entity Management Web Service Operations

This section describes web service operations used for entity management. This includes creating, updating, and querying entities. Entity management operations are defined in the EntityManagementWS.wsdl file.

OSM web service calls are authenticated by the server based on the user ID and password provided in the request header. Only requests that pass authentication are processed by the server.

API users must belong to the WebLogic group, OMS_ws_api.

CreateEntities

This operation creates multiple entities in bulk of the same or different types. Entities are created in the order they appear in the request body. The bulk operation is performed atomically, which means that either all or none of the entities in the request are created.

Parameters

Information about required parameters is available in the XSD files provided with your OSM installation. For basic information about the structure of the WSDL and XSD files, see "Navigating WSDL and XSD Files."

Preconditions

  • The entity types referenced in the request are defined in metadata and have been deployed to the target OSM server.

  • The content of entity details that are provided in the request must conform to the specific schema for the corresponding entity.

  • The user performing the transaction is a member of workgroups that have been granted permission to create and query the entity. For information about asset and account workgroups (roles) and permissions, see OSM Modeling Guide.

Expected Outcome

The entities are created.

UpdateEntities

This operation updates multiple entities in bulk of the same or different types. Entities are updated in the order that they appear in the request body. The bulk operation is performed atomically, which means that either all or none of the entities in the request are updated.

Parameters

Include in the UpdateEntities request only the elements that are to be added, changed, or deleted. To delete an element, include it in the request with a NULL value.

Preconditions

  • The entity types referenced in the request are defined in metadata and have been deployed to the target OSM server.

  • The content of entity details that are provided in the request must conform to the specific schema for the corresponding entity.

  • The user performing the transaction is a member of workgroups that have been granted permission to update and query the entity. For information about asset and account workgroups (roles) and permissions, see OSM Modeling Guide.

Expected Outcome

The entities are updated.

GetEntity

This operation retrieves an entity. Entity details are returned based on the specific entity view. If you receive an invalid entity view error, see the troubleshooting topic in OSM System Administrator's Guide.

Parameters

Information about required parameters is available in the XSD files provided with your OSM installation. For basic information about the structure of the WSDL and XSD files, see "Navigating WSDL and XSD Files."

Preconditions

  • The specified entity exists.

  • The user performing the transaction is a member of workgroups that have been granted permission to query the entity. For information about asset and account workgroups (roles) and permissions, see OSM Modeling Guide.

Expected Outcome

The entity summary or detail data are returned. When a data element is a reference to another entity, only the ID of the referenced entity is returned.

Use the "FindEntity" operation to return more detailed data of referenced entities.

FindEntity

This operation finds a set of entities that match all search criteria defined in the SelectBy parameters section. The result set contains one page of all matched entities, up to the maximum number indicated by the MaxEntities field in the SelectBy parameter. The entities are order according to the OrderBy parameter values. Entity details are returned based on the specific entity view. For Account entities, details of referenced entities can be returned based on the Expand parameters in the request.

Parameters

SelectBy Parameters

You can use the following search parameters for the FindEntity operation.

Parameter Description
Id The identification of the entity.
Name The name of the entity.
ExternalId The identification of the entity on an external system.
Version A set of entity versions.
State A set of entity states.
CreateDate A range of entity creation dates.
QueryField You can query entities using fields defined in the QueryField parameter. In the QueryField parameter, define the Name field, which is the valid query field name for each entity type. Then you can use any one of the following in this parameter to provide query values for any field:
  • EqualTo: Matches entities that have the exact value of this field. For most data types, the EqualTo value can include wildcard characters (for example, asterisk (*), or question mark (?)).

  • From and To: Matches entities with any values in the specified range.

  • InList: Matches entities with the specific values that are provided in a list.

OffsetEntity The offset from the first record found to the first record returned. The offset is zero-based. An offset of 0 starts with the first record and an offset of 10 starts with the 11th record.
MaxEntities The size of a page, which is the maximum number of entities that will be returned in the response.
ReturnTotalEntities A Boolean parameter that specifies whether the response should indicate if the total number of matching entities were returned.

OrderBy Parameters

You can use the following sorting parameters to order the entities returned by the FindEntity operation.

Parameter Definition
SortBy Specifies the sort order of the entities: Ascending or Descending.
Fields Orders the entities by one of the following fields: CreatedDate, Id, or ExternalId.

You can also order by a searchable name that is defined for the entity.


ViewBy Parameters

You can use the following parameters to specify the entity details that are returned by the FindEntity operation.

Parameter Definition
View (Optional) The name of the view (query task) that determines the entity data that the system returns.
Expand Relevant only for Account entities. Expand parameters specify whether the details of referenced entities get returned.
  • Name: A referenced element name. Details of the referenced element will be returned. For example, an Account entity can reference a list of addresses. When Expand on address is requested, details of all addresses associated with this account will be returned along with the account details. By default, when Expand is not requested, the result contains only IDs of all associated addresses.

  • Recursive: A Boolean value that specifies whether the Expand parameter behavior will be recursively applied to the referenced entities that are also referenced by other entities. For example, an Account entity can reference a list of contacts, and a contact entity can reference a list of addresses. When Expand on contact recursively is requested, details of all addresses associated with each referenced contact for this account are returned.

  • Value: Filters the expanded Account entities when you want only some of them to be returned with details. The values of this parameter must be entity Ids.

Hierarchy Relevant only for Account entities. This Boolean parameter indicates whether Account entity results will be returned in their parent-child hierarchy.

Preconditions

  • The entity that you want to retrieve must exist.

  • The user performing the transaction is a member of workgroups that have been granted permission to query the entity. For information about asset and account workgroups (roles) and permissions, see OSM Modeling Guide.

Expected Outcome

The entity summary or detail data are returned. If requested, details of referenced entities are returned in response. If no entities match the criteria, the FindEntity operation returns an empty set.

Entity Management Request and Response Examples

This section provides sample XML requests and responses. Sample XML for any web service operation can be generated from the XSD by using any XML application, such as XMLSpy. For information about generating a sample XML file, see the procedure in "Order Management Request and Response Examples."

CreateEntities Examples for Asset Entities

This section provides a request and response example for creating asset entities by using the CreateEntities operation.

Request Example

This example request creates an asset with all related entities.

Example 3-1 CreateEntities Request: Assets

<?xml version="1.0" encoding="UTF-8"?>
<CreateEntities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://xmlns.oracle.com/communications/ordermanagement asset.xsd"
        xmlns="http://xmlns.oracle.com/communications/ordermanagement">
    <Item>
        <ExternalId>Asset123456</ExternalId>
           <Type>Asset</Type>
        <description>Asset123456</description>
        <productAction>ADD</productAction>
        <offer>
            <offerType>SIMPLE</offerType>
            <offerName>Basic VoIP</offerName>
            <offerDetails>
                <offerVersion>1</offerVersion>
                <productSpecName>VoIP PS</productSpecName>
                <productSpecVersion>1</productSpecVersion>
                <offerQuantity>1</offerQuantity>
            </offerDetails>
            <offerInstanceParameters>
                <parameterName>Call Waiting</parameterName>
                <parameterValue>Y</parameterValue>
            </offerInstanceParameters>
            <offerInstanceParameters>
                <parameterName>QoS</parameterName>
                <parameterValue>Basic</parameterValue>
            </offerInstanceParameters>
        </offer>
        <offerPricing>
            <priceType>RECURRING</priceType>
            <originalPrice>15.0</originalPrice>
            <overridePrice>15.0</overridePrice>
            <discountPercentage>0.0</discountPercentage>
            <discountType>PERCENT</discountType>
            <currencyCode>CAD</currencyCode>
        </offerPricing>
        <updateDetails>
            <orderNumber>order12345</orderNumber>
            <orderId>12345</orderId>
            <updatedBy>User1</updatedBy>
            <updatedBySystem>AIA</updatedBySystem>
        </updateDetails>
        <accountAndBillingDetails>
            <customerAccount>
                <id>1000</id>
            </customerAccount>
            <serviceAccount>
                <id>1000</id>
            </serviceAccount>
            <billingAccount>
                <id>1000</id>
            </billingAccount>
            <accountBillingProfile>
                <id>10001</id>
            </accountBillingProfile>
            <accountSystemId>CPQ</accountSystemId>
        </accountAndBillingDetails>
        <assetProperties>
                <complexDateType>MyAssetPropertiesType</complexDateType>
                <warrantyDetails>
                        <warrantyStartDate>2015-05-04T18:13:51</warrantyStartDate>
                        <warrantyEndDate>2016-05-04T18:13:51</warrantyEndDate>
                </warrantyDetails>
        </assetProperties>
    </Item>
</CreateEntities>

Response Example

This example is the response to the request for creating an asset with all related entities.

Example 3-2 CreateEntities Response: Assets

<?xml version="1.0" encoding="UTF-8"?>
<CreateEntitiesResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
    <Response>
        <Id>100007</Id>
        <ExternalId>Asset12345_1</ExternalId>
        <Type>Asset</Type>
        <Version>1</Version>
        <State>Active</State>
    </Response>
    <Response>
        <Id>100007</Id>
        <ExternalId>Asset12345_2</ExternalId>
        <Type>Asset</Type>
        <Version>1</Version>
        <State>Active</State>
    </Response>
    <Response>
        <Id>100007</Id>
        <ExternalId>Asset12345_3</ExternalId>
        <Type>Asset</Type>
        <Version>1</Version>
        <State>Active</State>
    </Response>
    <Response>
        <Id>100007</Id>
        <ExternalId>Asset12345_4</ExternalId>
        <Type>Asset</Type>
        <Version>1</Version>
        <State>Active</State>
    </Response>
    <Response>
        <Id>100007</Id>
        <ExternalId>Asset12345_5</ExternalId>
        <Type>Asset</Type>
        <Version>1</Version>
        <State>Active</State>
    </Response>
    <Response>
        <Id>100007</Id>
        <ExternalId>Asset12345_6</ExternalId>
        <Type>Asset</Type>
        <Version>1</Version>
        <State>Active</State>
    </Response>
    <Response>
        <Id>100007</Id>
        <ExternalId>Asset12345_7</ExternalId>
        <Type>Asset</Type>
        <Version>1</Version>
        <State>Active</State>
    </Response>
    <Response>
        <Id>100007</Id>
        <ExternalId>Asset12345_8</ExternalId>
        <Type>Asset</Type>
        <Version>1</Version>
        <State>Active</State>
    </Response>
</CreateEntitiesResponse>

CreateEntities Examples for Account Entities

This section provides request and response examples for creating account entities by using the CreateEntities operation.

Request Example

This example request creates an account with all related entities.

Example 3-3 CreateEntities Request: Accounts

<soapenv:Envelope xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-5B87BFEF1FD3AC2B5414558125022442">
            <wsse:Username> WS_USER_NAME </wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"> WS_USER_PASSWORD </wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <CreateEntities xmlns="http://xmlns.oracle.com/communications/ordermanagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <Item>
            <Name>User 1</Name>
            <Type>Account</Type>
            <accountNumber>User 1</accountNumber>
            <organization>CGBU</organization>
            <priceList>RODOD_Pricelist</priceList>
            <AccountExtensions>
               <complexDataType>myAccountExType</complexDataType>
               <myAccountEx_Text>user1_test</myAccountEx_Text>
               <TestAccountDetails>
                  <complexDataType>TestAccountDetailsType</complexDataType>
                  <Text1>user1_test_2</Text1>
               </TestAccountDetails>
               <accountType>Business</accountType>
               <currency>USD</currency>
               <secondaryCurrency>USD</secondaryCurrency>
               <customerStanding>Good</customerStanding>
               <customerValue>HIGH</customerValue>
               <accountClass>Customer</accountClass>
            </AccountExtensions>
            <primaryAddress>
               <AddressGeneric>
                  <lineOne>100 Test Street</lineOne>
                  <city>Chicago</city>
                  <state>Illinois</state>
                  <country>USA</country>
                  <postalCode>12098</postalCode>
               </AddressGeneric>
               <isPremise>N</isPremise>
            </primaryAddress>
            <primaryBillingProfile>
               <Name>BP: User Test 1 1111</Name>
               <billDayOfMonth>2</billDayOfMonth>
               <collections>N</collections>
               <collectionsExempt>N</collectionsExempt>
               <BillingProfileExtensions>
                  <billFrequency>Monthly</billFrequency>
                  <billMedia>Email</billMedia>
                  <billType>Summary</billType>
                  <currency>USD</currency>
                  <language>English</language>
               </BillingProfileExtensions>
               <primaryPaymentMethod>
                  <PaymentMethodExtensions>
                     <paymentMethod>Bill Me</paymentMethod>
                  </PaymentMethodExtensions>
               </primaryPaymentMethod>
            </primaryBillingProfile>
            <primaryContact>
               <firstName>User</firstName>
               <lastName>Test</lastName>
               <middleName>K</middleName>
               <salutation>Ms</salutation>
               <email>user.test@email.com</email>
               <cellPhone>5555555555</cellPhone>
               <homePhone>5555555151</homePhone>
               <workPhone>5555555252</workPhone>
               <jobTitle>Account Contact</jobTitle>
            </primaryContact>
         </Item>
      </CreateEntities>
   </soapenv:Body>
</soapenv:Envelope>

Response Example

This example is the response to the request for creating an account with all related entities.

Example 3-4 CreateEntities Response: Accounts

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <CreateEntitiesResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
         <Response>
            <Id>1002531</Id>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <Type>Account</Type>
            <Name>User 1</Name>
            <Version>1</Version>
            <State>ACTIVE</State>
         </Response>
      </CreateEntitiesResponse>
   </env:Body>
</env:Envelope>

Request Example

This example request creates an account hierarchy.

Example 3-5 CreateEntities Request: Account Hierarchy

<soapenv:Envelope xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-3EA87657FCF994148514563644036151">
            <wsse:Username>WS_USER_NAME</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">WS_USER_PASSWORD</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <ord:CreateEntities xmlns="http://xmlns.oracle.com/communications/ordermanagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <ord:Item>
            <ord:Name>A1 - Parent</ord:Name>
            <ord:Type>Account</ord:Type>
            <accountNumber>A1 - Parent</accountNumber>
            <organization>CGBU</organization>
            <priceList>RODOD_Pricelist</priceList>
            <AccountExtensions>
               <accountType>Business</accountType>
               <currency>USD</currency>
               <secondaryCurrency>USD</secondaryCurrency>
               <customerStanding>Good</customerStanding>
               <customerValue>HIGH</customerValue>
               <accountClass>Customer</accountClass>
            </AccountExtensions>
         </ord:Item>
         <ord:Item>
            <ord:Name>A2 - Child</ord:Name>
            <ord:Type>Account</ord:Type>
            <accountNumber>A2 - Child</accountNumber>
            <organization>CGBU</organization>
            <priceList>RODOD_Pricelist</priceList>
            <parentAccount>
               <accountNumber>A1 - Parent</accountNumber>
            </parentAccount>
            <rootAccount>
               <accountNumber>A1 - Parent</accountNumber>
            </rootAccount>
            <AccountExtensions>
               <accountType>Business</accountType>
               <currency>USD</currency>
               <secondaryCurrency>USD</secondaryCurrency>
               <customerStanding>Good</customerStanding>
               <customerValue>HIGH</customerValue>
               <accountClass>Service</accountClass>
            </AccountExtensions>
         </ord:Item>
         <ord:Item>
            <ord:Name>A3 Grand Child</ord:Name>
            <ord:Type>Account</ord:Type>
            <accountNumber>A3 Grand Child</accountNumber>
            <organization>CGBU</organization>
            <priceList>RODOD_Pricelist</priceList>
            <parentAccount>
               <accountNumber>A2 - Child</accountNumber>
            </parentAccount>
            <rootAccount>
               <accountNumber>A1 - Parent</accountNumber>
            </rootAccount>
            <AccountExtensions>
               <accountType>Business</accountType>
               <currency>USD</currency>
               <secondaryCurrency>USD</secondaryCurrency>
               <customerStanding>Good</customerStanding>
               <customerValue>HIGH</customerValue>
               <accountClass>Service</accountClass>
            </AccountExtensions>
         </ord:Item>
         <ord:Item>
            <ord:Name>A4 Great grand Child</ord:Name>
            <ord:Type>Account</ord:Type>
            <accountNumber>A4 Great grand Child</accountNumber>
            <organization>CGBU</organization>
            <priceList>RODOD_Pricelist</priceList>
            <parentAccount>
               <accountNumber>A3 Grand Child</accountNumber>
            </parentAccount>
            <rootAccount>
               <accountNumber>A1 - Parent</accountNumber>
            </rootAccount>
            <AccountExtensions>
               <accountType>Business</accountType>
               <currency>USD</currency>
               <secondaryCurrency>USD</secondaryCurrency>
               <customerStanding>Good</customerStanding>
               <customerValue>HIGH</customerValue>
               <accountClass>Service</accountClass>
            </AccountExtensions>
         </ord:Item>
         <ord:Item>
            <ord:Name>A5 5th Gen Child</ord:Name>
            <ord:Type>Account</ord:Type>
            <accountNumber>A5 5th Gen Child</accountNumber>
            <organization>CGBU</organization>
            <priceList>RODOD_Pricelist</priceList>
            <parentAccount>
               <accountNumber>A4 Great grand Child</accountNumber>
            </parentAccount>
            <rootAccount>
               <accountNumber>A1 - Parent</accountNumber>
            </rootAccount>
            <AccountExtensions>
               <accountType>Business</accountType>
               <currency>USD</currency>
               <secondaryCurrency>USD</secondaryCurrency>
               <customerStanding>Good</customerStanding>
               <customerValue>HIGH</customerValue>
               <accountClass>Service</accountClass>
            </AccountExtensions>
            <primaryBillingProfile>
               <Name>BP: Account 5th Gen Child</Name>
               <billDayOfMonth>2</billDayOfMonth>
               <collections>N</collections>
               <collectionsExempt>N</collectionsExempt>
               <BillingProfileExtensions>
                  <billFrequency>Monthly</billFrequency>
                  <billMedia>Email</billMedia>
                  <billType>Summary</billType>
                  <currency>USD</currency>
                  <language>English</language>
               </BillingProfileExtensions>
               <address>
                  <AddressGeneric>
                     <lineOne>4000 Hierarchy Street</lineOne>
                     <city>Columbus</city>
                     <state>Ohio</state>
                     <country>USA</country>
                     <postalCode>84023</postalCode>
                  </AddressGeneric>
                  <isPremise>N</isPremise>
               </address>
            </primaryBillingProfile>
            <primaryAddress>
               <AddressGeneric>
                  <lineOne>4000 Hierarchy Street</lineOne>
                  <city>Columbus</city>
                  <state>Ohio</state>
                  <country>USA</country>
                  <postalCode>84023</postalCode>
               </AddressGeneric>
               <isPremise>N</isPremise>
            </primaryAddress>
         </ord:Item>
      </ord:CreateEntities>
   </soapenv:Body>
</soapenv:Envelope>

Response Example

This example is the response to the request for creating an account hierarchy.

Example 3-6 CreateEntities Response: Account Hierarchy

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <CreateEntitiesResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
         <Response>
            <Id>1000036</Id>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <Type>Account</Type>
            <Name>A1 - Parent</Name>
            <Version>1</Version>
            <State>ACTIVE</State>
         </Response>
         <Response>
            <Id>1000039</Id>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <Type>Account</Type>
            <Name>A2 - Child</Name>
            <Version>1</Version>
            <State>ACTIVE</State>
         </Response>
         <Response>
            <Id>1000042</Id>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <Type>Account</Type>
            <Name>A3 Grand Child</Name>
            <Version>1</Version>
            <State>ACTIVE</State>
         </Response>
         <Response>
            <Id>1000045</Id>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <Type>Account</Type>
            <Name>A4 Great grand Child</Name>
            <Version>1</Version>
            <State>ACTIVE</State>
         </Response>
         <Response>
            <Id>1000048</Id>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <Type>Account</Type>
            <Name>A5 5th Gen Child</Name>
            <Version>1</Version>
            <State>ACTIVE</State>
         </Response>
      </CreateEntitiesResponse>
   </env:Body>
</env:Envelope>

UpdateEntities Examples for Asset Entities

This section provides a request and response example for updating the warranty start and end dates for an asset entity by using the UpdateEntities operation.

Request Example

This example is the request for updating the asset entity warranty start and end dates.

Example 3-7 UpdateEntities Request: Assets

<?xml version="1.0" encoding="UTF-8"?>
<UpdateEntities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://xmlns.oracle.com/communications/ordermanagement asset.xsd"
        xmlns="http://xmlns.oracle.com/communications/ordermanagement">
    <Item>
        <ExternalId>Asset123456</ExternalId>
        <Type>Asset</Type>
        <assetProperties>
                <complexDateType>MyAssetPropertiesType</complexDateType>
                <warrantyDetails>
                        <warrantyStartDate>2015-05-04T18:13:51</warrantyStartDate>
                        <warrantyEndDate>2016-05-04T18:13:51</warrantyEndDate>
                </warrantyDetails>
        </assetProperties>
    </Item>
</UpdateEntities>

Response Example

This example is the response to the request for updating the asset entity warranty start and end dates.

Example 3-8 UpdateEntities Response: Assets

<?xml version="1.0" encoding="UTF-8"?>
<UpdateEntitiesResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
    <Response>
        <Id>100007</Id>
        <Name/>
        <State>Active</State>
        <Version>1</Version>
        <Type>Asset</Type>
        <ExternalId>Asset12345_1</ExternalId>
     </Response>
</UpdateEntitiesResponse>

UpdateEntities Examples for Account Entities

This section provides several request and response examples for updating account entities by using the UpdateEntities operation.

Request Example

This example request updates an existing account entity address. The address ID must exist in the system.

Example 3-9 UpdateEntities Request: Update Account Entity Address

<soapenv:Envelope xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-495FEB6B4E9D7B2FB914581436183467">
            <wsse:Username>USER_NAME</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">USER_PASSWORD</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <ord:UpdateEntities xmlns="http://xmlns.oracle.com/communications/ordermanagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <ord:Item>
            <ord:Id>1002577</ord:Id>
            <ord:Type>Address</ord:Type>
            <AddressGeneric>
               <lineOne>100 Wall Street</lineOne>
            </AddressGeneric>
         </ord:Item>
      </ord:UpdateEntities>
   </soapenv:Body>
</soapenv:Envelope>

Response Example

This example is the response to the request for updating an account entity existing address.

Example 3-10 UpdateEntities Response: Update Account Entity Address

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <UpdateEntitiesResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
         <Response>
            <Id>1002577</Id>
            <Name>1863042066</Name>
            <State>ACTIVE</State>
            <Version>1</Version>
            <Type>Address</Type>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
         </Response>
      </UpdateEntitiesResponse>
   </env:Body>
</env:Envelope>

Request Example

This example request updates an account entity's billing profile with a new payment method.

Example 3-11 UpdateEntities Request: Update Account Entity Billing Profile

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-8C3EADA29BA3711A0514515279702138">
            <wsse:Username>WS_USERNAME</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">WS_PASSWORD</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <ord:UpdateEntities xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement" xmlns="http://xmlns.oracle.com/communications/ordermanagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <ord:Item>
            <ord:Id>1000002</ord:Id>
            <ord:Type>BillingProfile</ord:Type>
            <primaryPaymentMethod>
               <PaymentMethodExtensions>
                  <paymentMethod>Bill Me</paymentMethod>
               </PaymentMethodExtensions>
            </primaryPaymentMethod>
         </ord:Item>
      </ord:UpdateEntities>
   </soapenv:Body>
</soapenv:Envelope>

Response Example

This example is the response to the request for updating an account entity's billing profile.

Example 3-12 UpdateEntities Response: Update Account Entity Billing Profile

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <UpdateEntitiesResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
         <Response>
            <Id>1000002</Id>
            <Name>BP: Account-CAB-3</Name>
            <State>ACTIVE</State>
            <Version>1</Version>
            <Type>Billingprofile</Type>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
         </Response>
      </UpdateEntitiesResponse>
   </env:Body>
</env:Envelope>

Request Example

This example request updates the hierarchy of an account.

Example 3-13 UpdateEntities Request: Update Account Entity Hierarchy

<soapenv:Envelope xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-093EBAE4EB6394D19114540097566361">
            <wsse:Username>WS_USER_NAME</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">WS_PASSWORD</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <ord:UpdateEntities xmlns="http://xmlns.oracle.com/communications/ordermanagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <ord:Item>
            <ord:Id>1000540</ord:Id>
            <ord:Type>Account</ord:Type>
            <parentAccount><id>1000005</id></parentAccount>
            <rootAccount><id>1000001</id></rootAccount>
         </ord:Item>
      </ord:UpdateEntities>
   </soapenv:Body>
</soapenv:Envelope>

Response Example

This example is the response to the request for updating the hierarchy of an account.

Example 3-14 UpdateEntities Response: Update Account Entity Hierarchy

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <UpdateEntitiesResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
         <Response>
            <Id>1000540</Id>
            <Name>Account Telsa Great grand Child</Name>
            <State>ACTIVE</State>
            <Version>1</Version>
            <Type>Account</Type>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
         </Response>
      </UpdateEntitiesResponse>
   </env:Body>
</env:Envelope>

Request Example

This example request updates an account with a new primary contact.

Example 3-15 UpdateEntities Request: Update Account Entity Primary Contact

<soapenv:Envelope xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-8C3EADA29BA3711A0514515098716715">
            <wsse:Username>weblogic</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Welcome1</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <ord:UpdateEntities xmlns="http://xmlns.oracle.com/communications/ordermanagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <ord:Item>
            <ord:Id>1000018</ord:Id>
            <ord:Type>Account</ord:Type>
            <primaryContact>
               <ord:firstName>Sam</ord:firstName>
               <ord:lastName>Houston</ord:lastName>
               <ord:email>sam@txindustries.com</ord:email>
               <ord:workPhone>12145551212</ord:workPhone>
               <ord:homePhone>14695551212</ord:homePhone>
                     <ord:cellPhone>19725551212</ord:cellPhone>
               <ord:jobTitle>Chief Executive Officer</ord:jobTitle>
            </primaryContact>
         </ord:Item>
      </ord:UpdateEntities>
   </soapenv:Body>
</soapenv:Envelope>

Response Example

This example is the response to the request for updating an account with a new primary contact.

Example 3-16 UpdateEntities Response: Update Account Entity Primary Contact

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <UpdateEntitiesResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
         <Response>
            <Id>1000018</Id>
            <Name>Account Find By CompanyName</Name>
            <State>ACTIVE</State>
            <Version>1</Version>
            <Type>Account</Type>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
         </Response>
      </UpdateEntitiesResponse>
   </env:Body>
</env:Envelope>

Request Example

This example request updates a contact with an existing account.

Example 3-17 UpdateEntities Request: Update Account Entity Contact

<soapenv:Envelope xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-896EB6BAF79C5EC84414524747328592">
            <wsse:Username>weblogic</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Welcome1</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <ord:UpdateEntities>
         <ord:Item>
            <ord:Id>1000003</ord:Id>
            <ord:Type>Contact</ord:Type>
            <account><id>1000005</id></account>
         </ord:Item>
      </ord:UpdateEntities>
   </soapenv:Body>
</soapenv:Envelope>

Response Example

This example is the response to the request for updating a contact with an existing account.

Example 3-18 UpdateEntities Response: Update Account Entity Contact

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <UpdateEntitiesResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
         <Response>
            <Id>1000003</Id>
            <Name/>
            <State>ACTIVE</State>
            <Version>1</Version>
            <Type>Contact</Type>
            <ExternalId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
         </Response>
      </UpdateEntitiesResponse>
   </env:Body>
</env:Envelope>

GetEntity Examples for Asset Entities

This section provides request and response examples for retrieving an asset entity by using the GetEntity operation.

Request Example

This example request retrieves an asset entity.

Example 3-19 GetEntity Request: Assets

<?xml version="1.0" encoding="UTF-8"?>
<GetEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://xmlns.oracle.com/communications/ordermanagement asset.xsd"
        xmlns="http://xmlns.oracle.com/communications/ordermanagement">
    <Type>Asset</Type>
    <ExternalId>Asset12345_1</ExternalId>
</GetEntity>

Response Example

This example is the response to the request for retrieving an asset entity.

Example 3-20 GetEntity Response: Assets

<?xml version="1.0" encoding="UTF-8"?>
<GetEntityResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
        <Id>100001</Id>
        <CreatedDate>2016-02-24T17:45:45.000-08:00</CreatedDate>
        <ExternalId>Asset1456364744575</ExternalId>
        <Version>1</Version>
        <State>Active</State>
        <osmc:description index="1"
                xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery">Asset created for O2A</osmc:description>
        <osmc:productAction index="13"
                xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery">ADD</osmc:productAction>
        <osmc:serviceId index="2"
                xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery">100.100.100.100</osmc:serviceId>
        <osmc:parentAsset index="14"
                xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery">
                <osmc:id index="15">-1</osmc:id>
        </osmc:parentAsset>
        <osmc:rootAsset index="18"
                xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery">
                <osmc:id index="19">-1</osmc:id>
        </osmc:rootAsset>
        <osmc:promotionAsset index="16"
                xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery">
                <osmc:id index="17">-1</osmc:id>
        </osmc:promotionAsset>
        <osmc:updateDetails xsi:type="ct122:updateDetailsType" type="{OracleComms_OSM_CommonDataDictionary/4.0}updateDetailsType"
                index="65" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery"
                xmlns:ct122="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ct122:orderId index="66">A654321</ct122:orderId>
                <ct122:orderNumber index="67">A123456</ct122:orderNumber>
                <ct122:updatedBy index="68">Girish</ct122:updatedBy>
                <ct122:updatedBySystem index="69">AIA</ct122:updatedBySystem>
                <ct122:updateMode index="70">ORDER</ct122:updateMode>
        </osmc:updateDetails>
        <osmc:assetKeyDates xsi:type="ct122:assetKeyDatesType" type="{OracleComms_OSM_CommonDataDictionary/4.0}assetKeyDatesType"
                index="25" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery"
                xmlns:ct122="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ct122:startDateOfAssetVersion index="27">2016-02-24T17:45:44-08:00</ct122:startDateOfAssetVersion>
                <ct122:lastUpdateDateOfAsset index="28">2016-02-24T17:45:44-08:00</ct122:lastUpdateDateOfAsset>
                <ct122:requestedDeliveryDate index="26">2015-10-04T19:13:51-07:00</ct122:requestedDeliveryDate>
        </osmc:assetKeyDates>
        <osmc:offer index="3" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery">
                <osmc:offerType index="4">SIMPLE</osmc:offerType>
                <osmc:offerName index="5">voip</osmc:offerName>
                <osmc:offerDetails xsi:type="ct122:offerDetailsType" type="{OracleComms_OSM_CommonDataDictionary/4.0}offerDetailsType"
                        index="10" xmlns:ct122="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <ct122:productSpecName index="11">VoIP PS</ct122:productSpecName>
                        <ct122:offerQuantity index="12">1</ct122:offerQuantity>
                </osmc:offerDetails>
                <osmc:offerInstanceParameters xsi:type="ct118:VoIP_PSType" type="{OracleComms_Model_O2A_VoIP_PS/2.1.1.0.0}VoIP_PSType"
                        index="6" xmlns:ct118="OracleComms_Model_O2A_VoIP_PS/2.1.1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <ct118:TN index="7">9052678089</ct118:TN>
                        <ct118:CallWaiting index="8">Y</ct118:CallWaiting>
                        <ct118:QoS index="9">Basic</ct118:QoS>
                </osmc:offerInstanceParameters>
        </osmc:offer>
        <osmc:offerPricing xsi:type="ct122:offerPricingType" type="{OracleComms_OSM_CommonDataDictionary/4.0}offerPricingType"
                index="29" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery"
                xmlns:ct122="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ct122:priceType index="30">USAGE</ct122:priceType>
                <ct122:originalPrice index="31">899.0</ct122:originalPrice>
                <ct122:chargeStartDate index="36">2015-05-06T19:13:51-07:00</ct122:chargeStartDate>
                <ct122:chargeEndDate index="37">2016-05-06T19:13:51-07:00</ct122:chargeEndDate>
                <ct122:overridePrice index="32">799.0</ct122:overridePrice>
                <ct122:discountPercentage index="34">0</ct122:discountPercentage>
                <ct122:discountType index="35">AMOUNT</ct122:discountType>
                <ct122:discountStartDate index="44">2015-05-06T19:13:51-07:00</ct122:discountStartDate>
                <ct122:discountEndDate index="45">2016-05-06T19:13:51-07:00</ct122:discountEndDate>
                <ct122:currencyCode index="46">CAD</ct122:currencyCode>
                <ct122:usageStartDate index="38">2015-05-06T19:13:51-07:00</ct122:usageStartDate>
                <ct122:usageEndDate index="39">2016-05-06T19:13:51-07:00</ct122:usageEndDate>
                <ct122:purchaseStartDate index="40">2015-05-06T19:13:51-07:00</ct122:purchaseStartDate>
                <ct122:purchaseEndDate index="41">2016-05-06T19:13:51-07:00</ct122:purchaseEndDate>
                <ct122:serviceStartDate index="42">2015-05-06T19:13:51-07:00</ct122:serviceStartDate>
                <ct122:serviceEndDate index="43">2016-05-06T19:13:51-07:00</ct122:serviceEndDate>
                <ct122:discountAmount index="33">100</ct122:discountAmount>
        </osmc:offerPricing>
        <osmc:offerPricing xsi:type="ct122:offerPricingType" type="{OracleComms_OSM_CommonDataDictionary/4.0}offerPricingType"
                index="47" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery"
                xmlns:ct122="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ct122:priceType index="48">ONE-TIME</ct122:priceType>
                <ct122:originalPrice index="49">899.0</ct122:originalPrice>
                <ct122:chargeStartDate index="54">2015-05-06T19:13:51-07:00</ct122:chargeStartDate>
                <ct122:chargeEndDate index="55">2016-05-06T19:13:51-07:00</ct122:chargeEndDate>
                <ct122:overridePrice index="50">699.0</ct122:overridePrice>
                <ct122:discountPercentage index="52">0</ct122:discountPercentage>
                <ct122:discountType index="53">AMOUNT</ct122:discountType>
                <ct122:discountStartDate index="62">2015-05-06T19:13:51-07:00</ct122:discountStartDate>
                <ct122:discountEndDate index="63">2016-05-06T19:13:51-07:00</ct122:discountEndDate>
                <ct122:currencyCode index="64">CAD</ct122:currencyCode>
                <ct122:usageStartDate index="56">2015-05-06T19:13:51-07:00</ct122:usageStartDate>
                <ct122:usageEndDate index="57">2016-05-06T19:13:51-07:00</ct122:usageEndDate>
                <ct122:purchaseStartDate index="58">2015-05-06T19:13:51-07:00</ct122:purchaseStartDate>
                <ct122:purchaseEndDate index="59">2016-05-06T19:13:51-07:00</ct122:purchaseEndDate>
                <ct122:serviceStartDate index="60">2015-05-06T19:13:51-07:00</ct122:serviceStartDate>
                <ct122:serviceEndDate index="61">2016-05-06T19:13:51-07:00</ct122:serviceEndDate>
                <ct122:discountAmount index="51">200</ct122:discountAmount>
        </osmc:offerPricing>
        <osmc:accountAndBillingDetails xsi:type="ct122:accountAndBillingDetailsType"
                type="{OracleComms_OSM_CommonDataDictionary/4.0}accountAndBillingDetailsType" index="71"
                xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetDetailsQuery" xmlns:ct122="OracleComms_OSM_CommonDataDictionary/4.0"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ct122:accountSystemId index="80">CPQ</ct122:accountSystemId>
                <ct122:customerAccount index="72">
                        <ct122:id index="73">1234</ct122:id>
                </ct122:customerAccount>
                <ct122:billingAccount index="74">
                        <ct122:id index="75">B3459</ct122:id>
                </ct122:billingAccount>
                <ct122:serviceAccount index="78">
                        <ct122:id index="79">D1923</ct122:id>
                </ct122:serviceAccount>
                <ct122:accountBillingProfile index="76">
                        <ct122:id index="77">C92874</ct122:id>
                </ct122:accountBillingProfile>
        </osmc:accountAndBillingDetails>
        <Type>Asset</Type>
</GetEntityResponse>

GetEntity Examples for Account Entities

This section provides request and response examples for retrieving an account entity by using the GetEntity operation.

Request Example

This example request retrieves an account entity.

Example 3-21 GetEntity Request: Accounts

<soapenv:Envelope xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-3EA87657FCF994148514563644036151">
            <wsse:Username>WS_USER_NAME</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">WS_USER_PASSWORD</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <ord:GetEntity>
         <ord:Type>Account</ord:Type>
         <ord:Id>1000109</ord:Id>
         <ord:View>AccountQuery</ord:View>
      </ord:GetEntity>
   </soapenv:Body>
</soapenv:Envelope>

Response Example

This example is the response to the request to retrieve an account entity.

Example 3-22 GetEntity Response: Accounts

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <GetEntityResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
         <Id>1000109</Id>
         <CreatedDate>2016-02-08T14:55:35.000-08:00</CreatedDate>
         <ExternalId></ExternalId>
         <osmc:accountNumber index="2" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">7664389291</osmc:accountNumber>
         <Name>Oracle Corporation Inc.</Name>
         <osmc:parentAccount index="1454972135767" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
            <osmc:id index="1454972135768">-1</osmc:id>
         </osmc:parentAccount>
         <osmc:primaryAddress index="1454972135769" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
            <osmc:id index="1454972135770">1000097</osmc:id>
         </osmc:primaryAddress>
         <osmc:primaryBillingProfile index="1454972135771" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
            <osmc:id index="1454972135772">1000093</osmc:id>
         </osmc:primaryBillingProfile>
         <osmc:primaryContact index="1454972135773" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
            <osmc:id index="1454972135774">1000096</osmc:id>
         </osmc:primaryContact>
         <osmc:AccountExtensions xsi:type="ct118:AccountExtensionsType" type="{OracleComms_OSM_CommonDataDictionary/4.0}AccountExtensionsType" index="4" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery" xmlns:ct118="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ct118:accountType index="5">Business</ct118:accountType>
            <ct118:currency index="6">USD</ct118:currency>
            <ct118:accountClass index="7">Customer</ct118:accountClass>
         </osmc:AccountExtensions>
         <State>ACTIVE</State>
         <osmc:companyName index="3" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">Oracle Corporation Inc.</osmc:companyName>
         <osmc:rootAccount index="1454972135776" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
            <osmc:id index="1454972135777">-1</osmc:id>
         </osmc:rootAccount>
         <Type>Account</Type>
      </GetEntityResponse>
   </env:Body>
</env:Envelope>

FindEntity Examples for Asset Entities

This section provides request and response examples for retrieving a set of asset entities by using the FindEntity operation.

Request Example

This example request retrieves a set of asset entities.

Example 3-23 FindEntity Request: Assets

<?xml version="1.0" encoding="UTF-8"?>
<FindEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://xmlns.oracle.com/communications/ordermanagement asset.xsd"
        xmlns="http://xmlns.oracle.com/communications/ordermanagement">
    <Type>Asset</Type>
    <SelectBy>
        <State>Active</State>
        <QueryField>
            <Name>orderId</Name>
            <EqualTo>12345</EqualTo>
        </QueryField>
        <MaxEntities>30</MaxEntities>
    </SelectBy>
    <OrderBy>
        <EntityField>
            <SortBy>Ascending</SortBy>
            <Field>Id</Field>
        </EntityField>
    </OrderBy>
</FindEntity>

Response Example

This example is the response to the request to retrieves a set of asset entities.

Example 3-24 FindEntity Response: Assets

<?xml version="1.0" encoding="UTF-8"?>
<FindEntityResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
   <Type>Asset</Type>
   <Item>
       <Id>100056</Id>
       <CreatedDate>2016-02-24T17:46:18.000-08:00</CreatedDate>
       <ExternalId>Asset1456364778271_1</ExternalId>
       <Version>1</Version>
       <State>Active</State>
       <osmc:description index="1" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">line1</osmc:description>
       <osmc:parentAsset index="8" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="9">-1</osmc:id>
       </osmc:parentAsset>
       <osmc:rootAsset index="12" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="13">-1</osmc:id>
       </osmc:rootAsset>
       <osmc:promotionAsset index="10" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="11">-1</osmc:id>
       </osmc:promotionAsset>
       <osmc:childAsset index="1456364778499" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="1456364778500">100057</osmc:id>
       </osmc:childAsset>
       <osmc:offer index="2" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:offerType index="3">PROMOTION</osmc:offerType>
           <osmc:offerName index="4">Gold Promotion</osmc:offerName>
       </osmc:offer>
   </Item>
   <Item>
       <Id>100057</Id>
       <CreatedDate>2016-02-24T17:46:18.000-08:00</CreatedDate>
       <ExternalId>Asset1456364778271_2</ExternalId>
       <Version>1</Version>
       <State>Active</State>
       <osmc:description index="1" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">line2</osmc:description>
       <osmc:parentAsset index="8" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="9">-1</osmc:id>
       </osmc:parentAsset>
       <osmc:rootAsset index="12" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="13">-1</osmc:id>
       </osmc:rootAsset>
       <osmc:promotionAsset index="10" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="11">100056</osmc:id>
       </osmc:promotionAsset>
       <osmc:childAsset index="1456364778586" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="1456364778587">100058</osmc:id>
       </osmc:childAsset>
       <osmc:childAsset index="1456364778588" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="1456364778589">100059</osmc:id>
       </osmc:childAsset>
       <osmc:offer index="2" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:offerType index="3">SERVICE</osmc:offerType>
           <osmc:offerName index="4">High Speed Internet Service</osmc:offerName>
       </osmc:offer>
   </Item>
   <Item>
       <Id>100058</Id>
       <CreatedDate>2016-02-24T17:46:18.000-08:00</CreatedDate>
       <ExternalId>Asset1456364778271_3</ExternalId>
       <Version>1</Version>
       <State>Active</State>
       <osmc:description index="1" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">line3</osmc:description>
       <osmc:parentAsset index="13" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="14">100057</osmc:id>
       </osmc:parentAsset>
       <osmc:rootAsset index="17" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="18">100057</osmc:id>
       </osmc:rootAsset>
       <osmc:promotionAsset index="15" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="16">100056</osmc:id>
       </osmc:promotionAsset>
       <osmc:offer index="2" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:offerType index="3">SIMPLE</osmc:offerType>
           <osmc:offerName index="4">Basic High Speed Internet - 10Mbps</osmc:offerName>
       </osmc:offer>
   </Item>
   <Item>
       <Id>100059</Id>
       <CreatedDate>2016-02-24T17:46:18.000-08:00</CreatedDate>
       <ExternalId>Asset1456364778271_4</ExternalId>
       <Version>1</Version>
       <State>Active</State>
       <osmc:description index="1" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">line4</osmc:description>
       <osmc:parentAsset index="15" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="16">100057</osmc:id>
       </osmc:parentAsset>
       <osmc:rootAsset index="19" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="20">100057</osmc:id>
       </osmc:rootAsset>
       <osmc:promotionAsset index="17" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:id index="18">100056</osmc:id>
       </osmc:promotionAsset>
       <osmc:offer index="2" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Asset_Solution:1.0.0.0.0:view:AssetSummaryQuery">
           <osmc:offerType index="3">SIMPLE</osmc:offerType>
           <osmc:offerName index="4">Dynex Modem</osmc:offerName>
       </osmc:offer>
   </Item>
   <OffsetEntity>0</OffsetEntity>
   <EntityCount>4</EntityCount>
   <TotalEntities>0</TotalEntities>
</FindEntityResponse>

FindEntity Examples for Account Entities

This section provides a request and response example for retrieving a set of account entities by using the FindEntity operation.

For this operation, you must know the relationships between the account and its entities that you want to query.

Figure 3-1 shows the relationship of the account entities that you can query using the FindEntity operation.

Figure 3-1 Account Entity Relationship Model

Description of Figure 3-1 follows
Description of ''Figure 3-1 Account Entity Relationship Model''

Request Example

This example request retrieves a set of account entities.

Example 3-25 FindEntity Request: Accounts

<soapenv:Envelope xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
            <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-461F67A78A9EE32A8714557518649823">
            <wsse:Username>osmadmin</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Oracle123</wsse:Password>
         </wsse:UsernameToken>
         </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <FindEntity xmlns="http://xmlns.oracle.com/communications/ordermanagement" xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions" xmlns:client="http://xmlns.oracle.com/ABCSImpl/OSM/Industry/Comms/QueryCustomerPartyListOSMCommsProvABCSImpl/V1" xmlns:cor="http://xmlns.oracle.com/ABCSImpl/OSM/Industry/Comms/QueryCustomerPartyListOSMCommsProvABCSImpl/V1/correlationset" xmlns:ns1="http://xmlns.oracle.com/EnterpriseObjects/Core/Custom/EBO/CustomerParty/V2" xmlns:ns10="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:ns11="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery" xmlns:ns12="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery" xmlns:ns13="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:ns14="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery" xmlns:ns15="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:PaymentMethodQuery" xmlns:ns2="http://schemas.oracle.com/bpel/extension" xmlns:ns3="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:ns4="http://xmlns.oracle.com/EnterpriseObjects/Core/Custom/Common/V2" xmlns:ns5="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2" xmlns:ns6="urn:oasis:names:tc:xacml:2.0:policy:schema:cd:04" xmlns:ns7="urn:oasis:names:tc:xacml:2.0:context:schema:cd:04" xmlns:ns8="http://schemas.oracle.com/service/bpel/common" xmlns:ns9="http://xmlns.oracle.com/QueryCustomerPartyListOSMCommsJMSProducer" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:tns="http://xmlns.oracle.com/communications/ordermanagement" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
         <tns:Type>Account</tns:Type>
         <tns:ViewBy>
            <tns:View>AccountQuery</tns:View>
            <tns:Expand>
               <tns:Name>primaryBillingProfile</tns:Name>
               <tns:Recursive>true</tns:Recursive>
            </tns:Expand>
            <tns:Expand>
               <tns:Name>primaryAddress</tns:Name>
               <tns:Recursive>true</tns:Recursive>
            </tns:Expand>
            <tns:Expand>
               <tns:Name>primaryContact</tns:Name>
               <tns:Recursive>true</tns:Recursive>
            </tns:Expand>
            <tns:Hierarchy>true</tns:Hierarchy>
         </tns:ViewBy>
         <tns:SelectBy>
            <tns:QueryField>
               <tns:Name>companyName</tns:Name>
               <tns:InList>
                  <tns:Value>Bluth2 Company2</tns:Value>
               </tns:InList>
            </tns:QueryField>
         </tns:SelectBy>        
      </FindEntity>
   </soapenv:Body>
</soapenv:Envelope>

Response Example

This example is the response to the request to retrieve a set of account entities.

Example 3-26 FindEntity Response: Accounts

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <FindEntityResponse xmlns="http://xmlns.oracle.com/communications/ordermanagement">
         <Type>Account</Type>
         <Item>
            <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002223</ord:Id>
            <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
            <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
            <osmc:accountNumber index="2" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">5949180402</osmc:accountNumber>
            <ord:Name xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Bluth2 Company2</ord:Name>
            <osmc:parentAccount index="1456506527042" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <osmc:id index="1456506527043">-1</osmc:id>
            </osmc:parentAccount>
            <osmc:primaryAddress index="1456506527044" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002226</ord:Id>
               <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
               <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
               <osmc:AddressGeneric type="{OracleComms_OSM_CommonDataDictionary/4.0}AddressGenericType" xsi:type="ct77:AddressGenericType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                  <ct77:city>Newport Beach</ct77:city>
                  <ct77:country>USA</ct77:country>
                  <ct77:lineOne>2 Lucille Lane</ct77:lineOne>
                  <ct77:state>CA</ct77:state>
                  <ct77:postalCode>92625</ct77:postalCode>
               </osmc:AddressGeneric>
               <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery">
                  <osmc:id>1002223</osmc:id>
               </osmc:account>
               <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Address</ord:Type>
            </osmc:primaryAddress>
            <osmc:primaryBillingProfile index="1456506527046" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002224</ord:Id>
               <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
               <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
               <osmc:address xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery">
                  <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002226</ord:Id>
                  <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
                  <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                  <osmc:AddressGeneric type="{OracleComms_OSM_CommonDataDictionary/4.0}AddressGenericType" xsi:type="ct77:AddressGenericType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                     <ct77:city>Newport Beach</ct77:city>
                     <ct77:country>USA</ct77:country>
                     <ct77:lineOne>2 Lucille Lane</ct77:lineOne>
                     <ct77:state>CA</ct77:state>
                     <ct77:postalCode>92625</ct77:postalCode>
                  </osmc:AddressGeneric>
                  <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery">
                     <osmc:id>1002223</osmc:id>
                  </osmc:account>
                  <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Address</ord:Type>
               </osmc:address>
               <osmc:billDayOfMonth xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery">1</osmc:billDayOfMonth>
               <osmc:contact xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery">
                  <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002227</ord:Id>
                  <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
                  <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                  <osmc:firstName xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">George2</osmc:firstName>
                  <osmc:lastName xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">Bluth2</osmc:lastName>
                  <osmc:email xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">George@bluth.com</osmc:email>
                  <osmc:workPhone xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">949-227-9605</osmc:workPhone>
                  <osmc:address xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">
                     <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002226</ord:Id>
                     <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
                     <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                     <osmc:AddressGeneric type="{OracleComms_OSM_CommonDataDictionary/4.0}AddressGenericType" xsi:type="ct77:AddressGenericType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <ct77:city>Newport Beach</ct77:city>
                        <ct77:country>USA</ct77:country>
                        <ct77:lineOne>2 Lucille Lane</ct77:lineOne>
                        <ct77:state>CA</ct77:state>
                        <ct77:postalCode>92625</ct77:postalCode>
                     </osmc:AddressGeneric>
                     <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery">
                        <osmc:id>1002223</osmc:id>
                     </osmc:account>
                     <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Address</ord:Type>
                  </osmc:address>
                  <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
                  <ord:Name xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">-17354281</ord:Name>
                  <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">
                     <osmc:id>1002223</osmc:id>
                  </osmc:account>
                  <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Contact</ord:Type>
               </osmc:contact>
               <ord:Name xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">BP: Bluth2 Company2 1456506526738</ord:Name>
               <osmc:BillingProfileExtensions type="{OracleComms_OSM_CommonDataDictionary/4.0}BillingProfileExtensionsType" xsi:type="ct77:BillingProfileExtensionsType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                  <ct77:billFrequency>Monthly</ct77:billFrequency>
                  <ct77:billMedia>Email</ct77:billMedia>
                  <ct77:billType>Summary</ct77:billType>
                  <ct77:language>English</ct77:language>
               </osmc:BillingProfileExtensions>
               <osmc:primaryPaymentMethod xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery">
                  <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002225</ord:Id>
                  <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
                  <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                  <osmc:PaymentMethodExtensions type="{OracleComms_OSM_CommonDataDictionary/4.0}PaymentMethodExtensionsType" xsi:type="ct77:PaymentMethodExtensionsType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:PaymentMethodQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                     <ct77:paymentMethod>Bill Me</ct77:paymentMethod>
                  </osmc:PaymentMethodExtensions>
                  <osmc:billingProfile xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:PaymentMethodQuery">
                     <osmc:id>1002224</osmc:id>
                  </osmc:billingProfile>
                  <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
                  <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">PaymentMethod</ord:Type>
               </osmc:primaryPaymentMethod>
               <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
               <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery">
                  <osmc:id>1002223</osmc:id>
               </osmc:account>
               <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">BillingProfile</ord:Type>
            </osmc:primaryBillingProfile>
            <osmc:primaryContact index="1456506527048" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002227</ord:Id>
               <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
               <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
               <osmc:firstName xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">George2</osmc:firstName>
               <osmc:lastName xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">Bluth2</osmc:lastName>
               <osmc:email xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">George@bluth.com</osmc:email>
               <osmc:workPhone xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">949-227-9605</osmc:workPhone>
               <osmc:address xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">
                  <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002226</ord:Id>
                  <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
                  <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                  <osmc:AddressGeneric type="{OracleComms_OSM_CommonDataDictionary/4.0}AddressGenericType" xsi:type="ct77:AddressGenericType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                     <ct77:city>Newport Beach</ct77:city>
                     <ct77:country>USA</ct77:country>
                     <ct77:lineOne>2 Lucille Lane</ct77:lineOne>
                     <ct77:state>CA</ct77:state>
                     <ct77:postalCode>92625</ct77:postalCode>
                  </osmc:AddressGeneric>
                  <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery">
                     <osmc:id>1002223</osmc:id>
                  </osmc:account>
                  <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Address</ord:Type>
               </osmc:address>
               <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
               <ord:Name xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">-17354281</ord:Name>
               <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">
                  <osmc:id>1002223</osmc:id>
               </osmc:account>
               <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Contact</ord:Type>
            </osmc:primaryContact>
            <osmc:AccountExtensions index="4" type="{OracleComms_OSM_CommonDataDictionary/4.0}AccountExtensionsType" xsi:type="ct77:AccountExtensionsType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
               <ct77:accountType index="5">Business</ct77:accountType>
               <ct77:currency index="6">USD</ct77:currency>
               <ct77:accountClass index="7">Customer</ct77:accountClass>
            </osmc:AccountExtensions>
            <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
            <osmc:companyName index="3" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">Bluth2 Company2</osmc:companyName>
            <osmc:rootAccount index="1456506527051" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <osmc:id index="1456506527052">-1</osmc:id>
            </osmc:rootAccount>
         </Item>
         <Item>
            <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002228</ord:Id>
            <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:47.000-08:00</ord:CreatedDate>
            <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
            <osmc:accountNumber index="2" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">8140065607</osmc:accountNumber>
            <ord:Name xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Tobias2 Funke2</ord:Name>
            <osmc:parentAccount index="1456506527242" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <osmc:id index="1456506527243">1002223</osmc:id>
            </osmc:parentAccount>
            <osmc:primaryAddress index="1456506527244" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002229</ord:Id>
               <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:47.000-08:00</ord:CreatedDate>
               <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
               <osmc:AddressGeneric type="{OracleComms_OSM_CommonDataDictionary/4.0}AddressGenericType" xsi:type="ct77:AddressGenericType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                  <ct77:city>Newport Beach</ct77:city>
                  <ct77:country>USA</ct77:country>
                  <ct77:lineOne>2 Main Street</ct77:lineOne>
                  <ct77:state>CA</ct77:state>
                  <ct77:postalCode>94105</ct77:postalCode>
               </osmc:AddressGeneric>
               <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery">
                  <osmc:id>1002228</osmc:id>
               </osmc:account>
               <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Address</ord:Type>
            </osmc:primaryAddress>
            <osmc:primaryContact index="1456506527246" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002230</ord:Id>
               <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:47.000-08:00</ord:CreatedDate>
               <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
               <osmc:firstName xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">Tobias2</osmc:firstName>
               <osmc:lastName xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">Funke2</osmc:lastName>
               <osmc:email xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">Tobias@bluth.com</osmc:email>
               <osmc:workPhone xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">(949) 555-8888</osmc:workPhone>
               <osmc:address xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">
                  <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002229</ord:Id>
                  <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:47.000-08:00</ord:CreatedDate>
                  <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                  <osmc:AddressGeneric type="{OracleComms_OSM_CommonDataDictionary/4.0}AddressGenericType" xsi:type="ct77:AddressGenericType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                     <ct77:city>Newport Beach</ct77:city>
                     <ct77:country>USA</ct77:country>
                     <ct77:lineOne>2 Main Street</ct77:lineOne>
                     <ct77:state>CA</ct77:state>
                     <ct77:postalCode>94105</ct77:postalCode>
                  </osmc:AddressGeneric>
                  <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery">
                     <osmc:id>1002228</osmc:id>
                  </osmc:account>
                  <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Address</ord:Type>
               </osmc:address>
               <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
               <ord:Name xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">-181549763</ord:Name>
               <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">
                  <osmc:id>1002228</osmc:id>
               </osmc:account>
               <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Contact</ord:Type>
            </osmc:primaryContact>
            <osmc:AccountExtensions index="4" type="{OracleComms_OSM_CommonDataDictionary/4.0}AccountExtensionsType" xsi:type="ct77:AccountExtensionsType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
               <ct77:accountType index="5">Business</ct77:accountType>
               <ct77:currency index="6">USD</ct77:currency>
               <ct77:accountClass index="7">Customer</ct77:accountClass>
            </osmc:AccountExtensions>
            <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
            <osmc:companyName index="3" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">Bluth2 Company2</osmc:companyName>
            <osmc:rootAccount index="1456506527249" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <osmc:id index="1456506527250">1002223</osmc:id>
            </osmc:rootAccount>
         </Item>
         <Item>
            <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002223</ord:Id>
            <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
            <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
            <osmc:accountNumber index="2" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">5949180402</osmc:accountNumber>
            <ord:Name xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Bluth2 Company2</ord:Name>
            <osmc:parentAccount index="1456506527042" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <osmc:id index="1456506527043">-1</osmc:id>
            </osmc:parentAccount>
            <osmc:primaryAddress index="1456506527044" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002226</ord:Id>
               <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
               <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
               <osmc:AddressGeneric type="{OracleComms_OSM_CommonDataDictionary/4.0}AddressGenericType" xsi:type="ct77:AddressGenericType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                  <ct77:city>Newport Beach</ct77:city>
                  <ct77:country>USA</ct77:country>
                  <ct77:lineOne>2 Lucille Lane</ct77:lineOne>
                  <ct77:state>CA</ct77:state>
                  <ct77:postalCode>92625</ct77:postalCode>
               </osmc:AddressGeneric>
               <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery">
                  <osmc:id>1002223</osmc:id>
               </osmc:account>
               <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Address</ord:Type>
            </osmc:primaryAddress>
            <osmc:primaryBillingProfile index="1456506527046" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002224</ord:Id>
               <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
               <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
               <osmc:address xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery">
                  <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002226</ord:Id>
                  <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
                  <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                  <osmc:AddressGeneric type="{OracleComms_OSM_CommonDataDictionary/4.0}AddressGenericType" xsi:type="ct77:AddressGenericType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                     <ct77:city>Newport Beach</ct77:city>
                     <ct77:country>USA</ct77:country>
                     <ct77:lineOne>2 Lucille Lane</ct77:lineOne>
                     <ct77:state>CA</ct77:state>
                     <ct77:postalCode>92625</ct77:postalCode>
                  </osmc:AddressGeneric>
                  <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery">
                     <osmc:id>1002223</osmc:id>
                  </osmc:account>
                  <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Address</ord:Type>
               </osmc:address>
               <osmc:billDayOfMonth xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery">1</osmc:billDayOfMonth>
               <osmc:contact xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery">
                  <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002227</ord:Id>
                  <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
                  <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                  <osmc:firstName xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">George2</osmc:firstName>
                  <osmc:lastName xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">Bluth2</osmc:lastName>
                  <osmc:email xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">George@bluth.com</osmc:email>
                  <osmc:workPhone xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">949-227-9605</osmc:workPhone>
                  <osmc:address xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">
                     <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002226</ord:Id>
                     <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
                     <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                     <osmc:AddressGeneric type="{OracleComms_OSM_CommonDataDictionary/4.0}AddressGenericType" xsi:type="ct77:AddressGenericType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <ct77:city>Newport Beach</ct77:city>
                        <ct77:country>USA</ct77:country>
                        <ct77:lineOne>2 Lucille Lane</ct77:lineOne>
                        <ct77:state>CA</ct77:state>
                        <ct77:postalCode>92625</ct77:postalCode>
                     </osmc:AddressGeneric>
                     <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery">
                        <osmc:id>1002223</osmc:id>
                     </osmc:account>
                     <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Address</ord:Type>
                  </osmc:address>
                  <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
                  <ord:Name xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">-17354281</ord:Name>
                  <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">
                     <osmc:id>1002223</osmc:id>
                  </osmc:account>
                  <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Contact</ord:Type>
               </osmc:contact>
               <ord:Name xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">BP: Bluth2 Company2 1456506526738</ord:Name>
               <osmc:BillingProfileExtensions type="{OracleComms_OSM_CommonDataDictionary/4.0}BillingProfileExtensionsType" xsi:type="ct77:BillingProfileExtensionsType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                  <ct77:billFrequency>Monthly</ct77:billFrequency>
                  <ct77:billMedia>Email</ct77:billMedia>
                  <ct77:billType>Summary</ct77:billType>
                  <ct77:language>English</ct77:language>
               </osmc:BillingProfileExtensions>
               <osmc:primaryPaymentMethod xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery">
                  <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002225</ord:Id>
                  <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
                  <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                  <osmc:PaymentMethodExtensions type="{OracleComms_OSM_CommonDataDictionary/4.0}PaymentMethodExtensionsType" xsi:type="ct77:PaymentMethodExtensionsType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:PaymentMethodQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                     <ct77:paymentMethod>Bill Me</ct77:paymentMethod>
                  </osmc:PaymentMethodExtensions>
                  <osmc:billingProfile xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:PaymentMethodQuery">
                     <osmc:id>1002224</osmc:id>
                  </osmc:billingProfile>
                  <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
                  <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">PaymentMethod</ord:Type>
               </osmc:primaryPaymentMethod>
               <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
               <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:BillingProfileQuery">
                  <osmc:id>1002223</osmc:id>
               </osmc:account>
               <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">BillingProfile</ord:Type>
            </osmc:primaryBillingProfile>
            <osmc:primaryContact index="1456506527048" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002227</ord:Id>
               <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
               <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
               <osmc:firstName xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">George2</osmc:firstName>
               <osmc:lastName xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">Bluth2</osmc:lastName>
               <osmc:email xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">George@bluth.com</osmc:email>
               <osmc:workPhone xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">949-227-9605</osmc:workPhone>
               <osmc:address xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">
                  <ord:Id xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">1002226</ord:Id>
                  <ord:CreatedDate xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">2016-02-26T09:08:46.000-08:00</ord:CreatedDate>
                  <ord:ExternalId xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement"></ord:ExternalId>
                  <osmc:AddressGeneric type="{OracleComms_OSM_CommonDataDictionary/4.0}AddressGenericType" xsi:type="ct77:AddressGenericType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                     <ct77:city>Newport Beach</ct77:city>
                     <ct77:country>USA</ct77:country>
                     <ct77:lineOne>2 Lucille Lane</ct77:lineOne>
                     <ct77:state>CA</ct77:state>
                     <ct77:postalCode>92625</ct77:postalCode>
                  </osmc:AddressGeneric>
                  <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AddressQuery">
                     <osmc:id>1002223</osmc:id>
                  </osmc:account>
                  <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Address</ord:Type>
               </osmc:address>
               <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
               <ord:Name xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">-17354281</ord:Name>
               <osmc:account xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:ContactQuery">
                  <osmc:id>1002223</osmc:id>
               </osmc:account>
               <ord:Type xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">Contact</ord:Type>
            </osmc:primaryContact>
            <osmc:AccountExtensions index="4" type="{OracleComms_OSM_CommonDataDictionary/4.0}AccountExtensionsType" xsi:type="ct77:AccountExtensionsType" xmlns:ct77="OracleComms_OSM_CommonDataDictionary/4.0" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
               <ct77:accountType index="5">Business</ct77:accountType>
               <ct77:currency index="6">USD</ct77:currency>
               <ct77:accountClass index="7">Customer</ct77:accountClass>
            </osmc:AccountExtensions>
            <ord:State xmlns:ord="http://xmlns.oracle.com/communications/ordermanagement">ACTIVE</ord:State>
            <osmc:companyName index="3" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">Bluth2 Company2</osmc:companyName>
            <osmc:rootAccount index="1456506527051" xmlns:osmc="urn:oracle:names:ordermanagement:cartridge:OracleComms_OSM_Account_Solution:1.0.0.0.0:view:AccountQuery">
               <osmc:id index="1456506527052">-1</osmc:id>
            </osmc:rootAccount>
         </Item>
         <OffsetEntity>0</OffsetEntity>
         <EntityCount>3</EntityCount>
         <TotalEntities>0</TotalEntities>
      </FindEntityResponse>
   </env:Body>
</env:Envelope>