5,467 bytes added
, 14:34, 30 March 2016
{{Api_DataType_Spec
|Description=Represents the list of parameters that must be sent to SIA to call registration card form.
|Members=
{{{!}} border="2" style="width:800px" cellspacing="0" cellpadding="10"
{{!}}- style="background:#88ccff;font-size:110%"
! Field
! Data Type
! Description
! Only for modtoken (N/Y)
! Used for RSA calculation (N/Y)
{{!}}- valign="top"
! formUrl
{{!}} String
{{!}} Instance parameter gvp.sia > SERVICE_URLS > FORM_URL
{{!}} N
{{!}} N
{{!}}- valign="top"
! Params.IDVERSION
{{!}} String
{{!}} Instance parameter gvp.sia > SIA_PARAMS > ID_VERSION
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.IDENTIDAD
{{!}} String
{{!}} Instance parameter gvp.sia > SERVICE_PARAMS > SIA_ENTITY
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.IDCOMERCIO
{{!}} String
{{!}} Instance parameter gvp.sia > SERVICE_PARAMS > SIA_COMMERCE
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.IDUSUARIO
{{!}} String
{{!}} Fulfilled with GVP_USERS.id
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.IDTM
{{!}} String
{{!}} "1200" for '''authorise''' operations, "1324" for '''modToken'''
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.OPCTOKEN
{{!}} String
{{!}} Instance parameter gvp.sia > SERVICE_PARAMS > OPCTOKEN
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.IDPEDIDO
{{!}} String
{{!}} MICXXXX
where XXXX = GVP_SIA_MICROPAYMENTS.ID
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.IMPTRANS
{{!}} String
{{!}} Instance parameter gvp.sia > SERVICE_PARAMS > SIA_MICROPAYMENT
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.CODMON
{{!}} String
{{!}} Instance parameter gvp.sia > SERVICE_PARAMS > SIA_CURRENCY
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.TIMETRANS
{{!}} String
{{!}} Timestamp +” “+ Zone of the web portal at the time of serving to the end customer browser the order confirmation screen. (yyyy-MM-DDThh: mm:SS.sss Etc/UTC)
In GVP timestamp will be provided always as UTC time and timezone will be always "Etc/UTC". Example: 2015-12-09T14:19:28.373 Etc/UTC
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.IPORIGEN
{{!}} String
{{!}} Client public IP address, i.e. retrieved from XFF header.
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.FIRMTOKEN
{{!}} String
{{!}} RSA signature for MANAGE CREDIT CARD operations (authorize or modToken).
{{!}} N
{{!}} N
{{!}}- valign="top"
! Params.TOKEN
{{!}} String
{{!}} Only for '''modToken''' operations the existing old token found in GVP_USERS_SIA_CARDS will be used, else it will be returned void "".
{{!}} Y
{{!}} Y (only for '''modToken''')
{{!}}- valign="top"
! Params.DESTOKEN
{{!}} String
{{!}} Instance parameter gvp.sia > SERVICE_PARAMS > DESTOKEN
{{!}} N
{{!}} Y
{{!}}- valign="top"
! Params.SUSTKNSUSCRIP
{{!}} String
{{!}} 0: SIA does not updates subscriptions.
1: SIA updates token for all subscriptions. <br/>
In GVP: 1. Only for '''modToken''' operations, else return ""
{{!}} Y
{{!}} Y (only for '''modToken''')
{{!}}- valign="top"
! Params.BJATKNANT
{{!}} String
{{!}} 0: SIA does not cancel old token.
1: SIA cancels token included in TOKEN field. <br/>
In GVP: 1. Only for '''modToken''' operations, else return ""
{{!}} Y
{{!}} Y (only for '''modToken''')
{{!}}- valign="top"
! Params.URLOK
{{!}} String
{{!}} Instance parameter gvp.sia > SERVICE_PARAMS > SIA_URL_OK + urlOK input parameter value + urlKO input parameter value
{{!}} N
{{!}} N
{{!}}- valign="top"
! Params.URLKO
{{!}} String
{{!}} Instance parameter gvp.sia > SERVICE_PARAMS > SIA_URL_KO + urlKO input parameter value
{{!}} N
{{!}} N
{{!}}- valign="top"
! Params.sNombreEvento
{{!}} String
{{!}} "1200" for '''authorise''' operations, "1324" for '''modToken'''
{{!}} N
{{!}} N
{{!}}- valign="top"
! Params.sIdWindow
{{!}} String
{{!}} Instance parameter gvp.sia > SERVICE_PARAMS > ID_WINDOW
{{!}} N
{{!}} N
{{!}}- valign="top"
{{!}}}
|Example=
Example for authorise method (it doesn't require the modtoken params).
<syntaxhighlight lang="javascript">
{
"formUrl": "http://216.177.213.245:6980/servlet/ServletDirector",
"Params": {
"IDVERSION": "0001",
"IDENTIDAD": "TVID",
"IDCOMERCIO": "055720353",
"IDUSUARIO": "12313",
"IDTM": "1200",
"OPCTTOKEN": "01",
"IDPEDIDO": "MIC1231313",
"IMPTRANS": "50",
"CODMON": "978",
"TIMETRANS": "2016-01-13T01:55:11.515 Etc/UTC",
"IPORIGEN": "195.235.092.025",
"FIRMTOKEN": "MkdqtXsJHXZ1ZbWM2N8xVwNGvHMTAcuvFEOTYxtjCkL9i9wSkMeoj5tP2TsRNvVi7GMSTZFifIYGRtkgDAXFiQfypIPVL5ExjBD71Dbm6qRKCJaT3wg+ZG3M3x85k0kcg0o8w/4MreKGXC2QJZSs3WpScftMC3wJFEDlnGPXBmS55HWaMlYDE8iF75wFsdDGrZpju2TlsmCCospM4sB2izv2iSYTU6atqjOnW0X1FAwc7lBfzR1BJY4Uiqt20P+5E6vYv04H+BIUcW8OvT1pnYbp1dCo+wRajO4gk9ZuDGfnb8Yhv231EzH9P7aar2V+UUrripFw93jlXTyR9ll+AA==",
"TOKEN":"",
"DESTOKEN": "Default",
"SUSTKNSUSCRIP":"",
"BJATKNANT":"",
"URLOK": "http://sia.notifications-ottcert.labs.gvp.telefonica.com/confirm?ok&urlPC=http://go.tv.movistar.es/creditCard/ok",
"URLKO": "http://sia.notifications-ottcert.labs.gvp.telefonica.com/confirm?error&urlPC=http://go.tv.movistar.es/creditCard/error",
"sNombreEvento": "1200",
"sIdWindow": "Interface"
}
}
</syntaxhighlight>
|KnownIssues=
None
|VersionHistory=
{{{!}} border="2" style="width:800px;" cellpadding="5" cellspacing="0"
{{!}}- style="background:#88ccff;font-size:110%"
! API Version Number
! Change description
! Changes author
{{!}}- valign="top"
! 1.0
{{!}} Initial data type implementation
{{!}}
{{!}}- valign="top"
{{!}}}
|SeeAlso=
* [[manageCreditCard]] method
}}