POST api/Task/GetTaskById

Request Information

URI Parameters

None.

Body Parameters

DTOGetTaskByIdIn
NameDescriptionTypeAdditional information
IdControlComex

integer

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdControlComex": 1,
  "Token": "sample string 2"
}

text/html

Sample:
{"IdControlComex":1,"Token":"sample string 2"}

application/xml, text/xml

Sample:
<DTOGetTaskByIdIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Framework.DTOView">
  <IdControlComex>1</IdControlComex>
  <Token>sample string 2</Token>
</DTOGetTaskByIdIn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DTOGetTaskByIdOut
NameDescriptionTypeAdditional information
Operation

Operation

None.

DetalleTask

DTODetalleTaskComex

None.

Response Formats

application/json, text/json

Sample:
{
  "Operation": {
    "OperationStatus": 1,
    "OperationCode": 2,
    "OperationMessage": null
  },
  "DetalleTask": {
    "IdTarea": 1,
    "Codigo": "sample string 2",
    "Estado": "sample string 3",
    "TerminalCarga": "sample string 4",
    "FechaTurno": "sample string 5",
    "HoraDesdeTurno": "sample string 6",
    "HoraHastaTurno": "sample string 7",
    "Origen": "sample string 8",
    "Destino": "sample string 9",
    "CodigoTipoCarga": "sample string 10",
    "HoraPoncheo": "sample string 11",
    "HoraSalida": "sample string 12",
    "NumeroGuia": "sample string 13",
    "IdGuia": 14,
    "DiaSemana": "sample string 15"
  }
}

text/html

Sample:
{"Operation":{"OperationStatus":1,"OperationCode":2,"OperationMessage":null},"DetalleTask":{"IdTarea":1,"Codigo":"sample string 2","Estado":"sample string 3","TerminalCarga":"sample string 4","FechaTurno":"sample string 5","HoraDesdeTurno":"sample string 6","HoraHastaTurno":"sample string 7","Origen":"sample string 8","Destino":"sample string 9","CodigoTipoCarga":"sample string 10","HoraPoncheo":"sample string 11","HoraSalida":"sample string 12","NumeroGuia":"sample string 13","IdGuia":14,"DiaSemana":"sample string 15"}}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.