POST api/BatchSpence/Post?context={context}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
context | string |
Required |
Body Parameters
BatchSpenceName | Description | Type | Additional information |
---|---|---|---|
IdBatch | string |
None. |
|
NetWeightBatch | integer |
None. |
|
GrossWeightBatch | integer |
None. |
|
CathodesBatch | integer |
None. |
|
InitialDateBatch | date |
None. |
|
FinalDateBatch | date |
None. |
|
BundleList | Collection of PaqueteSpence |
None. |
Request Formats
application/json, text/json
Sample:
{ "idBatch": "sample string 1", "netWeightBatch": 2, "grossWeightBatch": 3, "cathodesBatch": 4, "initialDateBatch": "2024-09-23T12:21:44.6245304+00:00", "finalDateBatch": "2024-09-23T12:21:44.6245304+00:00", "bundleList": [ { "idBundle": 2, "netWeight": 5, "grossWeight": 6, "numberCathodes": 7, "bundleType": "sample string 10", "weighingDate": "2024-09-23T12:21:44.6245304+00:00" }, { "idBundle": 2, "netWeight": 5, "grossWeight": 6, "numberCathodes": 7, "bundleType": "sample string 10", "weighingDate": "2024-09-23T12:21:44.6245304+00:00" } ] }
Response Information
Resource Description
ResponseModelName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
Message | string |
None. |
|
StatusCode | integer |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "statusCode": 3, "data": {} }