UploadSampleFile
Uploads and checks a sample file.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-saf:UploadSampleFile |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the error message returned by the operation. Valid values:
Default value: en. |
zh |
| Tab |
string |
No |
The scenario. |
INTERNET |
| Type |
string |
No |
The access type. |
SAF_CONSOLE |
| FileName |
string |
No |
The file name. |
icekredit_202312_23a_1764640368_6908.csv |
| FileUrl |
string |
No |
The file URL. |
saf/cpoc/34cd7959590ef568086035b956210495/1761186218068_XN_test JR142_1023_204794.csv |
| RegId |
string |
No |
The region code. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
A32FE941-35F2-5378-B37C-4B8FDB16F094 |
| ResultObject |
object |
The returned result. |
|
| FileUrl |
string |
The file URL. |
saf/cpoc/30e2aff8f355af429bbab18f776496ef/1764037297543_icekredit_model_A_2025b_1764034785_147787.csv |
| FileName |
string |
The file name. |
Acct71b_Sample140934_md5_batch20250916.csv |
| FileSize |
integer |
The file size. |
1472 |
| RowCount |
integer |
The number of rows. |
4974 |
| DateType |
string |
The date format type. Example value: yyyyMMdd, which indicates a consecutive numeric format of year, month, and day. |
yyyyMMdd |
| ColumnStats |
array<object> |
The columns. |
|
|
object |
The columns. |
||
| FieldName |
string |
The field name. |
fb_org_id |
| RowNumber |
integer |
The row where the record is located. |
4 |
| DistinctNumber |
integer |
The number of distinct values. |
4 |
| DistinctRate |
string |
The distinct rate. |
28.23% |
| MissNumber |
integer |
The number of missing values. |
5 |
| MissRate |
string |
The missing rate. |
28.23% |
| PreviewData |
object |
The table data. |
|
| Headers |
array |
The table headers. |
|
|
string |
The column header. |
[] |
|
| Rows |
array |
The row data. |
|
|
array |
The row data. |
||
|
string |
The row data. |
[] |
|
| NotExistScenes |
array |
The scenarios that do not exist. |
|
|
string |
The scenarios that do not exist. |
dsa |
|
| BeyondBacktrackingPeriodNum |
integer |
The number of tasks. |
gd |
| PhoneInvalidList |
array |
The count. |
|
|
string |
ds。 |
dsf |
|
| Code |
string |
The status code. |
200 |
| HttpStatusCode |
string |
The HTTP status code. |
200 |
| Message |
string |
The returned message. |
success |
Examples
Success response
JSON format
{
"RequestId": "A32FE941-35F2-5378-B37C-4B8FDB16F094",
"ResultObject": {
"FileUrl": "saf/cpoc/30e2aff8f355af429bbab18f776496ef/1764037297543_icekredit_model_A_2025b_1764034785_147787.csv",
"FileName": "Acct71b_Sample140934_md5_batch20250916.csv",
"FileSize": 1472,
"RowCount": 4974,
"DateType": "yyyyMMdd",
"ColumnStats": [
{
"FieldName": "fb_org_id",
"RowNumber": 4,
"DistinctNumber": 4,
"DistinctRate": "28.23%",
"MissNumber": 5,
"MissRate": "28.23%"
}
],
"PreviewData": {
"Headers": [
"[]"
],
"Rows": [
[
"[]"
]
]
},
"NotExistScenes": [
"dsa"
],
"BeyondBacktrackingPeriodNum": 0,
"PhoneInvalidList": [
"dsf"
]
},
"Code": "200",
"HttpStatusCode": "200",
"Message": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.