Skip to content

Instantly share code, notes, and snippets.

@vanduc1102
Created June 10, 2016 12:56
Show Gist options
  • Save vanduc1102/9b81d6150bca53819e22c721db8d975a to your computer and use it in GitHub Desktop.
Save vanduc1102/9b81d6150bca53819e22c721db8d975a to your computer and use it in GitHub Desktop.
Create new Company
{"id":6190,"name":"ductest-vethoi","currency":{"code":"CHF"},"branchs":[{"description":"ductest-vethoi","currency":{"code":"CHF"},"isMainBranch":true,"contactTitle":{"code":""},"contactFirstName":"","contactLastName":"","professionals":[]}],"numberOfHours":12,"trialPeriodDuration":12,"hasThirteenthPayment":false,"numberOfHoursFrequency":{"code":"H"},"hiddenFilters":[],"insurances":[],"identifiers":[],"chargeCenters":[],"externalRefs":[],"companySecurityExceptions":[],"affectedEmployee":0,"bankRelFinancialEntity":{},"bankRelAccountHolder":"","bankRelReferenceType":{"code":""},"bankRelReferenceValue":"","accountingPlan":{"code":"C1"}}
{
"data" : {
"ivyIdEmployer" : ""
},
"resultStatus" : {
"successful" : false,
"message" : "Error when reading JSON for employer data",
"code" : "cstart_ManageEmployer - startCreate/UpdateEmployer - Read JSON",
"detail" : "Error when reading the following JSON for employer data : {"id":6190,"name":"ductest-vethoi","currency":{"code":"CHF"},"branchs":[{"description":"ductest-vethoi","currency":{"code":"CHF"},"isMainBranch":true,"contactTitle":{"code":""},"contactFirstName":"","contactLastName":"","professionals":[]}],"numberOfHours":12,"trialPeriodDuration":12,"hasThirteenthPayment":false,"numberOfHoursFrequency":{"code":"H"},"hiddenFilters":[],"insurances":[],"identifiers":[],"chargeCenters":[],"externalRefs":[],"companySecurityExceptions":[],"affectedEmployee":0,"bankRelFinancialEntity":{},"bankRelAccountHolder":"","bankRelReferenceType":{"code":""},"bankRelReferenceValue":"","accountingPlan":{"code":"C1"}}",
"severity" : "ERROR",
"exception" : "The title can not be empty or null.",
"resultStatusStack" : null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment