Report importer


Parameters

Name In Type Required Description
orgId path string true Organization name as it is registered in Mas-Stack

Request example

1
2
3
4
5

curl -X GET https://logistics-stock.sta.masstack.com/v1/orgs/yoigo/report_importer \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK Success [ReportImporterDto]
400 Bad Request Bad Request Error400
404 Not Found Not found Error404
500 Internal Server Error Internal Server Error Error500

200 - instance of ReportImporterDto

Custom schema example

1
2
3
4
5
6
7
8
9
[
  {
    "reportId": 1,
    "reportName": "Report name",
    "tabName": "Excel tab name",
    "lastRead": 1,
    "lastExecution": "2021-09-24T00:00:00Z"
  }
]
Name Type Required Description
reportId integer false none
reportName string false none
tabName string false none
lastRead integer(int64) false none
lastExecution string false none

Parameters

Name In Type Required Description
orgId path string true Organization name as it is registered in Mas-Stack
body body ReportImporterDto true Information needed to create a report importer

Request body - instance of ReportImporterDto

1
2
3
4
5
6
7
{
  "reportId": 1,
  "reportName": "Report name",
  "tabName": "Excel tab name",
  "lastRead": 1,
  "lastExecution": "2021-09-24T00:00:00Z"
}
Name Type Required Description
reportId integer false none
reportName string false none
tabName string false none
lastRead integer(int64) false none
lastExecution string false none

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

curl -X POST https://logistics-stock.sta.masstack.com/v1/orgs/yoigo/report_importer \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}" \
 --data-raw "{
  'reportId': 1,
  'reportName': 'Report name',
  'tabName': 'Excel tab name',
  'lastRead': 1,
  'lastExecution': '2021-09-24T00:00:00Z'
}" 

Responses

Code Meaning Description Schema
200 OK Success ReportImporterDto
400 Bad Request Bad Request Error400
404 Not Found Not found Error404
500 Internal Server Error Internal Server Error Error500

Parameters

Name In Type Required Description
orgId path string true Organization name as it is registered in Mas-Stack
body body ReportImporterDto true Information needed to update a report importer

Request body - instance of ReportImporterDto

1
2
3
4
5
6
7
{
  "reportId": 1,
  "reportName": "Report name",
  "tabName": "Excel tab name",
  "lastRead": 1,
  "lastExecution": "2021-09-24T00:00:00Z"
}
Name Type Required Description
reportId integer false none
reportName string false none
tabName string false none
lastRead integer(int64) false none
lastExecution string false none

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

curl -X PUT https://logistics-stock.sta.masstack.com/v1/orgs/yoigo/report_importer \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}" \
 --data-raw "{
  'reportId': 1,
  'reportName': 'Report name',
  'tabName': 'Excel tab name',
  'lastRead': 1,
  'lastExecution': '2021-09-24T00:00:00Z'
}" 

Responses

Code Meaning Description Schema
200 OK Success ReportImporterDto
400 Bad Request Bad Request Error400
404 Not Found Not found Error404
500 Internal Server Error Internal Server Error Error500

Endpoints

Base products

    Products

      Characteristics

        Delivery commitment

          Inputs

            Input Types

              Outputs

                Output Types

                  Stock

                    Physical Warehouse

                      Virtual Warehouse

                        Returns

                          Devices

                            Providers

                              Logistic Operators

                                Commercial Brands

                                  Commercial Distributions

                                    Status

                                      Categories

                                        Purposes

                                          Regions

                                            Countries

                                              Receptors

                                                Characteristics Values

                                                  Sales Channel

                                                    Tenant group brand

                                                      Organizations

                                                        Sap Ordering

                                                          Report importer