POST apiwba/bap/bgttransporttype

Request Information

URI Parameters

None.

Body Parameters

GetBgtTransportTypeInput
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2"
}

application/xml, text/xml

Sample:
<GetBgtTransportTypeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <Password xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 2</Password>
  <Username xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 1</Username>
</GetBgtTransportTypeInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetBgtTransportTypeResult
NameDescriptionTypeAdditional information
Data

Collection of BgtTransportTypeInfoApi

None.

ProcessErrorType

integer

None.

ProcessErrorDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "ID": 1,
      "Name": "sample string 2",
      "IsSeat": true
    },
    {
      "ID": 1,
      "Name": "sample string 2",
      "IsSeat": true
    }
  ],
  "ProcessErrorType": 1,
  "ProcessErrorDescription": "sample string 2"
}

application/xml, text/xml

Sample:
<GetBgtTransportTypeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <ProcessErrorDescription xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 2</ProcessErrorDescription>
  <ProcessErrorType xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">1</ProcessErrorType>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataAccess.Entities.BAP">
    <d2p1:BgtTransportTypeInfoApi>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsSeat>true</d2p1:IsSeat>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:BgtTransportTypeInfoApi>
    <d2p1:BgtTransportTypeInfoApi>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsSeat>true</d2p1:IsSeat>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:BgtTransportTypeInfoApi>
  </Data>
</GetBgtTransportTypeResult>