01 Net costing result
Will return costing data
URL
misdashboard/net_costing
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | Y0RfH4XWkKjLFxiB7z3jWkSeYGW2ekXB | Key obtained from authentiaction. |
| uid | String | M | CE400858268F4A3CBCD7E2706DD0AF72 | GUID of the request |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| CostingDetails | Array | M | Costing detials | |||
| firmname | String | M | COCHIN BLUE METAL INDUSTRIES PVT LTD | Firm Name | ||
| firmshortname | String | M | CBM | Firm Short Name | ||
| firmtypecode | String | M | CU | Firm Type Id | ||
| frm_displaycolor | String | M | #9E2783 | Firm Color | ||
| MonthName | String | M | April | Cost month Name | ||
| SortKeyId | Integer | M | 202304 | Year Month Sort ID | ||
| MonthExpense | Decimal | M | 22406509.82 | Expense for given month | ||
| MonthSales | Decimal | M | 4186.57 | Sale QTY | ||
| MonthProduction | Decimal | M | 1050.00 | In LOADS | ||
| CostBSales | Decimal | M | 5351.996 | Cost based on Sales | ||
| CostBProduction | Decimal | M | 21339.533 | Cost based on Production | ||
| firmtype | String | M | CRUSHER UNIT |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"uid": "CE400858268F4A3CBCD7E2706DD0AF72"
}
Sample Success Response
{
"CostingDetails": [
{
"firmname": "COCHIN BLUE METAL INDUSTRIES PVT LTD",
"firmshortname": "CBM",
"firmtypecode": "CU",
"frm_displaycolor": "#9E2783",
"MonthName": "April",
"SortKeyId": "202304",
"MonthExpense": "22406509.82",
"MonthSales": "4186.57",
"MonthProduction": "1050.00",
"CostBSales": "5351.996",
"CostBProduction": "21339.533",
"firmtype": "CRUSHER UNIT"
}
],
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}