User Sessions
Login with Password Request Payload
JS
{
"Parameter":[
{
"value":"JCITIZEN",
"name":"username"
},
{
"value":"MyPassword",
"name":"password"
},
{
"value":"Demo",
"name":"application"
}
],
"name":"Login",
"tenantId": "123456",
"apiKey": "AAA000-0000-0000-AAAA-A0A0A0A0A0",
"cantaraVersion":"5.0"
}
Login with Token Request Payload
JS
{
"Parameter":[
{
"value":"JCITIZEN",
"name":"username"
},
{
"name":"token",
"value":"3d1b9c32f069b7717d30973f44c6620e4dfbe3d99fdd5cc2915f4536b971d734"
},
{
"value":"Demo",
"name":"application"
}
],
"name":"Login",
"tenantId": "123456",
"apiKey": "AAA000-0000-0000-AAAA-A0A0A0A0A0",
"cantaraVersion":"5.0"
}
Response Payload
JS
{
"Parameter": [
{
"value": "FTP",
"name": "mediaAccessMethod"
},
{
"value": "JCITIZEN",
"name": "username"
},
{
"value": "1001",
"name": "addressNo"
},
{
"value": "John Citizen",
"name": "addressNoAlphaName"
},
{
"value": "",
"name": "jobQueue"
},
{
"value": "100001",
"name": "branch"
},
{
"value": "100001",
"name": "branchAddressNo"
},
{
"value": "00100",
"name": "branchCompany"
},
{
"value": " ",
"name": "branchCostCenterType"
},
{
"value": "Rinami Distribution Centre",
"name": "branchDescription"
},
{
"value": "",
"name": "approvalRouteCode"
},
{
"value": "DME",
"name": "dateFormat"
},
{
"value": " ",
"name": "dateSeparator"
},
{
"value": " ",
"name": "decimalCharacter"
},
{
"value": " ",
"name": "timeZone"
},
{
"value": "System Value",
"name": "timeZoneDescription"
},
{
"value": "",
"name": "timeZoneDescription2"
},
{
"value": "",
"name": "timeZoneSpecialHandling"
},
{
"value": " ",
"name": "timeFormat"
},
{
"value": "",
"name": "daylightRule"
},
{
"value": "3d1b9c32f069b7717d30973f44c6620e4dfbe3d99fdd5cc2915f4536b971d734",
"name": "token"
}
],
"Message": {
"value": "Transaction Successful",
"type": 0,
"sessionId": "6803.1200247068.20",
"cantaraSid": "82709e6d-211f-4a3f-9b1d-89c9f00b0d7a"
},
"name": "Login"
}