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.VwBookingItemName | 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, "Qtd": 3.0, "Patio": 4.0, "Saida": 5.0, "Reefer": 1.0, "Hazardous": 1.0, "Temperature": 8.0, "Imo": "sample string 9", "Tipo": "sample string 10", "Iso": "sample string 11", "Oog": 1.0, "Un": "sample string 13", "IsReefer": true, "IsHazardous": true, "IsOog": true }, { "Id": 1, "BookingId": 2, "Qtd": 3.0, "Patio": 4.0, "Saida": 5.0, "Reefer": 1.0, "Hazardous": 1.0, "Temperature": 8.0, "Imo": "sample string 9", "Tipo": "sample string 10", "Iso": "sample string 11", "Oog": 1.0, "Un": "sample string 13", "IsReefer": true, "IsHazardous": true, "IsOog": true } ]
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> <Qtd xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">3</Qtd> <Patio xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">4</Patio> <Saida xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">5</Saida> <Reefer xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Reefer> <Hazardous xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Hazardous> <Temperature xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">8</Temperature> <Imo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 9</Imo> <Tipo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 10</Tipo> <Iso xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 11</Iso> <Oog xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Oog> <Un xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 13</Un> <IsReefer xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsReefer> <IsHazardous xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsHazardous> <IsOog xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsOog> </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> <Qtd xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">3</Qtd> <Patio xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">4</Patio> <Saida xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">5</Saida> <Reefer xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Reefer> <Hazardous xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Hazardous> <Temperature xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">8</Temperature> <Imo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 9</Imo> <Tipo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 10</Tipo> <Iso xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 11</Iso> <Oog xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Oog> <Un xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 13</Un> <IsReefer xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsReefer> <IsHazardous xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsHazardous> <IsOog xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:boolean" xmlns="">true</IsOog> </VwBookingItem> </ArrayOfVwBookingItem>