my.getTokenId
Support this jsapi in version 0.7.14+
Get DFP tokenId
Sample Code
copy
my.call('getTokenId', {
success: function(res) {
my.alert({ title: 'getTokenId', content: JSON.stringify(res) });
},
fail: function(res) {
my.alert({ title: 'getTokenId fail', content: JSON.stringify(res) });
},
});Parameters
N/A
Success Callback Function
The incoming parameter is of the Object type with the following attributes:
| Property | Type | Description |
resultCode | String | 0 - Success 1002 - failed |
resultMessage | String | 0 - 1002 - |
tokenId | String | DFP tokenId Normal : Length 26 characters Downgrading : Length 3000-5000+ characters |
