- industry-category-item-resource
- industry-resource
- company-resource
- company-industry-resource
- company-category-resource
- category-item-resource
- category-resource
- user-resource
- account-resource
- authenticate-controller
- public-user-resource
- survey-attribute-resource
- survey-resource
- survey-main-resource
- survey-data-resource
- rule-resource
- rule-survey-resource
- quota-item-resource
- quota-resource
- data-result-resource
- data-config-resource
- import-detail-contrller
- user-jwt-controller
- export-detail-contrller
- report-resource
- test-data-api
/api/rule-surveys/{id}
PATCH
/api/rule-surveys/{id}
rule-survey-resource
请求参数
Path 参数
id
string
必需
Header 参数
Authorization
string
可选
默认值:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImF1dGgiOiJST0xFX0FETUlOLFJPTEVfVVNFUiIsImV4cCI6MTY5NDg1NjAyN30.ucimYoIO3BLwsXzgFdT9D2F08goUkTojjvK8NZ41Tu7hMHw7eNaX_jv2pWQY0pQcgGhRSpsxceGthP-n4R5w1w
Body 参数application/json
规则调查表
id
string
主键
ruleId
string
规则主键
surveyId
string
调查表主键
示例
{
"id": "string",
"ruleId": "string",
"surveyId": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'http://localhost:8851/api/rule-surveys/' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImF1dGgiOiJST0xFX0FETUlOLFJPTEVfVVNFUiIsImV4cCI6MTY5NDg1NjAyN30.ucimYoIO3BLwsXzgFdT9D2F08goUkTojjvK8NZ41Tu7hMHw7eNaX_jv2pWQY0pQcgGhRSpsxceGthP-n4R5w1w' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"ruleId": "string",
"surveyId": "string"
}'
返回响应
🟢200OK
application/json
Body
规则调查表
id
string
主键
ruleId
string
规则主键
surveyId
string
调查表主键
示例
{
"id": "string",
"ruleId": "string",
"surveyId": "string"
}