POST api/v{version}/Printt/prices
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version |
The requested API version |
string |
Required Default value is 1 |
Body Parameters
PrinttOptionName | Description | Type | Additional information |
---|---|---|---|
is_color | boolean |
None. |
|
is_duplex | boolean |
None. |
|
with_adverts | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "is_color": true, "is_duplex": true, "with_adverts": true }
text/javascript
Sample:
{"is_color":true,"is_duplex":true,"with_adverts":true}
application/xml, text/xml
Sample:
<PrinttOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNITE.External.API.Support.Printt"> <is_color>true</is_color> <is_duplex>true</is_duplex> <with_adverts>true</with_adverts> </PrinttOption>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PrinttPriceName | Description | Type | Additional information |
---|---|---|---|
total_price | integer |
None. |
|
money_saved | integer |
None. |
|
page_price | integer |
None. |
|
base_price | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "total_price": 1, "money_saved": 2, "page_price": 3, "base_price": 4 }
text/javascript
Sample:
{"total_price":1,"money_saved":2,"page_price":3,"base_price":4}
application/xml, text/xml
Sample:
<PrinttPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNITE.External.API.Support.Printt"> <base_price>4</base_price> <money_saved>2</money_saved> <page_price>3</page_price> <total_price>1</total_price> </PrinttPrice>