01 Net costing prepare
Net Costing preparation for given firm group. Monthly Expense / (monthly production | Monthly Sales)
URL
misdashboard/net_costing_prepare
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 | BUYKLaVbwgW0xf6oBxN4zal5bX4Pt046 | Key obtained from authentiaction. |
| firmtypecodes | String | M | CU,Y | For crusher's sent CU. Blank will generate all firm request. (Crusher and Yard) | ||
| uid | String | M | CE400858268F4A3CBCD7E2706DD0AF72 | UID for the run instance | ||
| costingdate | String | M | 2023-09-18 | Not mandatory. Costing data prepares for the Financial Year belongs to the given Date. If date not provided then default Current financial year is taken. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| uid | String | M | ||||
| statuspercentage | Integer | M | 60 | |||
| statusmessage | String | M | Waiting |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"firmtypecodes": "CU,Y",
"uid": "CE400858268F4A3CBCD7E2706DD0AF72",
"costingdate": "2023-09-18"
}
Sample Success Response
{
"uid": "",
"statuspercentage": "60",
"statusmessage": "Waiting",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}