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": "dcb64a01-feea-4375-8750-04dac695252d",
"business_id": "b361651e-6930-420f-a250-bd66bb8af7e8"
}
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.