V1
Outputs
Operations with outputs
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| orgId | path | string | true | Organization name as it is registered in Mas-Stack |
| body | body | OutputDto | true | Information needed to search an output |
Request body - instance of OutputDto
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| outputId | integer | false | none |
| reference | string | false | none |
| productId | integer | false | none |
| vwarehouseId | integer | false | none |
| pWarehouseId | integer | false | none |
| amount | integer | false | none |
| salesChannel | integer | false | none |
| outputDate | string(date) | false | none |
| regularization | boolean | false | none |
| type | integer | false | none |
| salesType | string | false | none |
| tenantGroupBrand | TenantGroupBrandDto | false | none |
| orderId | string | false | none |
| inWarehousePrice | number | false | none |
| inWarehousePriceCurrency | string | false | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | [OutputDto] |
| 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 |
| by | query | string | true | Grouping option. Valid options are {product_id_and_vwarehouse_id} |
| page | query | integer | false | Page number for pagination, page and size must be used together |
| size | query | integer | false | Page size for pagination, page and size must be used together |
| from | query | string | false | Initial date in iso format, from and to must be used together |
| to | query | string | false | Final date in iso format, from and to must be used together |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | [OutputsByProductAndWarehouseResponseDto] |
| 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 | CreateOutputDto | true | Information needed to insert an output |
Request body - instance of CreateOutputDto
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| reference | string | false | none |
| vwarehouseId | integer | true | none |
| pWarehouseId | integer | false | none |
| amount | integer | true | none |
| salesChannel | integer | false | none |
| tenantGroupBrand | string | true | tenant or group band |
| outputDate | string(date) | true | none |
| regularization | boolean | false | none |
| type | integer | false | none |
| salesType | string | false | none |
| orderId | string | false | none |
| inWarehousePrice | number | false | none |
| inWarehousePriceCurrency | string | false | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | OutputDto |
| 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 |
| product | query | integer | false | product id |
| from | query | string | false | initial week in a year |
| to | query | string | false | final week in a year |
| type | query | integer | false | output type |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | [OutputDto] |
| 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 |
| outputId | path | integer | true | Output id to update |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | OutputDto |
| 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 |
| outputId | path | integer | true | Output id to update |
| body | body | UpdateOutputDto | true | Input dto |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | CreateOutputDto | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | object | false | none |
| » productId | integer | true | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | OutputDto |
| 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