Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 3.87 KB

vas.md

File metadata and controls

46 lines (40 loc) · 3.87 KB

#Value-added services for MO messages Back to main page - Table of contents - Previous section

It is possible to enable automatic retrieval of customer data and attach it to the incoming SMS messages. Currently the services offers directory inquiries and network lookup.

This integration extends the set of input parameters available in the MO SMS request given above with the following:

VAS TypeParameter nameDescription
Directory Inquirydi_recordtypeRecord type. See the table below for mapping the code to types.
CodeTypeDescription
0UnsetNo result received from the directory inquiry service provider
1PersonPersonal Record
2BusinessBusiness / company / organizational record
3HybridMixed Result Data
4UnknownType is unknown
di_firstnameFirst name, if person
di_middlenameMiddle name
di_lastnameLast name, or company name if record type is Business
di_genderGender type. See the table below for mapping the code to types.
CodeTypeDescription
0UnsetNo result received from the directory inquiry service provider
1Male
2Female
3Hybrid
4Unknown
di_birthdatePerson - Birth date in format YYYYMMDD
di_streetnameAddress - Street name
di_house_numberAddress - House number
di_entranceAddress - House entrance
di_zipAddress - Post zip number
di_zip_locationAddress - Post zip location
di_municipialityAddress - Municipality
di_countryAddress - Country
di_orgnrBusiness – Organization number
di_boxtextPostbox – Name on postbox
di_boxnumberPostbox – Number
di_boxofficePostbox - Office
di_boxzipPostbox – Post zip code
di_boxcityPostbox – Post zip location / city
di_boxcountryPostbox - Country
di_coord_matchtypeCoordinate – match type
di_coord_xposCoordinate – X Position
di_coord_yposCoordinate – Y Position
MSISDN Network lookupmsisdn_errorcodeError code
msisdn_errortextError description
msisdn_mncMobile network code
msisdn_mccMobile country code
msisdn_spidService provider ID
msisdn_spnameService provider Name
msisdn_ccCountry Code

HTTP GET example of a valid MO URL with VAS parameters

http://mogw.example.com/incomingaction?messageid=[messageid] &originator=[originator]&streetname=[di_streetname]&date_of_birth=[di_birthdate]&mnc=[msisdn_mnc]&mcc=[msisdn_mcc]

The attributes in the SMS-MO message will substitute the corresponding part of the template.