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": "f5f6e03f-2c51-495d-bb40-393c388d90ab",
"business_id": "1cd6b518-4f89-420e-9446-5f05853b7c9b"
}
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.