Porta Plus 2 Web Services

<back to all web services

Currency

The following routes are available for this service:
GET/getCurrencies/{License}/{SupportedCurrencies}
GET/GetConversionRate/{License}/{FromCurrency}/{ToCurrency}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/Currency HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

SupportedCurrencies,FromCurrency,ToCurrency,License,ContentId,FeatureName
False,String,String,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

PortaCurrencys,ConversionRate,License,ContentId,FeatureName
"[{Name:String,ISO4217:String,ISO4217Num:0}]","{ConversionRate:0,ISO4217:String,BaseISO4217:String,TimeStamp:0001-01-01}",String,0,String