POST GravaBilhete
Request Information
URI Parameters
None.
Body Parameters
BilheteName | Description | Type | Additional information |
---|---|---|---|
NumBilhete | integer |
None. |
|
Serie | string |
None. |
|
SerialNumber | string |
None. |
|
CodLinha | string |
None. |
|
CodSecao | string |
None. |
|
DtViagem | date |
None. |
|
Hora | string |
None. |
|
Lugar | integer |
None. |
|
DtEmissao | date |
None. |
|
HoraEmissao | string |
None. |
|
VlrTarifa | decimal number |
None. |
|
VlrSeguro | decimal number |
None. |
|
VlrBagagem | decimal number |
None. |
|
ValorPedagio | decimal number |
None. |
|
PalmCodigo | string |
None. |
|
TipoPax | string |
None. |
|
NomePax | string |
None. |
|
Identidade | string |
None. |
|
CodVeiculo | string |
None. |
|
IdaVolta | string |
None. |
|
CodCliente | string |
None. |
|
PasseNumero | string |
None. |
|
PasseRG | string |
None. |
|
PasseDtValida | string |
None. |
|
PasseCPF | string |
None. |
|
PasseNome | string |
None. |
|
TipoMov | string |
None. |
|
Cidade | string |
None. |
|
Situacao | string |
None. |
|
CodAgencia | integer |
None. |
|
CodAgenciaOri | integer |
None. |
|
CodTabela | integer |
None. |
|
string |
None. |
||
Celular | string |
None. |
|
IdCheckout | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "NumBilhete": 1, "Serie": "sample string 2", "SerialNumber": "sample string 3", "CodLinha": "sample string 4", "CodSecao": "sample string 5", "DtViagem": "2025-04-04T00:38:04.8175825+00:00", "Hora": "sample string 7", "Lugar": 8, "DtEmissao": "2025-04-04T00:38:04.8175825+00:00", "HoraEmissao": "sample string 10", "VlrTarifa": 11.0, "VlrSeguro": 12.0, "VlrBagagem": 13.0, "ValorPedagio": 14.0, "PalmCodigo": "sample string 15", "TipoPax": "sample string 16", "NomePax": "sample string 17", "Identidade": "sample string 18", "CodVeiculo": "sample string 19", "IdaVolta": "sample string 20", "CodCliente": "sample string 21", "PasseNumero": "sample string 22", "PasseRG": "sample string 23", "PasseDtValida": "sample string 24", "PasseCPF": "sample string 25", "PasseNome": "sample string 26", "TipoMov": "sample string 27", "Cidade": "sample string 28", "Situacao": "sample string 29", "CodAgencia": 30, "CodAgenciaOri": 31, "CodTabela": 32, "Email": "sample string 33", "Celular": "sample string 34", "IdCheckout": "sample string 35" }
application/xml, text/xml
Sample:
<Bilhete xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgenciaAPI.Models"> <Celular>sample string 34</Celular> <Cidade>sample string 28</Cidade> <CodAgencia>30</CodAgencia> <CodAgenciaOri>31</CodAgenciaOri> <CodCliente>sample string 21</CodCliente> <CodLinha>sample string 4</CodLinha> <CodSecao>sample string 5</CodSecao> <CodTabela>32</CodTabela> <CodVeiculo>sample string 19</CodVeiculo> <DtEmissao>2025-04-04T00:38:04.8175825+00:00</DtEmissao> <DtViagem>2025-04-04T00:38:04.8175825+00:00</DtViagem> <Email>sample string 33</Email> <Hora>sample string 7</Hora> <HoraEmissao>sample string 10</HoraEmissao> <IdCheckout>sample string 35</IdCheckout> <IdaVolta>sample string 20</IdaVolta> <Identidade>sample string 18</Identidade> <Lugar>8</Lugar> <NomePax>sample string 17</NomePax> <NumBilhete>1</NumBilhete> <PalmCodigo>sample string 15</PalmCodigo> <PasseCPF>sample string 25</PasseCPF> <PasseDtValida>sample string 24</PasseDtValida> <PasseNome>sample string 26</PasseNome> <PasseNumero>sample string 22</PasseNumero> <PasseRG>sample string 23</PasseRG> <SerialNumber>sample string 3</SerialNumber> <Serie>sample string 2</Serie> <Situacao>sample string 29</Situacao> <TipoMov>sample string 27</TipoMov> <TipoPax>sample string 16</TipoPax> <ValorPedagio>14</ValorPedagio> <VlrBagagem>13</VlrBagagem> <VlrSeguro>12</VlrSeguro> <VlrTarifa>11</VlrTarifa> </Bilhete>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |