GET API/Bookings/{id}/Itens
Retorna uma lista de itens do booking.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WilsonSons.Terminais.WSNegocio.Modelo.VwBookingItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| BookingId | integer |
None. |
|
| Reefer | decimal number |
None. |
|
| IsReefer | boolean |
None. |
|
| Hazardous | decimal number |
None. |
|
| IsHazardous | boolean |
None. |
|
| Temperature | decimal number |
None. |
|
| Imo | string |
None. |
|
| Tipo | string |
None. |
|
| Iso | string |
None. |
|
| Oog | decimal number |
None. |
|
| IsOog | boolean |
None. |
|
| Qtd | decimal number |
None. |
|
| Patio | decimal number |
None. |
|
| Saida | decimal number |
None. |
|
| Un | string |
None. |
|
| Instancia | WilsonSons.Arquitetura.Framework.GenericObjectHandler.Modelo.BaseDTO |
None. |
|
| Estado | System.Data.DataRowState |
None. |
|
| Filtrado | boolean |
None. |
|
| Original | WilsonSons.Arquitetura.Framework.GenericObjectHandler.Modelo.BaseDTO |
None. |
|
| FoiAlterado | boolean |
None. |
|
| Lista | Collection of Object |
None. |
|
| EdicaoIniciada | boolean |
None. |
|
| AdicaoPendente | boolean |
None. |
|
| ErroValidacao | string |
None. |
|
| ErroValidacaoItem | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"BookingId": 2,
"Reefer": 1.0,
"IsReefer": true,
"Hazardous": 1.0,
"IsHazardous": true,
"Temperature": 7.0,
"Imo": "sample string 8",
"Tipo": "sample string 9",
"Iso": "sample string 10",
"Oog": 1.0,
"IsOog": true,
"Qtd": 13.0,
"Patio": 14.0,
"Saida": 15.0,
"Un": "sample string 16"
},
{
"Id": 1,
"BookingId": 2,
"Reefer": 1.0,
"IsReefer": true,
"Hazardous": 1.0,
"IsHazardous": true,
"Temperature": 7.0,
"Imo": "sample string 8",
"Tipo": "sample string 9",
"Iso": "sample string 10",
"Oog": 1.0,
"IsOog": true,
"Qtd": 13.0,
"Patio": 14.0,
"Saida": 15.0,
"Un": "sample string 16"
}
]
application/xml, text/xml
Sample:
<ArrayOfVwBookingItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo">
<VwBookingItem>
<Id xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:long" xmlns="">1</Id>
<BookingId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:long" xmlns="">2</BookingId>
<Reefer xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Reefer>
<IsReefer xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsReefer>
<Hazardous xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Hazardous>
<IsHazardous xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsHazardous>
<Temperature xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">7</Temperature>
<Imo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 8</Imo>
<Tipo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 9</Tipo>
<Iso xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 10</Iso>
<Oog xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Oog>
<IsOog xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsOog>
<Qtd xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">13</Qtd>
<Patio xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">14</Patio>
<Saida xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">15</Saida>
<Un xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 16</Un>
</VwBookingItem>
<VwBookingItem>
<Id xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:long" xmlns="">1</Id>
<BookingId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:long" xmlns="">2</BookingId>
<Reefer xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Reefer>
<IsReefer xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsReefer>
<Hazardous xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Hazardous>
<IsHazardous xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsHazardous>
<Temperature xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">7</Temperature>
<Imo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 8</Imo>
<Tipo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 9</Tipo>
<Iso xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 10</Iso>
<Oog xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Oog>
<IsOog xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsOog>
<Qtd xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">13</Qtd>
<Patio xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">14</Patio>
<Saida xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">15</Saida>
<Un xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 16</Un>
</VwBookingItem>
</ArrayOfVwBookingItem>