איך אפשר לעזור לך ?

API להוספת עובד חדש

ניווט:

Link to api to create worker:

Url : https://412.co.il/index.php/api/createEmp

 
   

Parameter Guide:

No

key name

Mandatory

Description

Example Value

1

u

Required

admin account username

tessss

2

p

Required

admin account password

123456778

3

fname

Required

Employee Firstname

emp

4

lname

Optional

employee Last Name

1

5

empno

Required

Employee ID

213940934

6

email

Optional

Employee's Email

test@1.com

7

dept

Required

dept names with comma separated

dept1,dept2

8

store

Optional

Store Names with comma separated

store1,store2

9

phone

Optional

Employee phone

12339404834

10

agreement

Optional

Agreement name, it trying to get agreement by name

agreement1

11

role

Optional

Employee role names with separated comma

role1,role2

12

shift_agreement

Optional

Shift Agreement Name

shiftagree-1

13

shift_role

Optional

shift role names with separated comma

srole1,srole2

14

username

Optional

employee's user account – username

testing to

15

password

Optional

employee's user account – username

123334dd

Respones Case:

Key name

value

Description

status

TRUE

Success to create employee

FALSE

Failed

msg

required_correct_dept

missed or not found Department

invalid_param

Missed Required Fields

duplicated_id

Employee No is duplicated

רשימת נושאים במדריך
סגירת תפריט
×
×

עגלת קניות

פתח צא'ט
צריך עזרה?
היי,
איך אפשר לעזור לך?