POST api/ECommerceCreditGateway/GetRentalBestPriceValue

Riceve in input un elenco di beni e ritorna per ognuno il canone più conveniente.

Request Information

URI Parameters

None.

Body Parameters

GetRentalBestPriceValueModel
NameDescriptionTypeAdditional information
Login

string

Required

RentalAssetList

Collection of RentalAsset

Required

VatIncluded

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Login": "sample string 1",
  "RentalAssetList": [
    {
      "CategoryCode": "sample string 1",
      "BrandCode": "sample string 2",
      "ModelCode": "sample string 3",
      "Amount": 4.0,
      "Description": "sample string 5",
      "ExternalCode": "sample string 6",
      "OriginalAmount": 7.0,
      "RealCost": 8.0,
      "DealerAmount": 9.0,
      "DealerCost": 10.0,
      "SupplierCode": "sample string 11",
      "SupplierOrderCode": "sample string 12",
      "VatCode": "sample string 13",
      "ExternalCategoryCode1": "sample string 14",
      "ExternalCategoryCode2": "sample string 15",
      "ExternalCategoryCode3": "sample string 16",
      "Availability": true,
      "IsDealerBuyer": true,
      "IsDealerSupplier": true,
      "InitialAmount": 19.0,
      "InitialGain": 20.0,
      "MinimumGain": 21.0,
      "DealerMarkup": 22.0,
      "MarkupJumpTable": 23.0,
      "DealerMarkupJumpTable": 24.0,
      "Rate": 25.0,
      "Fee": 26.0,
      "FeeDiscount": 27.0,
      "DifrentlyServiceCost": 28.0,
      "SelfRentPrice": 29.0,
      "Quantity": 1,
      "IsUsedAsset": true
    },
    {
      "CategoryCode": "sample string 1",
      "BrandCode": "sample string 2",
      "ModelCode": "sample string 3",
      "Amount": 4.0,
      "Description": "sample string 5",
      "ExternalCode": "sample string 6",
      "OriginalAmount": 7.0,
      "RealCost": 8.0,
      "DealerAmount": 9.0,
      "DealerCost": 10.0,
      "SupplierCode": "sample string 11",
      "SupplierOrderCode": "sample string 12",
      "VatCode": "sample string 13",
      "ExternalCategoryCode1": "sample string 14",
      "ExternalCategoryCode2": "sample string 15",
      "ExternalCategoryCode3": "sample string 16",
      "Availability": true,
      "IsDealerBuyer": true,
      "IsDealerSupplier": true,
      "InitialAmount": 19.0,
      "InitialGain": 20.0,
      "MinimumGain": 21.0,
      "DealerMarkup": 22.0,
      "MarkupJumpTable": 23.0,
      "DealerMarkupJumpTable": 24.0,
      "Rate": 25.0,
      "Fee": 26.0,
      "FeeDiscount": 27.0,
      "DifrentlyServiceCost": 28.0,
      "SelfRentPrice": 29.0,
      "Quantity": 1,
      "IsUsedAsset": true
    }
  ],
  "VatIncluded": true
}

application/xml, text/xml

Sample:
<GetRentalBestPriceValueModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreditGatewayBusiness">
  <Login>sample string 1</Login>
  <RentalAssetList>
    <RentalAsset>
      <Amount>4</Amount>
      <Availability>true</Availability>
      <BrandCode>sample string 2</BrandCode>
      <CategoryCode>sample string 1</CategoryCode>
      <DealerAmount>9</DealerAmount>
      <DealerCost>10</DealerCost>
      <DealerMarkup>22</DealerMarkup>
      <DealerMarkupJumpTable>24</DealerMarkupJumpTable>
      <Description>sample string 5</Description>
      <DifrentlyServiceCost>28</DifrentlyServiceCost>
      <ExternalCategoryCode1>sample string 14</ExternalCategoryCode1>
      <ExternalCategoryCode2>sample string 15</ExternalCategoryCode2>
      <ExternalCategoryCode3>sample string 16</ExternalCategoryCode3>
      <ExternalCode>sample string 6</ExternalCode>
      <Fee>26</Fee>
      <FeeDiscount>27</FeeDiscount>
      <InitialAmount>19</InitialAmount>
      <InitialGain>20</InitialGain>
      <IsDealerBuyer>true</IsDealerBuyer>
      <IsDealerSupplier>true</IsDealerSupplier>
      <IsUsedAsset>true</IsUsedAsset>
      <MarkupJumpTable>23</MarkupJumpTable>
      <MinimumGain>21</MinimumGain>
      <ModelCode>sample string 3</ModelCode>
      <OriginalAmount>7</OriginalAmount>
      <Quantity>1</Quantity>
      <Rate>25</Rate>
      <RealCost>8</RealCost>
      <SelfRentPrice>29</SelfRentPrice>
      <SupplierCode>sample string 11</SupplierCode>
      <SupplierOrderCode>sample string 12</SupplierOrderCode>
      <VatCode>sample string 13</VatCode>
    </RentalAsset>
    <RentalAsset>
      <Amount>4</Amount>
      <Availability>true</Availability>
      <BrandCode>sample string 2</BrandCode>
      <CategoryCode>sample string 1</CategoryCode>
      <DealerAmount>9</DealerAmount>
      <DealerCost>10</DealerCost>
      <DealerMarkup>22</DealerMarkup>
      <DealerMarkupJumpTable>24</DealerMarkupJumpTable>
      <Description>sample string 5</Description>
      <DifrentlyServiceCost>28</DifrentlyServiceCost>
      <ExternalCategoryCode1>sample string 14</ExternalCategoryCode1>
      <ExternalCategoryCode2>sample string 15</ExternalCategoryCode2>
      <ExternalCategoryCode3>sample string 16</ExternalCategoryCode3>
      <ExternalCode>sample string 6</ExternalCode>
      <Fee>26</Fee>
      <FeeDiscount>27</FeeDiscount>
      <InitialAmount>19</InitialAmount>
      <InitialGain>20</InitialGain>
      <IsDealerBuyer>true</IsDealerBuyer>
      <IsDealerSupplier>true</IsDealerSupplier>
      <IsUsedAsset>true</IsUsedAsset>
      <MarkupJumpTable>23</MarkupJumpTable>
      <MinimumGain>21</MinimumGain>
      <ModelCode>sample string 3</ModelCode>
      <OriginalAmount>7</OriginalAmount>
      <Quantity>1</Quantity>
      <Rate>25</Rate>
      <RealCost>8</RealCost>
      <SelfRentPrice>29</SelfRentPrice>
      <SupplierCode>sample string 11</SupplierCode>
      <SupplierOrderCode>sample string 12</SupplierOrderCode>
      <VatCode>sample string 13</VatCode>
    </RentalAsset>
  </RentalAssetList>
  <VatIncluded>true</VatIncluded>
</GetRentalBestPriceValueModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetRentalBestPriceValueResponseModel
NameDescriptionTypeAdditional information
RentalAssetList

Collection of RentalAssetResponseModel

None.

ErrorList

Collection of Error

None.

HasError

boolean

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.