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": "aa17d701-903b-4c68-beb0-02bd58f82c2e",
"business_id": "e8020658-3d53-49ad-a988-6babf995ac5b"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
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.