This document aims to help developers swiftly master third-party platform development by introducing some common basic concepts.DEV MSG: We support customized query time zone now! check the documentation!1. Introduction to Terminology#
| Term | Description |
|---|
| appId | Open platform appId |
| appSecret | Open platform appSecret |
| timestamp | Timestamp required when calling the API |
| appSign | The security signature needed for API calls, generated based on appId, appSecret, and timestamp. The specific generation rule can be found at: https://cloudopen-en.apifox.cn/doc-6374059 |
| X-FS-Orgcode | The OrgCode of the team being integrated with CloudNest. |
| zoneId | For users who are not in China or whose local time zone differs from Beijing Time(UTC+8:00), we received your message and now offer a method for querying machine data based on your local time zone! You can specify the time zone for query parameters and return values by including the request header zoneId when calling certain APIs. Check the Api doc |
appId, appSecret, and appSign are fundamental for OpenApi calls, serving as pre-call identification.The X-FS-Orgcode is the team code for interfacing with BoChu CloudNest. The retrieval method is as follows:
1.1. Create Organizations and Obtain OrgCode#
For client implementation and integration, each customer organization requires a unique OrgCode. Follow these steps:Step 1: Create an Organization#
1.
Log in to the "Bochu CloudNest" application and click the profile icon in the upper-right corner. Then, select “Switch to Team”:

2.
In the pop-up window, click “Create New Team”:

3.
Enter the team name (usually the client's company name) and complete the creation:

Step 2: Obtain OrgCode#
1.
Log in to the "Bochu Cloud Nesting" application, click the profile icon in the upper-right corner, and select “Switch to Team”:

2.
The string following the team name is the OrgCode of the current team.
3.
To add additional users to the team, invite them to join the organization:

2. Application Steps#
2.1 Login with email#
① Click email Login button
If you are new user in Friendess, please follow the register
tutorial.
2.2 Enter Personal Center#
After successfully scanning and logging in, you will be directed to the dashboard. Click on the personal center button located in the top menu bar.2.3 Obtain appId & appSecret#
Once you're on the personal center page, you can directly view your appId.appSecret is sensitive information that users should handle with care.
Newly registered users do not have access to the CloudNest API. To request permissions, scan the QR code or send mail to support@bochu.com to contact customer support.

When contacting customer support, you may need to provide:Your AppID (copy it from your Account Settings)
A valid Business License
Your orgCode (refer to Section 1.1 for retrieval instructions)
Congratulations! At this moment, you've obtained all the prerequisites for using OpenApi.3. My First API Call#
API calls require the following headers: app-id, time-stamp, and app-sign.
① app-id: It is the appId you acquired earlier.
② time-stamp: Timestamp valid for ten minutes before and after the API call moment.
③ app-sign: A signature computed using app-id, app-secret, and time-stamp.
④ X-FS-Orgcode: Refer to Section 1.1
{
"app-id": "op18725d72811234d2",
"time-stamp": 1680592492719,
"app-sign": "c227fc9d75471a36e3dee7bd4cc8630e",
"X-FS-Orgcode": "TEAM001"
}
3.1 Generation Methods#
3.1.1 Quick Solution#
Considering user convenience, Friendess has created header generation demos for popular languages.3.1.2 Manual Generation#
If your preferred language is not available in the above quick solution, you can contact Bochu customer service or manually generate the request headers.
4 Start Making Calls!#
API interfaces open to users can be seen in the API documentation module of the open platform.Find the interface you're interested in and get started!4.1 Points to Note#