Last Updated on : 2023-06-15 06:08:22
Create a project in the hotel industry based on the time zone, name, address, area code, and other information.
POST: /v1.0/osaas/project
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
projectName | String | uri | true | The name of a specified project. Up to 64 characters can be entered. |
locationId | String | uri | true | The unique ID of a specified location. |
address | String | uri | true | The detailed address. Up to 80 characters can be entered. |
timeZoneId | String | uri | true | The ID of a specified time zone. |
Parameter name | Type | Description |
---|---|---|
code | Integer | The response code if the API call fails. This parameter value is empty if the API call succeeds. |
success | String | Indicate whether the request is successful. Valid values:
|
msg | String | The response message that is returned if the request fails. It is empty if the request is successful. |
t | Long | The 13-bit timestamp. |
result | String | The unique ID of a specified project. |
POST: /v1.0/osaas/project
{
"address": "***Hangzhou City, Zhejiang Province",
"location_id": "11",
"time_zone_Id": "Asia/Shanghai",
"project_name": "** Project"
}
{
"result": "116082396505314******",
"t": 1566053034624,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback