GET api/authorizations/{authId}/estimate?languageId={languageId}&RqUID={RqUID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
authId

integer

Required

languageId

integer

Required

RqUID

string

None.

Body Parameters

None.

Response Information

Resource Description

RestElementResponseDTOOfRestEstimateDTO
NameDescriptionTypeAdditional information
Element

RestEstimateDTO

None.

RqUID

string

None.

Code

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Element": {
    "AuthorizationId": 1,
    "CurrencyISOCode": "sample string 2",
    "TotalValue": 1.0,
    "Ecotax": 1.0,
    "Subtotal": 3.0,
    "DiscountTotalAmount": 4.0,
    "TotalTaxBase": 5.0,
    "TotalTaxAmount": 6.0,
    "Total": 7.0,
    "TaxInfoList": [
      {
        "TaxPercent": 1.0,
        "TaxBase": 2.0,
        "TaxAmount": 3.0
      },
      {
        "TaxPercent": 1.0,
        "TaxBase": 2.0,
        "TaxAmount": 3.0
      }
    ],
    "LineList": [
      {
        "Type": 1,
        "Code": "sample string 1",
        "Description": "sample string 2",
        "ProductCode": "sample string 3",
        "PartCode": "sample string 4",
        "Quantity": 5.0,
        "UnitPrice": 6.0,
        "BaseAmount": 7.0,
        "DiscountAmount": 8.0,
        "ClientCharge": 9.0,
        "CommercialOffer": 1.0,
        "CommercialObserv": "sample string 10",
        "TaxAmount": 11.0,
        "TaxPercent": 12.0,
        "TotalAmountLine": 13.0,
        "PartCodeList": [
          "sample string 1",
          "sample string 2"
        ],
        "ActionList": [
          "sample string 1",
          "sample string 2"
        ],
        "CommercialOfferType": 0,
        "ClientChargeObserv": "sample string 14",
        "ClientChargeType": 1,
        "UpgradeType": 0,
        "VehicleElement": 1,
        "AftPlatform": 15,
        "StorageReference": "sample string 16",
        "StoragePlace": "sample string 17",
        "FreePackageCode": "sample string 18"
      },
      {
        "Type": 1,
        "Code": "sample string 1",
        "Description": "sample string 2",
        "ProductCode": "sample string 3",
        "PartCode": "sample string 4",
        "Quantity": 5.0,
        "UnitPrice": 6.0,
        "BaseAmount": 7.0,
        "DiscountAmount": 8.0,
        "ClientCharge": 9.0,
        "CommercialOffer": 1.0,
        "CommercialObserv": "sample string 10",
        "TaxAmount": 11.0,
        "TaxPercent": 12.0,
        "TotalAmountLine": 13.0,
        "PartCodeList": [
          "sample string 1",
          "sample string 2"
        ],
        "ActionList": [
          "sample string 1",
          "sample string 2"
        ],
        "CommercialOfferType": 0,
        "ClientChargeObserv": "sample string 14",
        "ClientChargeType": 1,
        "UpgradeType": 0,
        "VehicleElement": 1,
        "AftPlatform": 15,
        "StorageReference": "sample string 16",
        "StoragePlace": "sample string 17",
        "FreePackageCode": "sample string 18"
      }
    ]
  },
  "RqUID": "sample string 1",
  "Code": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<RestElementResponseDTOOfRestEstimateDTOnf4H3eLw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared">
  <Code>sample string 2</Code>
  <Message>sample string 3</Message>
  <RqUID>sample string 1</RqUID>
  <Element xmlns:d2p1="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Authorization">
    <d2p1:AuthorizationId>1</d2p1:AuthorizationId>
    <d2p1:CurrencyISOCode>sample string 2</d2p1:CurrencyISOCode>
    <d2p1:DiscountTotalAmount>4</d2p1:DiscountTotalAmount>
    <d2p1:Ecotax>1</d2p1:Ecotax>
    <d2p1:LineList>
      <d2p1:RestEstimateLineDTO>
        <d2p1:ActionList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:ActionList>
        <d2p1:AftPlatform>15</d2p1:AftPlatform>
        <d2p1:BaseAmount>7</d2p1:BaseAmount>
        <d2p1:ClientCharge>9</d2p1:ClientCharge>
        <d2p1:ClientChargeObserv>sample string 14</d2p1:ClientChargeObserv>
        <d2p1:ClientChargeType>1</d2p1:ClientChargeType>
        <d2p1:Code>sample string 1</d2p1:Code>
        <d2p1:CommercialObserv>sample string 10</d2p1:CommercialObserv>
        <d2p1:CommercialOffer>1</d2p1:CommercialOffer>
        <d2p1:CommercialOfferType>NONE</d2p1:CommercialOfferType>
        <d2p1:Description>sample string 2</d2p1:Description>
        <d2p1:DiscountAmount>8</d2p1:DiscountAmount>
        <d2p1:FreePackageCode>sample string 18</d2p1:FreePackageCode>
        <d2p1:PartCode>sample string 4</d2p1:PartCode>
        <d2p1:PartCodeList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:PartCodeList>
        <d2p1:ProductCode>sample string 3</d2p1:ProductCode>
        <d2p1:Quantity>5</d2p1:Quantity>
        <d2p1:StoragePlace>sample string 17</d2p1:StoragePlace>
        <d2p1:StorageReference>sample string 16</d2p1:StorageReference>
        <d2p1:TaxAmount>11</d2p1:TaxAmount>
        <d2p1:TaxPercent>12</d2p1:TaxPercent>
        <d2p1:TotalAmountLine>13</d2p1:TotalAmountLine>
        <d2p1:Type>PART</d2p1:Type>
        <d2p1:UnitPrice>6</d2p1:UnitPrice>
        <d2p1:UpgradeType>NONE</d2p1:UpgradeType>
        <d2p1:VehicleElement>CAR</d2p1:VehicleElement>
      </d2p1:RestEstimateLineDTO>
      <d2p1:RestEstimateLineDTO>
        <d2p1:ActionList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:ActionList>
        <d2p1:AftPlatform>15</d2p1:AftPlatform>
        <d2p1:BaseAmount>7</d2p1:BaseAmount>
        <d2p1:ClientCharge>9</d2p1:ClientCharge>
        <d2p1:ClientChargeObserv>sample string 14</d2p1:ClientChargeObserv>
        <d2p1:ClientChargeType>1</d2p1:ClientChargeType>
        <d2p1:Code>sample string 1</d2p1:Code>
        <d2p1:CommercialObserv>sample string 10</d2p1:CommercialObserv>
        <d2p1:CommercialOffer>1</d2p1:CommercialOffer>
        <d2p1:CommercialOfferType>NONE</d2p1:CommercialOfferType>
        <d2p1:Description>sample string 2</d2p1:Description>
        <d2p1:DiscountAmount>8</d2p1:DiscountAmount>
        <d2p1:FreePackageCode>sample string 18</d2p1:FreePackageCode>
        <d2p1:PartCode>sample string 4</d2p1:PartCode>
        <d2p1:PartCodeList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:PartCodeList>
        <d2p1:ProductCode>sample string 3</d2p1:ProductCode>
        <d2p1:Quantity>5</d2p1:Quantity>
        <d2p1:StoragePlace>sample string 17</d2p1:StoragePlace>
        <d2p1:StorageReference>sample string 16</d2p1:StorageReference>
        <d2p1:TaxAmount>11</d2p1:TaxAmount>
        <d2p1:TaxPercent>12</d2p1:TaxPercent>
        <d2p1:TotalAmountLine>13</d2p1:TotalAmountLine>
        <d2p1:Type>PART</d2p1:Type>
        <d2p1:UnitPrice>6</d2p1:UnitPrice>
        <d2p1:UpgradeType>NONE</d2p1:UpgradeType>
        <d2p1:VehicleElement>CAR</d2p1:VehicleElement>
      </d2p1:RestEstimateLineDTO>
    </d2p1:LineList>
    <d2p1:Subtotal>3</d2p1:Subtotal>
    <d2p1:TaxInfoList>
      <d2p1:RestTaxInfoDTO>
        <d2p1:TaxAmount>3</d2p1:TaxAmount>
        <d2p1:TaxBase>2</d2p1:TaxBase>
        <d2p1:TaxPercent>1</d2p1:TaxPercent>
      </d2p1:RestTaxInfoDTO>
      <d2p1:RestTaxInfoDTO>
        <d2p1:TaxAmount>3</d2p1:TaxAmount>
        <d2p1:TaxBase>2</d2p1:TaxBase>
        <d2p1:TaxPercent>1</d2p1:TaxPercent>
      </d2p1:RestTaxInfoDTO>
    </d2p1:TaxInfoList>
    <d2p1:Total>7</d2p1:Total>
    <d2p1:TotalTaxAmount>6</d2p1:TotalTaxAmount>
    <d2p1:TotalTaxBase>5</d2p1:TotalTaxBase>
    <d2p1:TotalValue>1</d2p1:TotalValue>
  </Element>
</RestElementResponseDTOOfRestEstimateDTOnf4H3eLw>