POST - /product/console
General Information
Service | API | Method | Data Model | Workflow | Group |
---|---|---|---|---|---|
multitenant | /product | POST | Products | N/A | Console product |
Description
Add console product
Input
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
code | Body | YES | String | The length is between 4 - 5 | Product code |
name | Body | YES | String | N/A | Product name |
description | Body | NO | String | N/A | Product description |
scope | Body | NO | Object | Scope Schema | Product Scope - Check the Example below |
Scope Example
Output
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
Valid Response
Invalid Response
Code | Description |
---|---|
400 | Business logic required data are missing |
468 | Product already exists |
602 | Model error: + %model_error% |