Skip to content

Instantly share code, notes, and snippets.

@vanduc1102
Created June 15, 2016 06:54
Show Gist options
  • Save vanduc1102/0203b0bef61a31b7dc9c7cfccf195c69 to your computer and use it in GitHub Desktop.
Save vanduc1102/0203b0bef61a31b7dc9c7cfccf195c69 to your computer and use it in GitHub Desktop.
15-06-16
{
"person": {
"id": 57010,
"guid": "1554CF2078CE6312",
"number": "1234123412341234",
"validFrom": "2016-06-15T00:00:00.000+07:00",
"civility": {
"code": "Dr."
},
"title": {
"code": "D"
},
"firstName": "ducasdfasdf",
"lastName": "test#34534",
"birthDate": "2015-01-12T00:00:00.000+07:00",
"sex": {
"code": "M"
},
"identifiers": [{
"id": 71871,
"value": "asdfasdfasdf",
"validFrom": "2016-06-06T00:00:00.000+07:00",
"indentifierType": {
"code": "A",
"name": "Abreviation"
}
},
{
"id": 71872,
"value": "fasdfasdfasdfds",
"validFrom": "2016-06-15T00:00:00.000+07:00",
"indentifierType": {
"code": "DD",
"name": "DD"
}
},
{
"id": 71873,
"value": "sdfaa",
"validFrom": "2016-06-16T00:00:00.000+07:00",
"indentifierType": {
"code": "EE",
"name": "EN_EE"
}
},
{
"id": 71874,
"value": "vvvvvvf",
"validFrom": "2016-06-01T00:00:00.000+07:00",
"indentifierType": {
"code": "fff",
"name": "fff"
}
},
{
"id": 71875,
"value": "123.4567.8910.11",
"validFrom": "2016-06-10T00:00:00.000+07:00",
"indentifierType": {
"code": "NSS",
"name": "NSS"
}
}],
"passports": [{
"id": 30248,
"number": "123123123asdfasdfasdfasdf",
"validFrom": "2016-06-06T00:00:00.000+07:00",
"validTo": "2016-07-09T00:00:00.000+07:00",
"country": {
"id": 8100,
"countryName": "Suisse",
"countryIsoAlpha2": "CH",
"countryIsoAlpha3": "CHE",
"countryIsoUn": 756
},
"passportType": {
"code": "PN"
}
}],
"maritalStatus": {
"code": "MA"
},
"maritalStatusChangeDate": "2016-06-05T00:00:00.000+07:00",
"isSingleParent": false,
"nationalities": [{
"id": 33080,
"country": {
"id": 8100,
"countryName": "Suisse",
"countryIsoAlpha2": "CH",
"countryIsoAlpha3": "CHE",
"countryIsoUn": 756
}
}],
"origins": [{
"id": 27010,
"state": {
"id": 5,
"stateName": "Schwyz",
"stateIso": "SZ",
"countryId": 8100
},
"municipality": {
"id": 1301,
"municipalityName": "Einsiedeln",
"stateIso": "SZ",
"districtId": 0
},
"country": {
"id": 8100,
"countryName": "Suisse",
"countryIsoAlpha2": "CH",
"countryIsoAlpha3": "CHE",
"countryIsoUn": 756
}
}],
"permitType": {
"code": "G"
},
"spokenLanguages": [],
"socialNetworks": [],
"privateMedias": [{
"id": 120014,
"value": "",
"mediaType": {
"code": "EO",
"name": "Email autre"
},
"isProfessional": false
},
{
"id": 120015,
"value": "",
"mediaType": {
"code": "EP",
"name": "Email privé"
},
"isProfessional": false
},
{
"id": 120016,
"value": "",
"mediaType": {
"code": "M",
"name": "Tél. mobile"
},
"isProfessional": false
},
{
"id": 120017,
"value": "",
"mediaType": {
"code": "PH",
"name": "Téléphone privé"
},
"isProfessional": false
}],
"professionalMedias": [{
"id": 120018,
"value": "",
"mediaType": {
"code": "EW",
"name": "Email professionnel"
},
"isProfessional": true
},
{
"id": 120019,
"value": "",
"mediaType": {
"code": "F",
"name": "Fax"
},
"isProfessional": true
},
{
"id": 120020,
"value": "qwerqweqwer",
"mediaType": {
"code": "GM",
"name": "Goto Metting"
},
"isProfessional": true
},
{
"id": 120021,
"value": "rq123123123",
"mediaType": {
"code": "SK",
"name": "Skype Contact"
},
"isProfessional": true
},
{
"id": 120022,
"value": "12341234123",
"mediaType": {
"code": "TW",
"name": "Tél. mobile"
},
"isProfessional": true
},
{
"id": 120023,
"value": "12341234124",
"mediaType": {
"code": "PW",
"name": "Téléphone professionnel"
},
"isProfessional": true
}],
"personAddress": [],
"processTypeId": 0,
"beforeWeddingName": "asdfasdfasdfasdfasdf",
"spouse": {
"id": 57009,
"firstName": "asdfas",
"lastName": "dfasdf",
"birthDate": "2016-06-22T00:00:00.000+07:00",
"sex": {
"code": "F"
},
"identifiers": [{
"id": 71866,
"value": "",
"indentifierType": {
"code": "A",
"name": "Abreviation"
}
},
{
"id": 71867,
"value": "",
"indentifierType": {
"code": "DD",
"name": "DD"
}
},
{
"id": 71868,
"value": "",
"indentifierType": {
"code": "EE",
"name": "EN_EE"
}
},
{
"id": 71869,
"value": "",
"indentifierType": {
"code": "fff",
"name": "fff"
}
},
{
"id": 71870,
"value": "",
"indentifierType": {
"code": "NSS",
"name": "NSS"
}
}],
"nationalities": [],
"privateMedias": [],
"professionalMedias": [],
"processTypeId": 0,
"beforeWeddingName": "asdfasdfasdf"
},
"relationships": [{
"id": 54298,
"isEmergencyContact": false,
"relationshipType": {
"code": "CHILD"
},
"personSummary": {
"id": 57008
}
},
{
"id": 54299,
"isEmergencyContact": false,
"relationshipType": {
"code": "SPOUSE"
},
"personSummary": {
"id": 57009
}
}],
"childrens": [{
"id": 57008,
"firstName": "hiadhi",
"lastName": "fasdfasdf",
"birthDate": "2016-05-29T00:00:00.000+07:00",
"sex": {
"code": "M"
},
"processTypeId": 0,
"allocations": [{
"id": 29004,
"expiryDate": "2016-06-21T00:00:00.000+07:00",
"allocationType": {
"code": "20"
}
}]
}],
"urgentContacts": [],
"withholdings": [],
"withholdingTax": {
"id": 25698,
"isSubject": true,
"validFrom": "2016-02-08T00:00:00.000+07:00",
"mainActivity": true,
"hasAnnuity": true,
"partnerMainActivity": false,
"hasChildDeduction": true,
"nbWorkDaysInCH": 11,
"withholdingTaxOtherEmployment": {
"code": "4"
},
"withholdingTaxConcubinage": {
"code": "I"
},
"withholdingTaxDenomination": {
"code": "I"
},
"withholdingTaxResidenceKind": {
"code": "H"
},
"withholdingTaxCategory": {
"code": "ADM"
},
"withholdingTaxScale": {
"code": "A1Y"
},
"state": {
"id": 5,
"stateName": "Schwyz",
"stateIso": "SZ",
"countryId": 8100
}
},
"otherEmployments": [{
"id": 27166,
"description": "asdf",
"company": "asdfasdfasdfasdf",
"percent": 11
}],
"externalRefs": [{
"id": 9440,
"name": "PRO",
"externalRef": "25177",
"isEditable": false
}],
"previousChilds": [{
"id": 57008,
"firstName": "hiadhi",
"lastName": "fasdfasdf",
"birthDate": "2016-05-29T00:00:00.000+07:00",
"sex": {
"code": "M"
},
"processTypeId": 0,
"allocations": [{
"id": 29004,
"expiryDate": "2016-06-21T00:00:00.000+07:00",
"allocationType": {
"code": "20"
}
}],
"relationships": [{
"id": 54298,
"isEmergencyContact": false,
"relationshipType": {
"code": "CHILD"
},
"personSummary": {
"id": 57008
}
}]
}]
},
"contracts": [{
"personGuid": "1554CF2078CE6312",
"number": "123123123",
"contractSummary": {
"id": 38643,
"contractType": {
"code": "CDI"
},
"contractStatus": {
"code": "E"
},
"branch": {
"id": 3112,
"description": "asdfasdfasdfasdf",
"currency": {
"code": "CHF"
},
"contactTitle": {
"code": "D"
},
"contactFirstName": "aaaaaaaaaaaaa",
"contactLastName": "VVVVVVNNNNN",
"professionals": [{
"id": 1127,
"value": "12312313",
"mediaType": {
"code": "F"
}
}]
},
"company": {
"id": 2040,
"name": "11-edit",
"currency": {
"code": "EUR"
},
"branchs": [{
"id": 3112,
"description": "asdfasdfasdfasdf",
"currency": {
"code": "CHF"
},
"address": {
"id": 37409,
"addressLine1": "truong son",
"zipCodeAddOn": 0,
"postOfficeBoxNumber": 0,
"houseNr": "12",
"municipality": {
"id": 563,
"municipalityName": "Frutigen",
"stateIso": "BE",
"districtId": 0
},
"street": {
"id": 31819,
"federalId": 1024344,
"federalIdAddOn": 0,
"officialLanguageId": 9901,
"stateId": "BE",
"municipalityId": 563,
"zipCode": 3725,
"zipCodeAddOn": 0,
"name": "Hintereggstrasse",
"shortName": "Hintereggstr.",
"importDate": "2012-03-07T00:00:00.000+07:00"
},
"country": {
"id": 8100,
"countryName": "Suisse",
"countryIsoAlpha2": "CH",
"countryIsoAlpha3": "CHE",
"countryIsoUn": 756
},
"state": {
"id": 2,
"stateName": "Bern / Berne",
"stateIso": "BE",
"countryId": 8100
},
"town": {
"id": 11,
"townName": "Achseten",
"countryId": 8100,
"stateId": "BE",
"municipalityId": {
"id": 563,
"municipalityName": "Frutigen",
"stateIso": "BE",
"districtId": 0
},
"townZipCode": 3725,
"townZipCodeAddOn": 0,
"townPostalName": "Achseten"
}
},
"isMainBranch": true,
"contactTitle": {
"code": "D"
},
"contactFirstName": "aaaaaaaaaaaaa",
"contactLastName": "VVVVVVNNNNN",
"professionals": [{
"id": 1127,
"value": "12312313",
"mediaType": {
"code": "F"
}
}]
}],
"numberOfHours": 12.00,
"trialPeriodDuration": 12,
"hasThirteenthPayment": true,
"numberOfHoursFrequency": {
"code": "H"
},
"hiddenFilters": [],
"insurances": [{
"id": 4100,
"insuranceType": {
"code": "1"
},
"insuranceInstitution": {
"code": "ASS_622"
}
},
{
"id": 4101,
"insuranceType": {
"code": "2"
},
"insuranceInstitution": {
"code": "ASS_625"
}
},
{
"id": 4102,
"insuranceType": {
"code": "6"
},
"insuranceInstitution": {
"code": "ASS_630"
}
}],
"identifiers": [{
"value": "22222222",
"type": {
"code": "REE"
}
},
{
"value": "333333333",
"type": {
"code": "IDE"
}
}],
"hasAccessToOtherCompany": true,
"chargeCenters": [{
"id": 3159,
"code": "asdfasdfas",
"description": "asdfasdfasdfasdf",
"triked": true,
"affectedEmployee": 0
}],
"externalRefs": [{
"id": 1020,
"name": "HRM",
"externalRef": "1",
"isEditable": false
},
{
"id": 1054,
"name": "PRO",
"externalRef": "19933",
"isEditable": false
}],
"companySecurityExceptions": [{
"id": 9,
"source": "Group",
"ldapSymbol": "ATCAdmin",
"isHR": false,
"securityModelRelation": {
"securityModelId": 42,
"modelType": "RELATIONAL",
"description": "g rgtr t"
},
"securityModelApplicative": {
"securityModelId": 63,
"modelType": "APPLICATIVE",
"description": "Test Applicative 2"
}
},
{
"id": 10,
"source": "User",
"ldapSymbol": "ha.nguyen",
"isHR": true,
"securityModelRelation": {
"securityModelId": 33,
"modelType": "RELATIONAL",
"description": "Full Permission"
},
"securityModelApplicative": {
"securityModelId": 5,
"modelType": "APPLICATIVE",
"description": "Applicative Desc 5"
}
},
{
"id": 11,
"source": "Group",
"ldapSymbol": "Company2_Worker",
"isHR": true,
"securityModelRelation": {
"securityModelId": 65,
"modelType": "RELATIONAL",
"description": "Full Permission"
},
"securityModelApplicative": {
"securityModelId": 5,
"modelType": "APPLICATIVE",
"description": "Applicative Desc 5"
}
}],
"securityModelMyself": {
"securityModelId": 33,
"modelType": "RELATIONAL",
"description": "Full Permission"
},
"securityModelOther": {
"securityModelId": 65,
"modelType": "RELATIONAL",
"description": "Full Permission"
},
"securityModelManager": {
"securityModelId": 65,
"modelType": "RELATIONAL",
"description": "Full Permission"
},
"securityModelApplicative": {
"securityModelId": 6,
"modelType": "APPLICATIVE",
"description": "Applicative Full"
},
"affectedEmployee": 0,
"bankRelFinancialEntity": {
"id": 1,
"clearingNr": 100,
"branchNr": 0,
"sic": 1008,
"swift": "SNBZCHZZXXX",
"shortName": "SNB",
"name": "Schweizerische Nationalbank",
"streetName": "Börsenstrasse 15",
"postOfficeBoxText": "Postfach 2800",
"zipCode": "8022",
"townName": "Zürich",
"postalAccount": "30-5-5",
"countryId": 8100,
"countryName": "Suisse"
},
"bankRelAccountHolder": "ss",
"bankRelReferenceType": {
"code": "10"
},
"bankRelReferenceValue": "asdfasdfasdfasdfasdf",
"accountingPlan": {
"code": "aa"
}
},
"guid": "1554CFEB440EA6DB"
},
"contractChargeCenters": [],
"personnelClassifications": [{
"id": 22418,
"classificationType": {
"code": "1"
},
"classificationValueTypeX": {
"code": "HW"
}
}],
"authorizedSignature": false,
"activityPercent": 11,
"numberOfHours": 8.00,
"numberOfHoursFrequency": {
"code": "M"
},
"teamWorking": {
"code": "3"
},
"occupancyType": {
"code": "FD"
},
"salary": {
"amount": 111.000,
"hasThirteenthMonthPayment": true,
"currency": {
"code": "CHF"
},
"frequency": {
"code": "M"
},
"deliveryMethod": {
"code": "BM"
},
"deliveryPeriod": {
"code": "02"
},
"vacationIncluded": false,
"publicHolidaysIncluded": false,
"isGrossAmount": true
},
"remunerations": [{
"id": 23649,
"value": 11.000,
"remunerationType": {
"code": "FH"
},
"frequency": {
"code": "M"
},
"amountCalculation": {
"code": "M"
}
}],
"contractStartDates": [{
"id": 41816,
"date": "2016-06-06T00:00:00.000+07:00",
"dateType": {
"code": "D"
}
}],
"trialPeriodEndDate": "2016-07-09T00:00:00.000+07:00",
"trialPeriodEndDateComment": "asdfasdfasdf",
"contractEndDates": [{
"id": 31491,
"date": "2017-01-27T00:00:00.000+07:00",
"dateType": {
"code": "D"
}
}],
"validFrom": "2016-06-14T00:00:00.000+07:00",
"activityPercentComment": "444444444444444444444444asdfasdf",
"leaveEntitlement": {
"id": 1
},
"collectiveAgreementConvention": {
"code": "A"
},
"collectiveAgreementCategory": {
"code": "AP"
},
"collectiveAgreementFunction": {
"code": "A"
},
"externalRefs": [],
"propagationSalary": false
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment