{
"userIdType": "LOGINNAME",
"userId": "zhenling_openapi_admin",
"data": [
{
"materialsCode": "P23479126",
"isActive": true,
"materialsName": "螺旋浆叶1",
"materialsClassification": "INV",
"materialsType": "CM",
"materialsUnit": "PCS",
"proposedPrice": 124,
"noTaxAmount": 12421,
"taxRate": "13",
"includingTaxPrice": 14035.73,
"taxAmount": 1614.73,
"classificationCode": ""
},
{
"materialsCode": "P23479125",
"isActive": true,
"materialsName": "螺旋浆叶2",
"materialsClassification": "INV",
"materialsType": "CM",
"materialsUnit": "PCS",
"proposedPrice": 124,
"noTaxAmount": 12421,
"taxRate": "13",
"includingTaxPrice": 14035.73,
"taxAmount": 1614.73
}
]
}
curl --location --request POST 'https://oc-test.onecontract-cloud.com/api/hitf/v2p/rest/invoke/SFpFUk86T1JDSEVTVFJBVElPTjpISVRGLkFQSS5EQVRBX0lNUE9SVA==?domain=MATERIALS' \
--header 'Authorization: bearer eb2446a6-93f9-456b-b713-5cb6f6adf765' \
--header 'Content-Type: application/json' \
--data-raw '{
"userIdType": "LOGINNAME",
"userId": "zhenling_openapi_admin",
"data": [
{
"materialsCode": "P23479126",
"isActive": true,
"materialsName": "螺旋浆叶1",
"materialsClassification": "INV",
"materialsType": "CM",
"materialsUnit": "PCS",
"proposedPrice": 124,
"noTaxAmount": 12421,
"taxRate": "13",
"includingTaxPrice": 14035.73,
"taxAmount": 1614.73,
"classificationCode": ""
},
{
"materialsCode": "P23479125",
"isActive": true,
"materialsName": "螺旋浆叶2",
"materialsClassification": "INV",
"materialsType": "CM",
"materialsUnit": "PCS",
"proposedPrice": 124,
"noTaxAmount": 12421,
"taxRate": "13",
"includingTaxPrice": 14035.73,
"taxAmount": 1614.73
}
]
}'
{
"message": "execute success",
"result": {
"data": [
{
"materialsClassification": "INV",
"sourceSystem": "DEFAULT",
"lastUpdateDate": "2025-04-09 16:47:28",
"materialsType": "CM",
"isActive": true,
"noTaxAmount": "12421",
"includingTaxPrice": "14035.73",
"id": "5151671",
"lang": "zh_CN",
"materialsName": "螺旋浆叶1",
"materialsUnit": "PCS",
"proposedPrice": "124",
"active": "0",
"creationDate": "2025-04-09 16:47:27",
"taxRate": "13",
"classificationCode": "",
"tenantId": "1273",
"materialsCode": "P23479126",
"taxAmount": "1614.73",
"syncStatus": "PERSISTED"
},
{
"proposedPrice": "124",
"materialsClassification": "INV",
"sourceSystem": "DEFAULT",
"lastUpdateDate": "2025-04-09 16:47:28",
"active": "0",
"materialsType": "CM",
"isActive": true,
"noTaxAmount": "12421",
"creationDate": "2025-04-09 16:47:27",
"taxRate": "13",
"includingTaxPrice": "14035.73",
"tenantId": "1273",
"id": "5151672",
"materialsCode": "P23479125",
"taxAmount": "1614.73",
"lang": "zh_CN",
"materialsName": "螺旋浆叶2",
"materialsUnit": "PCS",
"syncStatus": "PERSISTED"
}
],
"userIdType": "LOGINNAME",
"batchId": "053cb24f-4220-43d2-806e-fc6ad0e57721",
"userId": "ebmpapst_admin"
},
"success": true
}