Difference between revisions of "API/Services/serviceLookup"
From Emersion
(made it correct.) |
(made it corrector) |
||
| Line 22: | Line 22: | ||
<ns1:service_subscr_start_date></ns1:service_subscr_start_date> - the date the subscription started | <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:service_subscr_end_date></ns1:service_subscr_end_date> - the date the subscription ended | ||
| + | <ns1:contract_length></ns1:contract_length> - the length of the contract by definition (not how much time is left, how long it is defined to be.) | ||
<ns1:contract_internal_name></ns1:contract_internal_name> - the internal name attached to the contract (if a contract is attached.) | <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_external_name></ns1:contract_external_name> - the external name attached to the contract (if a contract is attached.) | ||
Revision as of 11:32, 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_length></ns1:contract_length> - the length of the contract by definition (not how much time is left, how long it is defined to be.)
<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.