POST api/ECommerceCreditGateway/UpdateAssetListProposal
Consente la modifica del carrello beni e dell’importo di una proposta.
Request Information
URI Parameters
None.
Body Parameters
UpdateAssetListModelName | Description | Type | Additional information |
---|---|---|---|
Login | string |
Required |
|
TOKEN | string |
Required |
|
AssetList | Collection of Asset |
Required |
|
VatIncluded | boolean |
None. |
|
Installment | Installment |
Required |
Request Formats
application/json, text/json
Sample:
{ "Login": "sample string 1", "TOKEN": "sample string 2", "AssetList": [ { "Code": "sample string 1", "Amount": 2.0, "Description": "sample string 3", "ExternalCode": "sample string 4" }, { "Code": "sample string 1", "Amount": 2.0, "Description": "sample string 3", "ExternalCode": "sample string 4" } ], "VatIncluded": true, "Installment": { "Duration": 1, "Amount": 2.0, "Rate": 3.0, "ProductCode": "sample string 4", "AgreementCode": "sample string 5", "AssetsWithFees": [ { "Fee": 1.0, "Code": "sample string 2", "Amount": 3.0, "Description": "sample string 4", "ExternalCode": "sample string 5" }, { "Fee": 1.0, "Code": "sample string 2", "Amount": 3.0, "Description": "sample string 4", "ExternalCode": "sample string 5" } ] } }
application/xml, text/xml
Sample:
<UpdateAssetListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreditGatewayBusiness"> <AssetList> <Asset> <Amount>2</Amount> <Code>sample string 1</Code> <Description>sample string 3</Description> <ExternalCode>sample string 4</ExternalCode> </Asset> <Asset> <Amount>2</Amount> <Code>sample string 1</Code> <Description>sample string 3</Description> <ExternalCode>sample string 4</ExternalCode> </Asset> </AssetList> <Installment> <AgreementCode>sample string 5</AgreementCode> <Amount>2</Amount> <AssetsWithFees> <AssetWithFees> <Amount>3</Amount> <Code>sample string 2</Code> <Description>sample string 4</Description> <ExternalCode>sample string 5</ExternalCode> <Fee>1</Fee> </AssetWithFees> <AssetWithFees> <Amount>3</Amount> <Code>sample string 2</Code> <Description>sample string 4</Description> <ExternalCode>sample string 5</ExternalCode> <Fee>1</Fee> </AssetWithFees> </AssetsWithFees> <Duration>1</Duration> <ProductCode>sample string 4</ProductCode> <Rate>3</Rate> </Installment> <Login>sample string 1</Login> <TOKEN>sample string 2</TOKEN> <VatIncluded>true</VatIncluded> </UpdateAssetListModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UPDATEASSETLIST_PROPOSAL_RESPONSEName | Description | Type | Additional information |
---|---|---|---|
TOKEN | string |
None. |
|
ErrorList | Collection of Error |
None. |
|
HasError | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.