Add new entity to RequiredFields
POST/RequiredFields
Add new entity to RequiredFields
Request
- application/json
Body
required
New entity
Array [
]
name string
isDefault boolean
requiredQuotationFields string[]
hiddenQuotationFields string[]
disabledQuotationFields string[]
id uuid
createdDate date-time
updatedDate date-time
organizationId uuid
reference string
creatorId uuid
customField1 string
customField2 string
customField3 string
customField4 string
customField5 string
quotationStatuses
object[]
name string
order int32
Possible values: >= -2147483648
and <= 2147483647
displayInFlow boolean
canExpire boolean
canArchive boolean
id uuid
createdDate date-time
updatedDate date-time
organizationId uuid
reference string
creatorId uuid
customField1 string
customField2 string
customField3 string
customField4 string
customField5 string
organization
organization
Responses
- 201
- default
Created entity
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
name string
isDefault boolean
requiredQuotationFields string[]
hiddenQuotationFields string[]
disabledQuotationFields string[]
id uuid
createdDate date-time
updatedDate date-time
organizationId uuid
reference string
creatorId uuid
customField1 string
customField2 string
customField3 string
customField4 string
customField5 string
quotationStatuses
object[]
name string
order int32
Possible values: >= -2147483648
and <= 2147483647
displayInFlow boolean
canExpire boolean
canArchive boolean
id uuid
createdDate date-time
updatedDate date-time
organizationId uuid
reference string
creatorId uuid
customField1 string
customField2 string
customField3 string
customField4 string
customField5 string
organization
organization
{
"name": "string",
"isDefault": true,
"requiredQuotationFields": [
"string"
],
"hiddenQuotationFields": [
"string"
],
"disabledQuotationFields": [
"string"
],
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-06-06T15:30:37.674Z",
"updatedDate": "2024-06-06T15:30:37.674Z",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "string",
"creatorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customField1": "string",
"customField2": "string",
"customField3": "string",
"customField4": "string",
"customField5": "string",
"quotationStatuses": [
{
"name": "string",
"order": 0,
"displayInFlow": true,
"canExpire": true,
"canArchive": true,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-06-06T15:30:37.674Z",
"updatedDate": "2024-06-06T15:30:37.674Z",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "string",
"creatorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customField1": "string",
"customField2": "string",
"customField3": "string",
"customField4": "string",
"customField5": "string",
"organization": {}
}
],
"organization": {}
}
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...