Picture

Get Employee

Picture

Request Header

Name
Type
Required
Description
Authorization
String
Required
OAuth token obtained after the user has provided consent and the authorized partner calls the /authorization/Connect/Token endpoint to retrieve this token
Ocp-Apim-Subscription-Key
String
Required

Request Parameter

Name
Type
Required
Description
code
Integer
Required
รหัสพนักงาน

Example Request

curl --location -g --request GET 'https://api.veniocrm.com/dev/v1/Employees/{code}' \

--header 'Ocp-Apim-Subscription-Key;<Your Subscription-Key>' \

--header 'Authorization: <Your access_token>'

Download postman Collection

Response

Name
Type
Description
userId
String
รหัสผู้ใช้งาน
username
String
ชื่อผู้ใช้งาน
companyId
Integer
รหัสบริษัท
companyName
String
ชื่อบริษัท
teamId
Integer
รหัสทีม
teamName
String
ชื่อทีม
staffCode
String
รหัสพนักงาน
title
String
หัวข้อ
firstname
String
ชื่อต้น
lastname
String
นามสกุล
fullname
String
ชื่อเต็ม
nickname
String
ชื่อเล่น
position
String
ตำแหน่ง
phoneNumber
String
หมายเลขโทรศัพท์
orgString
String
orgLevel
Short
ระดับองค์กร
latitude
Decimal
ละติจูด
longitude
Decimal
ลองจิจูด
location
String
ที่ตั้ง
locationName
String
ชื่อที่ตั้ง
isActive
Boolean
ใช้งานอยู่หรือไม่
createdByUserId
String
รหัสผู้สร้าง
hasPicture
Boolean
มีรูปหรือไม่
dateCreated
DateTime
เวลาสร้าง
dateModified
DateTime
เวลาแก้ไข
role
String
รหัสหน้าที่
level
Integer
ระดับ
siteId
Long
รหัสงาน
isAgreementPDPA
Boolean
เป็นข้อตกลง PDPA หรือไม่
dateAgreementPDPA
DateTime
เวลาตกลง PDPA
identityUserId
String
รหัสยืนยันตัวตน
uniqueName
String
ชื่อเฉพาะ
inAppSubscription
Long
สมัครสมาชิกในแอพ
userType
Integer
ประเภทผู้ใช้

Example Response

{

    "data": {

        "value": {

            "preferences": {

                "additionalProp1": "string",

                "additionalProp2": "string",

                "additionalProp3": "string"

            },

            "userId": "string",

            "username": "string",

            "companyId": 0,

            "companyName": "string",

            "teamId": 0,

            "teamName": "string",

            "staffCode": "string",

            "title": "string",

            "firstname": "string",

            "lastname": "string",

            "fullname": "string",

            "nickname": "string",

            "position": "string",

            "email": "string",

            "phoneNumber": "string",

            "orgString": "string",

            "orgLevel": 0,

            "latitude": 0,

            "longitude": 0,

            "location": "string",

            "locationName": "string",

            "isActive": true,

            "createdByUserId": "string",

            "hasPicture": true,

            "dateCreated": "2021-09-17T08:03:03.727Z",

            "dateModified": "2021-09-17T08:03:03.727Z",

            "role": "string",

            "roleId": "string",

            "level": 0,

            "siteId": 0,

            "isAgreementPDPA": true,

            "dateAgreementPDPA": "2021-09-17T08:03:03.727Z",

            "emailSubscription": 0,

            "identityUserId": "string",

            "uniqueName": "string",

            "inAppSubscription": 0,

            "userType": 0

        },

        "formatters": [],

        "statusCode": 200

    },

    "statusCode": 1000,

    "httpStatusCode": 200

}

Response Codes

HTTP Status Code
Description
200
Get ข้อมูลพนักงานสำเร็จ
400
รหัสพนักงานไม่ถูกต้อง
401
Unauthorized
403
Forbidden
© Copyright 2021 Gofive Co., Ltd. All right reserved.