Skip to content

Instantly share code, notes, and snippets.

@kylewu
Created May 8, 2020 18:39
Show Gist options
  • Save kylewu/f61d67fcc4f5007d71a32a338bdce079 to your computer and use it in GitHub Desktop.
Save kylewu/f61d67fcc4f5007d71a32a338bdce079 to your computer and use it in GitHub Desktop.
traits
{
"id": "48993b54:171f4133b7b:33af",
"result": {
"success": true,
"status": 200,
"metadata": null,
"content": [
{
"userId": 22678883,
"traitId": "hobby",
"categoryName": "Hobby",
"createdAt": "2018-09-25T19:35:48.247Z",
"createdBy": 22678883,
"updatedAt": "2018-09-25T19:35:48.247Z",
"updatedBy": 22678883,
"traits": {
"traitId": "hobby",
"data": [
{
"hobby": "Football",
"description": "Worldcup"
}
]
}
},
{
"userId": 22678883,
"traitId": "software",
"categoryName": "Software",
"createdAt": "2018-09-25T19:37:07.949Z",
"createdBy": 22678883,
"updatedAt": "2018-09-25T19:37:16.547Z",
"updatedBy": 22678883,
"traits": {
"traitId": "software",
"data": [
{
"softwareType": "Browser",
"name": "Firefox"
},
{
"softwareType": "Developer Tools",
"name": "VSCode"
}
]
}
},
{
"userId": 22678883,
"traitId": "education",
"categoryName": "Education",
"createdAt": "2020-05-08T18:37:58.241Z",
"createdBy": 22678883,
"updatedAt": "2020-05-08T18:37:58.250Z",
"updatedBy": 22678883,
"traits": {
"traitId": "education",
"data": [
{
"schoolCollegeName": "test university",
"major": "SE",
"timePeriodFrom": "2011-05-01T10:00:00.000Z",
"timePeriodTo": "2018-05-08T10:00:00.000Z",
"graduated": true
}
]
}
},
{
"userId": 22678883,
"traitId": "communities",
"categoryName": "Communities",
"createdAt": "2018-09-20T15:32:47.663Z",
"createdBy": 40154303,
"updatedAt": "2018-10-24T20:55:12.874Z",
"updatedBy": 22678883,
"traits": {
"traitId": "communities",
"data": [
{
"cognitive": true,
"blockchain": true,
"ios": null,
"predix": null
}
]
}
},
{
"userId": 22678883,
"traitId": "languages",
"categoryName": "Languages",
"createdAt": "2019-08-21T20:11:14.291Z",
"createdBy": 22678883,
"updatedAt": "2020-04-04T08:28:16.199Z",
"updatedBy": 22678883,
"traits": {
"traitId": "languages",
"data": [
{
"language": "English",
"spokenLevel": "Advanced",
"writtenLevel": "Advanced"
}
]
}
},
{
"userId": 22678883,
"traitId": "device",
"categoryName": "Device",
"createdAt": "2018-09-25T19:37:00.491Z",
"createdBy": 22678883,
"updatedAt": "2018-09-25T19:37:00.491Z",
"updatedBy": 22678883,
"traits": {
"traitId": "device",
"data": [
{
"deviceType": "Laptop",
"manufacturer": "Apple",
"model": "MBP",
"operatingSystem": "OSX",
"osVersion": "10.13",
"osLanguage": "ENG"
}
]
}
},
{
"userId": 22678883,
"traitId": "basic_info",
"categoryName": "Basic Info",
"createdAt": "2018-09-25T19:33:47.741Z",
"createdBy": 22678883,
"updatedAt": "2020-04-03T16:47:00.822Z",
"updatedBy": 22678883,
"traits": {
"traitId": "basic_info",
"data": [
{
"handle": "fake",
"firstName": "fake",
"lastName": "W",
"shortBio": "",
"gender": "Male",
"tshirtSize": "M",
"country": "China",
"primaryInterestInTopcoder": "",
"currentLocation": "",
"userId": 22678883,
"description": "S4",
"status": "ACTIVE",
"email": "topcoder@fake.com",
"addresses": [
{
"streetAddr2": "",
"zip": 300211,
"streetAddr1": "",
"city": "",
"stateCode": "",
"type": "HOME"
}
],
"homeCountryCode": "CHN",
"competitionCountryCode": "CHN",
"photoURL": "",
"tracks": [
"DATA_SCIENCE",
"DESIGN",
"DEVELOP"
]
}
]
}
},
{
"userId": 22678883,
"traitId": "connect_info",
"categoryName": "Connect User Information",
"createdAt": "2020-04-03T16:47:00.784Z",
"createdBy": 22678883,
"updatedAt": "2020-04-03T16:47:00.793Z",
"updatedBy": 22678883,
"traits": {
"traitId": "connect_info",
"data": [
{
"photoUrl": null,
"firstNLastName": "fake",
"title": "null",
"businessEmail": null,
"businessPhone": "+34657000000",
"companyName": "null",
"companySize": null,
"address": null,
"city": null,
"state": null,
"zip": null,
"country": "Spain",
"timeZone": "Europe/Madrid",
"workingHourStart": "",
"workingHourEnd": ""
}
]
}
},
{
"userId": 22678883,
"traitId": "work",
"categoryName": "Work",
"createdAt": "2020-05-08T18:38:10.980Z",
"createdBy": 22678883,
"updatedAt": "2020-05-08T18:38:10.987Z",
"updatedBy": 22678883,
"traits": {
"traitId": "work",
"data": [
{
"company": "test company",
"industry": "SE",
"position": "SE",
"cityTown": "SE",
"timePeriodFrom": "2020-05-01T10:00:00.000Z",
"timePeriodTo": null,
"working": false
}
]
}
},
{
"userId": 22678883,
"traitId": "personalization",
"categoryName": "Personalization",
"createdAt": "2018-09-25T19:33:47.677Z",
"createdBy": 22678883,
"updatedAt": "2018-09-25T19:33:47.677Z",
"updatedBy": 22678883,
"traits": {
"traitId": "personalization",
"data": [
{
"userConsent": false
}
]
}
}
]
},
"version": "v3"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment