3.28 查询合同关联资源
test-测试环境
test-测试环境
POST
/api/hitf/v2p/rest/invoke/SFpFUk86T1JDSEVTVFJBVElPTjpISVRGLkFQSS5TSU5HTEUtU0NSSVBU
请求参数
Query 参数
domain
string
可选
示例值:
BASE.CONTRACT.RESOURCE_DETAIL_QUERY
Header 参数
Authorization
string
可选
默认值:
{{token}}
Body 参数application/json
object {0}
示例
{
"contractNumber": "CON_0120250409004",
"page": 0,
"size": 100
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://oc-test.onecontract-cloud.com/api/hitf/v2p/rest/invoke/SFpFUk86T1JDSEVTVFJBVElPTjpISVRGLkFQSS5TSU5HTEUtU0NSSVBU?domain=BASE.CONTRACT.RESOURCE_DETAIL_QUERY' \
--header 'Authorization: bearer eb2446a6-93f9-456b-b713-5cb6f6adf765' \
--header 'Content-Type: application/json' \
--data-raw '{
"contractNumber": "CON_0120250409004",
"page": 0,
"size": 100
}'
返回响应
🟢200成功
application/json
Body
message
string
响应信息
result
object
响应结果
code
string
业务响应编码
msg
string
业务响应信息
data
object
业务响应数据
success
boolean
接口响应是否成功
示例
{
"message": "execute success",
"result": {
"code": "0",
"msg": "查询成功",
"data": {
"content": [
{
"objectVersionNumber": "1",
"lastUpdatedBy": "225997183324016640",
"unitName": "1",
"detailName": "测试1/测试-1-1",
"lastUpdateDate": "2024-04-24 16:17:29",
"enabledFlag": true,
"resourceNumber": "2023021600000001117",
"resourceName": "1234",
"creationDate": "2024-04-24 16:17:29",
"categoryName": "测试-1-1",
"uuid": "27cf25fd75b241d49155f4449c45e6b5",
"createdBy": "225997183324016640",
"tenantId": "481",
"contractId": "320190341213329329",
"resourceUuid": "1b641bef38fe40bc8e4d35604db03049",
"resourceType": "AD"
}
],
"number": 0,
"size": 100,
"totalElements": 1,
"totalPages": 1
}
},
"success": true
}