Difference between revisions of "API/Services/serviceLookup"

From Emersion
Jump to: navigation, search
(Created page with "'''Purpose ''' Returns service subscription information for a particular service identifier. '''Inputs''' <soapenv:Header/> <soapenv:Body> <ser:serviceLookup> ...")
 
(made it correct.)
Line 16: Line 16:
 
       <ns1:serviceLookupResponse>
 
       <ns1:serviceLookupResponse>
 
         <ns1:serviceLookupItem>
 
         <ns1:serviceLookupItem>
             <ns1:account_id></ns1:account_id>
+
             <ns1:account_id></ns1:account_id> - end user account ID
             <ns1:service_identifier></ns1:service_identifier>
+
             <ns1:service_identifier></ns1:service_identifier> - service identifier provided via input
             <ns1:subscription_status_name></ns1:subscription_status_name>
+
             <ns1:subscription_status_name></ns1:subscription_status_name> - vanity name for the subscription status (e.g. Preactive, Active etc.)
             <ns1:subscription_status_id></ns1:subscription_status_id>
+
             <ns1:subscription_status_id></ns1:subscription_status_id> - primary key for the subscription status (e.g. 1 = Preactive - See reference tables for full mapping)
             <ns1:service_subscr_start_date></ns1:service_subscr_start_date>
+
             <ns1:service_subscr_start_date></ns1:service_subscr_start_date> - the date the subscription started
             <ns1:service_subscr_end_date></ns1:service_subscr_end_date>
+
             <ns1:service_subscr_end_date></ns1:service_subscr_end_date> - the date the subscription ended
             <ns1:cont_narr></ns1:cont_narr>
+
             <ns1:contract_internal_name></ns1:contract_internal_name> - the internal name attached to the contract (if a contract is attached.)
             <ns1:contract_start_date></ns1:contract_start_date>
+
            <ns1:contract_external_name></ns1:contract_external_name> - the external name attached to the contract (if a contract is attached.)
             <ns1:contract_end_date></ns1:contract_end_date>
+
             <ns1:contract_start_date></ns1:contract_start_date> - the start date of the contract (if a contract is attached.)
             <ns1:service_start_date></ns1:service_start_date>
+
             <ns1:contract_end_date></ns1:contract_end_date> - the enddate of the contract (if a contract is attached.)
             <ns1:service_end_date></ns1:service_end_date>
+
             <ns1:service_start_date></ns1:service_start_date> - the start date of the service
             <ns1:service_type_name></ns1:service_type_name>
+
             <ns1:service_end_date></ns1:service_end_date> - the end date of the service
             <ns1:carrier_name></ns1:carrier_name>
+
             <ns1:service_type_name></ns1:service_type_name> - the vanity name attached to the service type
             <ns1:service_id></ns1:service_id>
+
             <ns1:carrier_name></ns1:carrier_name> - the carrier name
 +
             <ns1:service_id></ns1:service_id> - the primary key for the service.
 
         </ns1:serviceLookupItem>
 
         </ns1:serviceLookupItem>
 
       </ns1:serviceLookupResponse>
 
       </ns1:serviceLookupResponse>
Line 35: Line 36:
  
  
'''Error String'''
+
'''Validation Errors'''
 
+
- Missing service_identifier - Missing mandatory parameter for service identifier.
134. Missing service_identifier serviceLookup
 
 
 
135. Missing service_identifier
 

Revision as of 10:31, 27 September 2017

Purpose

Returns service subscription information for a particular service identifier.

Inputs <soapenv:Header/>

  <soapenv:Body>
     <ser:serviceLookup>
        <ser:service_identifier>1</ser:service_identifier>
     </ser:serviceLookup>
  </soapenv:Body>


Output

  <SOAP-ENV:Body>
     <ns1:serviceLookupResponse>
        <ns1:serviceLookupItem>
           <ns1:account_id></ns1:account_id> - end user account ID
           <ns1:service_identifier></ns1:service_identifier> - service identifier provided via input
           <ns1:subscription_status_name></ns1:subscription_status_name> - vanity name for the subscription status (e.g. Preactive, Active etc.)
           <ns1:subscription_status_id></ns1:subscription_status_id> - primary key for the subscription status (e.g. 1 = Preactive - See reference tables for full mapping)
           <ns1:service_subscr_start_date></ns1:service_subscr_start_date> - the date the subscription started
           <ns1:service_subscr_end_date></ns1:service_subscr_end_date> - the date the subscription ended
           <ns1:contract_internal_name></ns1:contract_internal_name> - the internal name attached to the contract (if a contract is attached.)
           <ns1:contract_external_name></ns1:contract_external_name> - the external name attached to the contract (if a contract is attached.)
           <ns1:contract_start_date></ns1:contract_start_date> - the start date of the contract (if a contract is attached.)
           <ns1:contract_end_date></ns1:contract_end_date> - the enddate of the contract (if a contract is attached.)
           <ns1:service_start_date></ns1:service_start_date> - the start date of the service
           <ns1:service_end_date></ns1:service_end_date> - the end date of the service
           <ns1:service_type_name></ns1:service_type_name> - the vanity name attached to the service type
           <ns1:carrier_name></ns1:carrier_name> - the carrier name
           <ns1:service_id></ns1:service_id> - the primary key for the service.
        </ns1:serviceLookupItem>
     </ns1:serviceLookupResponse>
  </SOAP-ENV:Body>


Validation Errors - Missing service_identifier - Missing mandatory parameter for service identifier.