Order reason catalog 1
list
GET /api/v2/general/order-reasons-catalog1/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
{
"content" : [ ],
"pageable" : {
"pageNumber" : 0,
"pageSize" : 20,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"offset" : 0,
"paged" : true,
"unpaged" : false
},
"last" : true,
"totalElements" : 0,
"totalPages" : 0,
"first" : true,
"size" : 20,
"number" : 0,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"numberOfElements" : 0,
"empty" : true
}
Path | Type | Description |
---|---|---|
|
|
order reasons catalog 1 name |
|
|
is order reasons catalog 1 deleted? |
create
POST /api/v2/general/order-reasons-catalog1 HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
order reasons catalog 1 name |
Must not be blank. |
deleted |
Boolean |
is order reasons catalog 1 deleted? |
Must not be null |
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
order reasons catalog 1 name |
|
|
is order reasons catalog 1 deleted? |
get
GET /api/v2/general/order-reasons-catalog1?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
order reasons catalog 1 name |
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
order reasons catalog 1 name |
|
|
is order reasons catalog 1 deleted? |
update
PUT /api/v2/general/order-reasons-catalog1?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
order reasons catalog 1 name |
Must not be blank. |
deleted |
Boolean |
is order reasons catalog 1 deleted? |
Must not be null |
Parameter | Description |
---|---|
|
order reasons catalog 1 name |
HTTP/1.1 200 OK
delete
DELETE /api/v2/general/order-reasons-catalog1?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
order reasons catalog 1 name |
HTTP/1.1 200 OK