获取合同和回款单自定义字段
POST
/api/v3/contract/field
测试组
请求参数
Header 参数
appId
string
应用 appId
示例值:
{{appId}}
timestamp
string
请求时间戳
示例值:
{{timestamp}}
sign
string
请求消息签名值
示例值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
type
integer
必需
示例
{
"type": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v3/contract/field' \
--header 'appId: {{appId}}' \
--header 'appId;' \
--header 'timestamp: {{timestamp}}' \
--header 'timestamp;' \
--header 'sign: {{sign}}' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": 1
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
essentialInfoParams
array [object {2}]
固定字段
expandInfoParams
array [object {2}]
扩展字段
示例
{
"code": 0,
"message": "string",
"data": {
"essentialInfoParams": [
{
"fieldId": "string",
"fieldName": "string"
}
],
"expandInfoParams": [
{
"fieldId": "string",
"fieldName": "string"
}
]
}
}
修改于 2023-02-11 09:18:45