ImportService1.svc/ApplyUserModifications2 error responses
The ImportService1/ApplyUserModifications2 service returns the following errors.
Error category 1: The user uri is missing
Response:
1 {
2 "error": {
3 "code": "Sender",
4 "correlationId": "39d484eb601349d69e7e296fb064e293",
5 "reason": "The creator of this fault did not specify a Reason.",
6 "details": {
7 "displayText": "Invalid UserTargetParameter. One of uri or loginName should be specified in the target.",
8 "target": {
9 "loginName": null,
10 "parameterCorrelationId": null,
11 "uri": null
12 }
13 },
14 "type": "InvalidUserTargetParameterError1"
15 }
16 }
Error category 2: A uri or parameter value is not correct
Response:
1 {
2 "error": {
3 "code": "Sender",
4 "correlationId": "182e62866e89470d9c031a747c7bc1c7",
5 "reason": "The creator of this fault did not specify a Reason.",
6 "details": {
7 "displayText": "Invalid parameters",
8 "modificationParameter": {
9 "replacementSchedule": [
10
11 ],
12 "updateScheduleOverDateRange": null,
13 "userSchedulePolicyScheduleModificationOptionUri": "urn:replicon:schedule-modification-option:replace-entire-schedule1"
14 }
15 },
16 "type": "InvalidUserSchedulePolicyScheduleModificationParameterError1"
17 }
18 }
Possible error values, for the type parameter, for category 2 errors:
1 InvalidUserHolidayCalendarModificationParameterError1
2 InvalidUserModificationsParameterError1
3 InvalidUserSchedulePolicyScheduleModificationParameterError1
4 InvalidUserTimeZoneModificationParameterError1
5 InvalidUserWorkWeekStartDayModificationParameterError1
6 InvalidUserLocationScheduleModificationParameterError1
7 InvalidUserDivisionScheduleModificationParameterError1
8 InvalidUserCostCenterScheduleModificationParameterError1
9 InvalidUserServiceCenterScheduleModificationParameterError1
10 InvalidUserEmployeeTypeGroupScheduleModificationParameterError1
11 InvalidUserDepartmentGroupScheduleModificationParameterError1
12 InvalidUserTotalBusinessCostScheduleModificationParameterError1
13 InvalidUserTimesheetPeriodScheduleModificationParameterError1
14 InvalidUserPermissionSetModificationParameterError1
15 InvalidPlaceAssignmentScheduleModificationParameterError1
16 InvalidUserPolicyDataAccessScopeModificationParameterError1
17 InvalidUserPolicyDataAccessScopeModificationParameterError2
18 InvalidPolicyDataAccessScopeParameterError2
19 InvalidPolicyDataAccessScopeLocationParameterError1
20 InvalidPolicyDataAccessScopeDivisionParameterError1
21 InvalidPolicyDataAccessScopeCostCenterParameterError1
22 InvalidPolicyDataAccessScopeServiceCenterParameterError1
23 InvalidLocationTargetParameterError1
24 InvalidDivisionTargetParameterError1
25 InvalidCostCenterTargetParameterError1
26 InvalidServiceCenterTargetParameterError1
27 LocationTargetNotFoundError1
28 DivisionTargetNotFoundError1
29 CostCenterTargetNotFoundError1
30 ServiceCenterTargetNotFoundError1
31 InvalidTimeBankPolicyModificationParameterError1
32 UriError1
33 InvalidUserTargetParameterError1
34 InvalidPayRuleScriptTargetParameterError1
35 InvalidPayRateDimensionParameterError1
36 InvalidUserPayRateScheduleEntryParameterError1
37 InvalidUserActivityModificationParameterError1
38 InvalidUserNotificationPreferencesModificationParameterError1
39 InvalidUserSecuritySettingsModificationParameterError1
40 InvalidRoleTargetParameterError1
Related links
Understanding error responses
Introduction to the Replicon API
Using the API
Getting started with Replicon's API
Viewing the available API operations