Sync Users

Link: {Base_Url}/api/ User/ AddUsers

Method Type: POST

Content Type: Application/Json

Description: sync users’ information with Availo system

Request Object: List of below objects

Request object:

FieldRequired
Type
Description
AddUpdate

UserName


Yes


Yes


String


User Name


JobNumber


Yes


No


String


User Job Number


FirstName


Yes


No


String


User First Name


LastName


Yes


No


String


User Last Name


JobTitle


No


No


String


User Job Title 


PhoneNumber


No


No


String

User Phone Number
** Required if the user is department-manager


IsDeleted


Yes


No


Boolean


Is user deleted?


IsActive


No


No


Boolean


Is user active?


DepartmentCodeToDelete


No


No


List<string>


List of departments id want to


departmentUser


No


No

Object (please find the below details table) 

List of user department information  

Field
Required Type
Description
AddUpdate


DepartmentCode


Yes


Yes


String


Department id 


DepartmentNameArabic


Yes


No


String


Name in Arabic  


DepartmentNameEnglish


Yes


No


String


Name in English


IsDepartmentManager


Yes


Yes


Boolean


Is user department manager


IsDeleted


Yes


No


Boolean


Is Deleted


ParentDepartmentCode


No


No


String


Parent department Id


ParentIsDeleted


No


No


Boolean


Is Deleted**Required if the parent code is filled in


ParentDepartmentNameArabic


No


No


String


Name in Arabic


ParentDepartmentNameEnglish


No


No


String


Name in English

Sample Request:

Response object:

FieldRequiredTypeDescription
Data
No

Boolean

Status

Yes


Boolean
if the request is a success or not

message

No

String
The error message that returns from request

Sample Response:

الجيل الجديد من أنظمة الحضور والانصراف، الذي يوفر لك كفاءة عالية في إثبات حضور الموظفين

الروابط السريعة

تواصل معنا

أحد منتجات شركة T2

2022 جميع الحقوق محفوظة