POST api/BatchSpence?context={context}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
context

string

Required

Body Parameters

BatchSpence
NameDescriptionTypeAdditional 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-06-29T07:29:43.7902645+00:00",
  "finalDateBatch": "2024-06-29T07:29:43.7902645+00:00",
  "bundleList": [
    {
      "idBundle": 2,
      "netWeight": 5,
      "grossWeight": 6,
      "numberCathodes": 7,
      "bundleType": "sample string 10",
      "weighingDate": "2024-06-29T07:29:43.7902645+00:00"
    },
    {
      "idBundle": 2,
      "netWeight": 5,
      "grossWeight": 6,
      "numberCathodes": 7,
      "bundleType": "sample string 10",
      "weighingDate": "2024-06-29T07:29:43.7902645+00:00"
    }
  ]
}

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional 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": {}
}