UploadForeignSampleFile
Uploads and validates a sample file.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-saf:UploadForeignSampleFile |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Sets the language type for requests and response messages. Default value: zh. Valid values:
|
zh |
| Tab |
string |
No |
The scenario. |
FINANCE |
| RegId |
string |
No |
The region code. |
cn-hangzhou |
| File |
string |
No |
The OSS path of the file. |
saf/cpoc/953c883cde33b2e21d722eb661d26375/1779172027996_AutoBacktrackingTest 2605191.csv |
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/34cd7959590ef568086035b956210495/1760580976089_XN_test_1016_100000.csv |
| FileName |
string |
The file name. |
Acct71b_Sample140934_md5_batch20250916.csv |
| FileSize |
integer |
The file size. |
78 |
| RowCount |
integer |
The number of rows. |
284 |
| DateType |
string |
The date format type. Example value: yyyyMMdd, which indicates a continuous numeric format for year, month, and day. |
yyyyMMdd |
| ColumnStats |
array<object> |
The column statistics. |
|
|
object |
The column statistics. |
||
| FieldName |
string |
The field name. |
repoName |
| RowNumber |
integer |
The row number of the record. |
2 |
| DistinctNumber |
integer |
The number of distinct values. |
4 |
| DistinctRate |
string |
The distinct rate. |
23.87% |
| MissNumber |
integer |
The number of missing values. |
3 |
| MissRate |
string |
The missing value rate. |
25.32% |
| PreviewData |
object |
The table data. |
|
| Headers |
array |
The returned header information. |
|
|
string |
The column header. |
assigned_users_current_user |
|
| Rows |
array |
The row data. |
|
|
array |
The row data. |
||
|
string |
The row data. |
1 |
|
| NotExistScenes |
array |
The non-existent scenarios. |
|
|
string |
The non-existent scenarios. |
dsa |
|
| BeyondBacktrackingPeriodNum |
integer |
The number of tasks. |
3 |
| PhoneInvalidList |
array |
The PhoneInvalidList. |
|
|
string |
The PhoneInvalidList. |
test |
|
| 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/34cd7959590ef568086035b956210495/1760580976089_XN_test_1016_100000.csv",
"FileName": "Acct71b_Sample140934_md5_batch20250916.csv",
"FileSize": 78,
"RowCount": 284,
"DateType": "yyyyMMdd",
"ColumnStats": [
{
"FieldName": "repoName",
"RowNumber": 2,
"DistinctNumber": 4,
"DistinctRate": "23.87%",
"MissNumber": 3,
"MissRate": "25.32%"
}
],
"PreviewData": {
"Headers": [
"assigned_users_current_user"
],
"Rows": [
[
"1"
]
]
},
"NotExistScenes": [
"dsa"
],
"BeyondBacktrackingPeriodNum": 3,
"PhoneInvalidList": [
"test"
]
},
"Code": "200",
"HttpStatusCode": "200",
"Message": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.