POST api/ProductMaster/AddProductMaster
Request Information
URI Parameters
None.
Body Parameters
ProductRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountHeadList | Collection of ProductMasterRequestModel |
None. |
|
| HeadId | integer |
None. |
|
| ParentId | integer |
None. |
|
| ParentHeadName | string |
None. |
|
| Title | string |
None. |
|
| FixStatus | integer |
None. |
|
| HSNCode | string |
None. |
|
| UnitId | integer |
None. |
|
| ProductName | string |
None. |
|
| level | integer |
None. |
|
| MainId | integer |
None. |
|
| Gst_Percent | decimal number |
None. |
|
| AccountHead | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountHeadList": [
{
"Id": 1,
"ParentId": 2,
"MainId": 3,
"Title": "sample string 4",
"ParentHeadName": "sample string 5",
"Level": 1,
"BranchCode": "sample string 6",
"Status": 7,
"FixStatus": 1,
"HSNCode": "sample string 8",
"UnitId": 1,
"ProductName": "sample string 9",
"Gst_Percent": 1.0
},
{
"Id": 1,
"ParentId": 2,
"MainId": 3,
"Title": "sample string 4",
"ParentHeadName": "sample string 5",
"Level": 1,
"BranchCode": "sample string 6",
"Status": 7,
"FixStatus": 1,
"HSNCode": "sample string 8",
"UnitId": 1,
"ProductName": "sample string 9",
"Gst_Percent": 1.0
}
],
"HeadId": 1,
"ParentId": 1,
"ParentHeadName": "sample string 2",
"Title": "sample string 3",
"FixStatus": 1,
"HSNCode": "sample string 4",
"UnitId": 1,
"ProductName": "sample string 5",
"level": 6,
"MainId": 7,
"Gst_Percent": 1.0,
"AccountHead": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddUpdateDeleteResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Data": {}
}