POST api/Book/GetTaxBreakDown

Request Information

URI Parameters

None.

Body Parameters

FPTaxBreakDownRQ
NameDescriptionTypeAdditional information
FlightTaxBreakDownRQ

FlightTaxBreakDownRQ

None.

Request Formats

application/json, text/json

Sample:
{
  "FlightTaxBreakDownRQ": {
    "ContractId": 1,
    "ContractLocatorKey": "sample string 2"
  },
  "SoapAuthentication": {
    "UserName": "sample string 1",
    "Password": "sample string 2"
  }
}

text/html

Sample:
{"FlightTaxBreakDownRQ":{"ContractId":1,"ContractLocatorKey":"sample string 2"},"SoapAuthentication":{"UserName":"sample string 1","Password":"sample string 2"}}

application/xml, text/xml

Sample:
<FPTaxBreakDownRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <FlightTaxBreakDownRQ>
    <ContractId>1</ContractId>
    <ContractLocatorKey>sample string 2</ContractLocatorKey>
  </FlightTaxBreakDownRQ>
  <SoapAuthentication>
    <Password>sample string 2</Password>
    <UserName>sample string 1</UserName>
  </SoapAuthentication>
</FPTaxBreakDownRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TaxBreakDownResponse
NameDescriptionTypeAdditional information
TaxBreakDown

Collection of TaxBreakDown

None.

ErrorCode

string

None.

ErrorAtNode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": "sample string 1",
  "ErrorAtNode": "sample string 2",
  "TaxBreakDown": [
    {
      "BreakDown": [
        {
          "Code": "sample string 1",
          "Amount": 2.1
        },
        {
          "Code": "sample string 1",
          "Amount": 2.1
        }
      ],
      "Type": 0
    },
    {
      "BreakDown": [
        {
          "Code": "sample string 1",
          "Amount": 2.1
        },
        {
          "Code": "sample string 1",
          "Amount": 2.1
        }
      ],
      "Type": 0
    }
  ]
}

text/html

Sample:
{"ErrorCode":"sample string 1","ErrorAtNode":"sample string 2","TaxBreakDown":[{"BreakDown":[{"Code":"sample string 1","Amount":2.1},{"Code":"sample string 1","Amount":2.1}],"Type":0},{"BreakDown":[{"Code":"sample string 1","Amount":2.1},{"Code":"sample string 1","Amount":2.1}],"Type":0}]}

application/xml, text/xml

Sample:
<TaxBreakDownResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <ErrorAtNode>sample string 2</ErrorAtNode>
  <ErrorCode>sample string 1</ErrorCode>
  <TaxBreakDown>
    <TaxBreakDown>
      <BreakDown>
        <BreakDown>
          <Amount>2.1</Amount>
          <Code>sample string 1</Code>
        </BreakDown>
        <BreakDown>
          <Amount>2.1</Amount>
          <Code>sample string 1</Code>
        </BreakDown>
      </BreakDown>
      <Type>NONE</Type>
    </TaxBreakDown>
    <TaxBreakDown>
      <BreakDown>
        <BreakDown>
          <Amount>2.1</Amount>
          <Code>sample string 1</Code>
        </BreakDown>
        <BreakDown>
          <Amount>2.1</Amount>
          <Code>sample string 1</Code>
        </BreakDown>
      </BreakDown>
      <Type>NONE</Type>
    </TaxBreakDown>
  </TaxBreakDown>
</TaxBreakDownResponse>