POST api/PayPal/Product
Request Information
URI Parameters
None.
Body Parameters
ProductRequestData| Name | Description | Type | Additional information |
|---|---|---|---|
| Currency | string |
None. |
|
| ProductCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Currency": "sample string 1",
"ProductCode": "sample string 2"
}
application/xml, text/xml
Sample:
<ProductRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Models.PayPal"> <Currency>sample string 1</Currency> <ProductCode>sample string 2</ProductCode> </ProductRequestData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Product| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProductCode | string |
None. |
|
| Price | decimal number |
None. |
|
| USD | decimal number |
None. |
|
| EUR | decimal number |
None. |
|
| GBP | decimal number |
None. |
|
| AUD | decimal number |
None. |
|
| Name | string |
None. |
|
| NZD | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"ProductCode": "sample string 2",
"Price": 3.0,
"USD": 4.0,
"EUR": 5.0,
"GBP": 6.0,
"AUD": 7.0,
"Name": "sample string 8",
"NZD": 9.0
}
application/xml, text/xml
Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Models"> <AUD>7</AUD> <EUR>5</EUR> <GBP>6</GBP> <Id>1</Id> <NZD>9</NZD> <Name>sample string 8</Name> <Price>3</Price> <ProductCode>sample string 2</ProductCode> <USD>4</USD> </Product>