Add or update rfi material list
- Endpoint:
POST /aggregate-pay/api/gateway/putRfiMaterialList - Tags: Risk
Parameters
| Field | In | Type | Required | Constraints | Description |
|---|---|---|---|---|---|
Content-Type | header | string | Yes | ||
sign | header | string | Yes | 签名信息请参考技术文档 |
Parameter Examples
Content-Type:"application/json"sign:"FPFVT3o227JrFRbqu19boZCpVVTF9KznxyRawUmxpfXilHV/0yK46haPhAjNu1hPUMy7Vw/ILXhfzffNm4Fj0apWknlTY9OJxnSoQxS9BTFtc61tn5yV1q69x/kkBl82/qwg+XTJ4fOzy7Mar3VaC1E2PlDA6RkkKBUyNE6RYgsdB+Su7an4+4HVTNAnoe74WyvBgxTLMNg28igBTdqxaO3w/UBY6ObVp7vkqkQGdL1Y+HgmMYaAVwrM3+ALWGId0sJ+YqTY4WJ+0xCRGhaSnybiIjZsQEYyID68WNUfuavDLDsEhaMm/HfQvf5p0R1Ltovp3wwJnEbQcjY458iX5A=="
Request Body
Content-Type: application/json
| Field | Type | Required | Constraints | Description | Enum |
|---|---|---|---|---|---|
version | string | Yes | API version. Current value: 1.5 | ||
keyVersion | string | Yes | Signature Algorithm Version, Current value: 1 | ||
requestTime | string | Yes | Request time, compliant with rfc3339 specification, format: yyyy-MM-dd'T'HH:mm:ss.SSSXXX The time must be within two minutes of the current time | ||
appId | string | Yes | Merchant AppId,The unique identifier assigned to the merchant app by PayerMax | ||
merchantNo | string | No | maxLength: 32 | Merchant Id, the unique identifier generated when the merchant signs the contract with PayerMax | |
data | object | Yes | |||
data.rfiNo | string | Yes | RFI Unique Identification Number | ||
data.materialList | array[object] | Yes | RFI Associated Material List | ||
data.materialList[].fieldValue | string | Yes | Material value,For HTTP, provide the full file URL in the format: http://xx/xxx.zip.For SFTP, provide the file storage path in the format: /risk/rfi/xxx. | ||
data.materialList[].fieldName | string | Yes | Example of supplementary material name: ID | ||
data.materialList[].filePathType | string | No | default: "HTTP" | Indicates the type of file path. If not specified, the default value is HTTP. | HTTP, SFTP |
Example
json
{
"version": "1.4",
"keyVersion": "1",
"requestTime": "2022-01-17T09:05:52.194+00:00",
"appId": "{{appId}}",
"merchantNo": "{{merchantNo}}",
"data": {
"rfiNo": "test_001",
"materialList": [
{
"fieldValue": "https://www.baidu.com",
"fieldName": "ID"
}
]
}
}Responses
200
| Field | Type | Required | Constraints | Description | Enum |
|---|---|---|---|---|---|
code | string | Yes | Return code, ‘APPLY_SUCCESS’ means success | ||
msg | string | Yes | Return message, ‘Success.’ | ||
data | boolean | No | Return data, True |
Enum Reference
data.materialList[].filePathType
HTTPSFTP
