POST api/Setting/AddComposition
Request Information
URI Parameters
None.
Body Parameters
Composition| Name | Description | Type | Additional information |
|---|---|---|---|
| composition_id | integer |
None. |
|
| name | string |
None. |
|
| code | string |
None. |
|
| isDefault | boolean |
None. |
|
| createBy | globally unique identifier |
None. |
|
| business_id | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"composition_id": 1,
"name": "sample string 2",
"code": "sample string 3",
"isDefault": true,
"createBy": "1a94daa5-7648-4a1d-ab0f-c5b19061e9f1",
"business_id": "edabef95-b7db-41f2-ac30-a05a8333a284"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| error | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.