POST services/api/v1/Save_Production
Request Information
URI Parameters
None.
Body Parameters
Production_Master| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| LocationId | integer |
None. |
|
| BranchId | integer |
None. |
|
| AssemblyDate | date |
None. |
|
| Transno | integer |
None. |
|
| Cost1 | decimal number |
None. |
|
| Cost2 | decimal number |
None. |
|
| Cost3 | decimal number |
None. |
|
| Cost4 | decimal number |
None. |
|
| UserId | integer |
None. |
|
| VoucherType | integer |
None. |
|
| VoucherNo | string |
None. |
|
| ReferenceNo | string |
None. |
|
| Narration | string |
None. |
|
| AssemblyDetails | Collection of ProductionDetails_List |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"LocationId": 2,
"BranchId": 3,
"AssemblyDate": "2026-09-09T15:15:35.2437506+04:00",
"Transno": 5,
"Cost1": 6.0,
"Cost2": 7.0,
"Cost3": 8.0,
"Cost4": 9.0,
"UserId": 10,
"VoucherType": 11,
"VoucherNo": "sample string 12",
"ReferenceNo": "sample string 13",
"Narration": "sample string 14",
"AssemblyDetails": [
{
"ID": 1,
"SlNo": 2,
"Barcode": "sample string 3",
"ItemName": "sample string 4",
"Unit": "sample string 5",
"Qty": 6.0,
"Amount": 7.0,
"Rate": 8.0,
"NetAmt": 9.0,
"Flag": true,
"BranchId": 11,
"Batchno": "sample string 12",
"Expirydate": "2026-09-09T15:15:35.2437506+04:00"
},
{
"ID": 1,
"SlNo": 2,
"Barcode": "sample string 3",
"ItemName": "sample string 4",
"Unit": "sample string 5",
"Qty": 6.0,
"Amount": 7.0,
"Rate": 8.0,
"NetAmt": 9.0,
"Flag": true,
"BranchId": 11,
"Batchno": "sample string 12",
"Expirydate": "2026-09-09T15:15:35.2437506+04:00"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |