Required role: | Approved |
All Verbs | /Post/UploadPostPriceList/ |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StoreId | query | int | No | |
CategoryKey | query | string | No | |
FileName | query | string | No | |
FileContentBase64 | query | string | No | |
MimeType | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
start | form | DateTime | No | |
DeviceUUID | form | string | No | |
APIKey | form | string | No | |
isAdmin | form | bool | No | |
Cmd | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ImportFileJobDto | form | ImportFileJobDTO | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | bool | No | |
ResMessage | form | string | No | |
Error | form | Error | No | |
PageInfo | form | BasePageInfo | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorYn | form | bool | No | |
ExYn | form | bool | No | |
ErrorCode | form | string | No | |
ErrorDescription | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TotalRecordCount | form | int | No | |
TotalPageCount | form | int | No | |
CurrentPage | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ImportFileJobId | form | int | No | |
UserId | form | int | No | |
StoreId | form | int | No | |
Status | form | ImportFileStatuses | No | |
ImportType | form | ImportTypes | No | |
FileName | form | string | No | |
FileMimeType | form | string | No | |
FileType | form | FileTypes | No | |
InputFileId | form | long | No | |
OutputFileId | form | long? | No | |
CreatedDate | form | DateTime | No | |
ScheduledDate | form | DateTime | No | |
ExecutionDate | form | DateTime? | No | |
JobId | form | int? | No | |
HJobId | form | string | No | |
TimeSpent | form | TimeSpan? | No | |
Result | form | string | No | |
ContentType | form | ContentTypes | No |
Name | Value |
---|---|
Waiting | 1 |
InProgress | 2 |
Cancelled | 3 |
Rejected | 4 |
CompletedWithError | 9 |
Completed | 10 |
DeletedWithError | 19 |
Deleted | 20 |
Other | 99 |
Name | Value |
---|---|
Excel | 1 |
Xml | 2 |
Api | 3 |
ExtApi | 4 |
Name | Value |
---|---|
None | 0 |
Xml | 1 |
Url | 2 |
Excel | 3 |
N11Api | 4 |
TrendyolApi | 5 |
ExtApi | 6 |
Name | Value |
---|---|
Post | 0 |
PostStock | 1 |
PostPrice | 2 |
Other | 99 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ImportFileJobDto | form | ImportFileJobDTO | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Post/UploadPostPriceList/ HTTP/1.1
Host: baseservices.needion.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"StoreId":0,"CategoryKey":"String","FileName":"String","FileContentBase64":"String","MimeType":"String","start":"\/Date(-62135596800000-0000)\/","DeviceUUID":"String","APIKey":"String","isAdmin":false,"Cmd":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ImportFileJobDto":{"ImportFileJobId":0,"UserId":0,"StoreId":0,"Status":1,"ImportType":1,"FileName":"String","FileMimeType":"String","FileType":0,"InputFileId":0,"OutputFileId":0,"CreatedDate":"\/Date(-62135596800000-0000)\/","ScheduledDate":"\/Date(-62135596800000-0000)\/","ExecutionDate":"\/Date(-62135596800000-0000)\/","JobId":0,"HJobId":"String","TimeSpent":"00:00:00","Result":"String","ContentType":0},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ExYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}