POST api/device/addSenderTicket

Request Information

URI Parameters

None.

Body Parameters

TicketSenderDTO
NameDescriptionTypeAdditional information
TicketNumber

string

None.

SendingDate

date

None.

WorkbenchZoneId

integer

None.

WorkbenchPk

string

None.

OperatorId

integer

None.

TruckId

integer

None.

MaterialId

integer

None.

ScaleId

integer

None.

LoaderId

integer

None.

ScaleWeight

integer

None.

LoadNetWeight

integer

None.

ScaleDate

date

None.

EndLoadDate

date

None.

ScaleWeightDate

date

None.

DestinationId

integer

None.

DestinationPk

string

None.

IsCanceled

boolean

None.

Comments

string

None.

OperatorSign

string

None.

DriverSign

string

None.

FinishedDate

date

None.

PhotoNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketNumber": "sample string 1",
  "SendingDate": "2025-12-06T05:51:43.0688345+01:00",
  "WorkbenchZoneId": 1,
  "WorkbenchPk": "sample string 3",
  "OperatorId": 4,
  "TruckId": 5,
  "MaterialId": 1,
  "ScaleId": 1,
  "LoaderId": 1,
  "ScaleWeight": 1,
  "LoadNetWeight": 1,
  "ScaleDate": "2025-12-06T05:51:43.0688345+01:00",
  "EndLoadDate": "2025-12-06T05:51:43.0688345+01:00",
  "ScaleWeightDate": "2025-12-06T05:51:43.0688345+01:00",
  "DestinationId": 1,
  "DestinationPk": "sample string 6",
  "IsCanceled": true,
  "Comments": "sample string 8",
  "OperatorSign": "sample string 9",
  "DriverSign": "sample string 10",
  "FinishedDate": "2025-12-06T05:51:43.0688345+01:00",
  "PhotoNumber": 11
}

application/xml, text/xml

Sample:
<TicketSenderDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccionaChecadoresAPI.DTOs">
  <Comments>sample string 8</Comments>
  <DestinationId>1</DestinationId>
  <DestinationPk>sample string 6</DestinationPk>
  <DriverSign>sample string 10</DriverSign>
  <EndLoadDate>2025-12-06T05:51:43.0688345+01:00</EndLoadDate>
  <FinishedDate>2025-12-06T05:51:43.0688345+01:00</FinishedDate>
  <IsCanceled>true</IsCanceled>
  <LoadNetWeight>1</LoadNetWeight>
  <LoaderId>1</LoaderId>
  <MaterialId>1</MaterialId>
  <OperatorId>4</OperatorId>
  <OperatorSign>sample string 9</OperatorSign>
  <PhotoNumber>11</PhotoNumber>
  <ScaleDate>2025-12-06T05:51:43.0688345+01:00</ScaleDate>
  <ScaleId>1</ScaleId>
  <ScaleWeight>1</ScaleWeight>
  <ScaleWeightDate>2025-12-06T05:51:43.0688345+01:00</ScaleWeightDate>
  <SendingDate>2025-12-06T05:51:43.0688345+01:00</SendingDate>
  <TicketNumber>sample string 1</TicketNumber>
  <TruckId>5</TruckId>
  <WorkbenchPk>sample string 3</WorkbenchPk>
  <WorkbenchZoneId>1</WorkbenchZoneId>
</TicketSenderDTO>

multipart/form-data

Sample:
<TicketSenderDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccionaChecadoresAPI.DTOs"><Comments>sample string 8</Comments><DestinationId>1</DestinationId><DestinationPk>sample string 6</DestinationPk><DriverSign>sample string 10</DriverSign><EndLoadDate>2025-12-06T05:51:43.0688345+01:00</EndLoadDate><FinishedDate>2025-12-06T05:51:43.0688345+01:00</FinishedDate><IsCanceled>true</IsCanceled><LoadNetWeight>1</LoadNetWeight><LoaderId>1</LoaderId><MaterialId>1</MaterialId><OperatorId>4</OperatorId><OperatorSign>sample string 9</OperatorSign><PhotoNumber>11</PhotoNumber><ScaleDate>2025-12-06T05:51:43.0688345+01:00</ScaleDate><ScaleId>1</ScaleId><ScaleWeight>1</ScaleWeight><ScaleWeightDate>2025-12-06T05:51:43.0688345+01:00</ScaleWeightDate><SendingDate>2025-12-06T05:51:43.0688345+01:00</SendingDate><TicketNumber>sample string 1</TicketNumber><TruckId>5</TruckId><WorkbenchPk>sample string 3</WorkbenchPk><WorkbenchZoneId>1</WorkbenchZoneId></TicketSenderDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.