Last update 2021-06-10
This method is for creating / editing calendar of RIVILE salary calculation module. All parameters are expected via HTTP POST.
Name | Description | Notes |
---|---|---|
session_id | Session id | |
login | RIVILE username | |
pass | RIVILE password hashed in MD5 | |
list | Json list with calendar data. Similar structure as from method s_salary_calendar |
Name | Description | Notes |
---|---|---|
lang | Web service response language. EN LT or RU |
Name | Description | Notes |
---|---|---|
calendarCode | Calendar code | a14_kodas_la |
year | Calendar year | a14_date |
month | Calendar month | a14_date |
dayLength | Day length | a14_vd |
days | List with days data |
Name | Description | Notes |
---|---|---|
dayName | Day name | a14_d01-a14_d31 header |
dayCode | Day code | a14_d01-a14_d31 value |
dayHours | List with day hour data |
Name | Description | Notes |
---|---|---|
hourName | Hour name | a15_v01-a15_v31 header |
hourCode | Hour code | a12_zsut |
hourValue | Hour value | a15_v01-a15_v31 value |
Name | Description | Notes |
---|---|---|
status | Web service status | |
description | Status description | |
login | RIVILE username | |
list | List with data |
Name | Description |
---|---|
00 | Ok |
01 | No parameter session_id |
02 | No parameter login |
03 | No parameter pass |
04 | Login failed |
05 | No or wrong parameter year |
06 | No or wrong parameter month |
07 | No or wrong parameter calendarCode |
08 | DB connect error |
09 | Wrong parameter lang , values LT,EN,RU only. |
10 | No parameter list |
11 | Parameter list is not json list |
12 | Calendar S_SISTEMINIS cannot be edited |
14 | Error in parameter dayName. Possible values d01 d02 ... d31 |
15 | Parameter dayCode error. Value not found |
16 | Error in parameter hourName. Possible values d01 d02 ... d31 |
17 | Parameter hourCode error. Value not found |
18 | Parameter hourValue error. Possible values 1-24 |