Authorization: ********************{
"cityCode": "string",
"grossMonthlySalary": 0,
"monthIndex": 1,
"specialAdditionalDeduction": 0,
"expectedPolicyVersion": "string",
"idempotencyKey": "string",
"overrides": {
"socialSecurityBase": 0,
"housingFundBase": 0,
"pensionRate": 0,
"medicalRate": 0,
"unemploymentRate": 0,
"housingFundRate": 0,
"seriousIllnessMonthlyFee": 0
}
}curl --location 'https://job.youthome.com.cn/api/v1/salary-calculator/calculations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cityCode": "string",
"grossMonthlySalary": 0,
"monthIndex": 1,
"specialAdditionalDeduction": 0,
"expectedPolicyVersion": "string",
"idempotencyKey": "string",
"overrides": {
"socialSecurityBase": 0,
"housingFundBase": 0,
"pensionRate": 0,
"medicalRate": 0,
"unemploymentRate": 0,
"housingFundRate": 0,
"seriousIllnessMonthlyFee": 0
}
}'{
"code": 0,
"message": "string",
"data": {
"historyId": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"result": {
"cityCode": "string",
"cityName": "string",
"dataLevel": "CITY",
"policyVersion": "string",
"policyEffectiveDate": "2019-08-24",
"taxRulesVersion": "string",
"estimate": true,
"monthIndex": 0,
"grossMonthlySalary": 0,
"specialAdditionalDeduction": 0,
"socialSecurityBase": 0,
"housingFundBase": 0,
"pensionRate": 0,
"medicalRate": 0,
"unemploymentRate": 0,
"housingFundRate": 0,
"seriousIllnessMonthlyFee": 0,
"pension": 0,
"medical": 0,
"unemployment": 0,
"housingFund": 0,
"cumulativeGrossIncome": 0,
"cumulativeSocialInsurance": 0,
"cumulativeHousingFund": 0,
"cumulativeSeriousIllness": 0,
"cumulativeBasicDeduction": 0,
"cumulativeSpecialAdditionalDeduction": 0,
"cumulativeTaxableIncome": 0,
"cumulativeTaxDue": 0,
"previouslyWithheldTax": 0,
"currentMonthTax": 0,
"netSalary": 0
}
},
"requestId": "string",
"timestamp": "2019-08-24T14:15:22.123Z"
}