L’objet transaction est retourné les webhook avec les données suivantes :
{
"" notificationType "": 1,
"" portal "": {
"" id "": "" IW % 2fU8RKO1T7UjasbUcn8rQ % 3d % 3d "",
"" title "": {
"" texts "": [{
"" text "": "" Portail de formation "",
"" languageId "": 1
}
],
"" IsHaveText "": true
},
"" subTitle "": {
"" texts "": [{
"" text "": "" Tellement le meilleur portail "",
"" languageId "": 2
}
],
"" IsHaveText "": true
},
"" description "": {
"" texts "": [{
"" text "": "",
"" languageId "" : 1
}
],
"" IsHaveText "": true
},
"" coverID "": 8,
"" allowNewAccount "": true,
"" creationDate "": "" \ / Date(1472043144723) \ / "",
"" url "": "" portailpreprod.sviesolutions.com / JGTHINKWITHPORTALS "",
"" name "": "" Votre portail de formation "",
"" language "": 1,
"" branchID "": "" vrj0IrWe0HF % 2bK9OKGpDF5A % 3d % 3d "",
"" hasCustomLogo "": true,
"" lastModificationDate "": "" \ / Date(1496693784517) \ / "",
"" defaultBranchID "": "" vrj0IrWe0HF % 2bK9OKGpDF5A % 3d % 3d "",
"" isDefaultPortal "": true,
"" displayType "": 1
},
"" user "": {
"" id "": "" czYuG21TjcY7hETmR3TQHg % 3d % 3d "",
"" password "": null,
"" login "": "" Brambo "",
"" firstName "": "" Brent "",
"" lastName "": "" Rambo "",
"" language "": 1,
"" email "": "" karl.bouchard @ sviesolutions.com "",
"" companyName "": null,
"" functionTitle "": null,
"" phoneHome "": null,
"" phoneMobile "": null,
"" phoneWork "": null,
"" phonePublic "": 0,
"" timeZone "": 10,
"" address "": "" 690 Rue Saint - Joseph Est "",
"" address2 "": null,
"" postalCode "": "" G1K 3B9 "",
"" city "": "" Québec "",
"" countryId "": 37,
"" stateId "": 11,
"" customFields "": {
"" Champ1 "": null,
"" Membre "": null,
"" NbYearService "": 0,
"" DateEmbauche "": "" \ / Date(1299560400000) \ / "",
"" hjghjghj "": 0,
"" IdUnique "": null,
"" TestDaniel "": null,
"" test "": null
}
},
"" workspaceInstance "": {
"" id "": "" 7Zi3zYvuHTZ7YLK7TQjdlQ % 3d % 3d "",
"" name "": "" 33434a "",
"" creationDate "": "" \ / Date(1496325761043) \ / "",
"" startDate "": "" \ / Date(1489550400000) \ / "",
"" endDate "": "" \ / Date(1495771200000) \ / "",
"" minParticipants "": 0,
"" maxParticipants "": 0,
"" isOverBookingSubscription "": false,
"" workspaceId "": "" vBW5xMw1VQ2A8DFaNy22zA % 3d % 3d "",
"" nbUsersSubbed "": -1,
"" nbUsersQueue "": -1
},
"" workspace "": {
"id": "vBW5xMw1VQ2A8DFaNy22zA%3d%3d",
"creationDate": "2016-11-16T14:52:27.353",
"name": "Ma formation",
"categoryId": “”,
"visibilityType": 0,
"maxParticipants": 0,
"minParticipants": 0,
"type": vBW5xMw1VQ2A8DFaNy22zA%3d%3d,
"providerId" : "Mw1VQ2A8DFaNy22zA%3d%3d",
"language": 1,
"description": "",
"subscriptionType": 0,
"startDate": "0001-01-01T00:00:00",
"endDate": "0001-01-01T00:00:00",
"isOverBookingSubscription": true,
"authorizationType": 0,
"enrolmentType": 0,
"externalLink": “monURL”,
"keywords": “mot,clef,formation”,
"showAvailableSubscriptions": true,
"certificateId": “”,
"credits": 0.0,
"nbUsersSubbed": -1,
"nbUsersQueue": -1,
“isAutodeclaration”: true,
“accreditationNumber”: “12345-e”,
“autodeclarationEndDate”: "0001-01-01T00:00:00",
"customFields": {
"Champ1": "Snow",
"Test": ""
}
},
"" transaction "": {
"" id "": "" Y2E5wzApua "",
"" billingID "": "" YxLO % 2fUEIoCFRX7S3vH0Yyw % 3d % 3d "",
"" transactionDate "": "" \ / Date(1494951477123) \ / "",
"" priceName "": "" "",
"" currency "": "" cdn "",
"" basePrice "": 5,
"" subscribeDiscountPercent "": 0,
"" totalPrice "": 0,
"" paymentMethodID "": 21,
"" paymentMethodType "": 0,
"" transactionType "": 0,
"" comment "": "" "",
"" onlineTransactionID "": "" "",
"" billingAddress "": "" 690 Rue Saint - Joseph Est "",
"" billingAddress2 "": null,
"" billingPostalCode "": "" G1K 3B9 "",
"" billingCity "": "" Québec "",
"" billingCountryID "": 37,
"" billingStateID "": null,
"" balance "": 0,
"" authorizationStatus "": 0,
"" paymentStatus "": 0,
"" billingType "": 1,
"" userID "": "" czYuG21TjcY7hETmR3TQHg % 3d % 3d "",
"" taxes "": {
"" TPS "": 2.32,
"" TVQ "": 3.35
}
}
}