Picture

Get Deal

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
id
Integer
Required
รหัสดีล

Example Request

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

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

--header 'Authorization: <Your access_token>'

Download postman Collection

Response

Name
Type
Description
dealsId
Integer
รหัส Deal
customerId
Integer
รหัลูกค้า
dealNo
String
หมายเลขดีล
dealsName
String
ชื่อดีล
dealsValue
Integer
ค่าของดีล
statusId
Integer
รหัสสถานะ
dealStageId
Boolean
รหัสขั้นตอนของดีล
dealsIndex
String
ลำดับดีล
dealsDate
DateTime
วันที่ดีล
expectedCloseDate
DateTime
วันที่คาดว่าจะปิด
probability
Integer
ความน่าจะเป็น
notes
String
รายละเอียดเพิ่มเติม
isActive
Boolean
ใช้งานอยู่หรือไม่
boardId
Integer
รหัส Board
dateCreated
DateTime
เวลาที่สร้าง
createByUserId
Integer
รหัสผู้สร้าง
dateModified
DateTime
เวลาที่แก้ไข
modifiedByUserId
String
รหัสผู้แก้ไข
measure
Integer
ค่าประมาณ
customer
Customer
ลูกค้า
dealStage
DealStage
ขั้นตอนของดีล
dealsInterests
DealsInterest[]
รายการดีลที่สนใจ
dealsLabels
DealsLabel[]
รายการป้ายดีล
isAction
Boolean

isEdit
Boolean
แก้ไขได้หรือไม่
isDelete
Boolean

statusName
String
ชื่อสถานะ
user
UserInfo
ข้อมูลผู้ใช้งาน
dealSummary
DealSummary

measureUnit
Unit
หน่วยค่าประมาณ
currentStage
CurrentStage

dateFollowUp
DateTime
เวลาที่ติดตาม
userId
String[]
รายการรหัสผู้ใช้งาน
customerIds
String[]
รายการรหัสลูกค้า
participantUserIds
String[]
รายการรหัสผู้เข้าใช้งาน

Example Response

{

    "data": {

        "value": {

            "dealsId": 0,

            "customerId": 0,

            "dealNo": "string",

            "dealsName": "string",

            "dealsValue": 0,

            "statusId": 0,

            "dealStageId": 0,

            "dealsIndex": 0,

            "dealsDate": "2021-09-17T04:37:04.849Z",

            "expectedCloseDate": "2021-09-17T04:37:04.849Z",

            "probability": 0,

            "notes": "string",

            "isActive": true,

            "boardId": 0,

            "dateCreated": "2021-09-17T04:37:04.849Z",

            "createByUserId": "string",

            "dateModified": "2021-09-17T04:37:04.849Z",

            "modifiedByUserId": "string",

            "measure": 0,

            "customer": {},

            "dealStage": {

                "dealStageId": 0,

                "stageName": "string",

                "dateCreated": "2021-09-17T04:37:04.850Z",

                "createByUserId": "string",

                "dateModified": "2021-09-17T04:37:04.850Z",

                "modifiedByUserId": "string",

                "isActive": true,

                "companyId": 0,

                "seq": 0,

                "boardId": 0

            },

            "dealsInterests": [

                {

                    "dealsId": 0,

                    "topicId": 0,

                    "isActive": true

                }

            ],

            "dealsLabels": [

                {

                    "dealsId": 0,

                    "dealLabelId": 0,

                    "isActive": true

                }

            ],

            "isAction": true,

            "isEdit": true,

            "isDelete": true,

            "statusName": "string",

            "user": {},

            "dealSummary": {

                "probability": 0,

                "dealValue": 0,

                "expectedCloseDate": "2021-09-17T04:37:04.850Z"

            },

            "measureUnit": {

                "unitId": 0,

                "name": "string",

                "companyId": 0,

                "isActive": true,

                "createdByUserId": "string",

                "dateCreated": "2021-09-17T04:37:04.850Z",

                "modifiedByUserId": "string",

                "dateModified": "2021-09-17T04:37:04.850Z"

            },

            "currentStage": {

                "dealStageId": 0,

                "stageName": "string",

                "dateChangeStage": "2021-09-17T04:37:04.850Z"

            },

            "dateFollowUp": "2021-09-17T04:37:04.850Z",

            "userId": [

                "string"

            ],

            "customerIds": [

                0

            ],

            "participantUserIds": [

                "string"

            ]

        },

        "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.