获取工单模板字段
POST
https://qiyukf.com//openapi/v2/ticket/template/fields
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qiyukf.com//openapi/v2/ticket/template/fields?appKey=&time=&checksum=' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateId":1
}'
响应示例响应示例
{
"code": 200,
"message": [
{
"id": 12345,
"fieldId": 123,
"name": "字段名",
"required": 1,
"type": 1,
"status": 1,
"description": "字段描述",
"prefill": "预填值",
"hint": "暗纹",
"customer": 0
}
]
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
time
string
必需
默认值:
{{time}}
checksum
string
必需
默认值:
{{checksum}}
Body 参数application/json