P and L Prepare
URL
misdashboard/plprepare
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 | fWWevpJeEpPeRN7Kg0SFc7ZPQacjeDaO | Key obtained from authentiaction. |
| firmids | String | M | 0,1,2 | can add multiple or single firm | ||
| fromdate | String | M | '2022-04-01 | report start date | ||
| todate | String | M | enddate | report end date | ||
| firmtypecodes | String | M | CU,Y | One or more firmtype Ids can be given as comma separated value; eg: CU,Y (Crusher and Yard) If no input given then it treated as include all firm Types. (If firmids value is provided then firmtype will not be considered) |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| uid | String | M | UID | |||
| statuspercentage | String | M | Status percentage of Operation | |||
| statusmessage | String | M | Status of Operation |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"firmids": "0,1,2",
"fromdate": "'2022-04-01",
"todate": "enddate",
"firmtypecodes": "CU,Y"
}
Sample Success Response
{
"uid": "",
"statuspercentage": "",
"statusmessage": "",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}