Add new entity to QuotationGroups
POST/QuotationGroups
Add new entity to QuotationGroups
Request
- application/json
Body
required
New entity
groupId uuid
groupOrder int32
Possible values: >= -2147483648
and <= 2147483647
groupAmount int32
Possible values: >= -2147483648
and <= 2147483647
groupTitle string
configurationId uuid
parentGroupId uuid
configurationCode string
quotationId uuid
unitExclPrice decimal
unitInclPrice decimal
totalPriceExclVat decimal
totalPriceInclVat decimal
purchasePrice decimal
profitMargin decimal
profitMarginPercentage decimal
groupMarginPct decimal
Responses
- 201
- default
Created entity
- application/json
- Schema
- Example (from schema)
Schema
groupId uuid
groupOrder int32
Possible values: >= -2147483648
and <= 2147483647
groupAmount int32
Possible values: >= -2147483648
and <= 2147483647
groupTitle string
configurationId uuid
parentGroupId uuid
configurationCode string
quotationId uuid
unitExclPrice decimal
unitInclPrice decimal
totalPriceExclVat decimal
totalPriceInclVat decimal
purchasePrice decimal
profitMargin decimal
profitMarginPercentage decimal
groupMarginPct decimal
{
"groupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"groupOrder": 0,
"groupAmount": 0,
"groupTitle": "string",
"configurationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parentGroupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"configurationCode": "string",
"quotationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"unitExclPrice": 0,
"unitInclPrice": 0,
"totalPriceExclVat": 0,
"totalPriceInclVat": 0,
"purchasePrice": 0,
"profitMargin": 0,
"profitMarginPercentage": 0,
"groupMarginPct": 0
}
error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
required
code stringrequired
message stringrequired
target string
details
object[]
code stringrequired
message stringrequired
target string
innererror object
The structure of this object is service-specific
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
],
"innererror": {}
}
}
Loading...