Relative request path: | api/orgs/{organisationId}/exchange-rates/{currencyId}?date={date} |
Property | Description |
---|---|
organisationId | |
currencyId | The currency id. |
date |
Request parameters:
Request parameters:
Request parameters:
Property | Description |
---|---|
Date | Exchange rate date. |
Currency | class Currency. Currency. |
MidRate | Middle exchange rate. |
This method returns result of type 'SAOP.API.Models.ExchangeRate.ExchangeRate'.
/// Exchange rate details.
public class ExchangeRate
{
// Exchange rate date.
public DateTime Date { get; set; }
// Currency.
public mMApiFkField Currency { get; set; }
// Middle exchange rate.
public Decimal MidRate { get; set; }
}
/// Link with id, name and url to related data.
public class mMApiFkField
{
// Record id.
public long? ID { get; set; }
// Record name.
public string Name { get; private set; }
// Url to full record details.
public string ResourceUrl { get; private set; }
}
This method returns result of type 'SAOP.API.Models.ExchangeRate.ExchangeRate'.
/// Exchange rate details.
class ExchangeRate
{
// Exchange rate date.
public $Date;
// Currency.
public $Currency;
// Middle exchange rate.
public $MidRate;
}
/// Link with id, name and url to related data.
class mMApiFkField
{
// Record id.
public $ID;
// Record name.
public $Name;
// Url to full record details.
public $ResourceUrl;
}
This method returns result of type 'SAOP.API.Models.ExchangeRate.ExchangeRate'.
/// Exchange rate details.
public class ExchangeRate
{
// Exchange rate date.
public Date Date;
// Currency.
public mMApiFkField Currency;
// Middle exchange rate.
public Double MidRate;
}
/// Link with id, name and url to related data.
public class mMApiFkField
{
// Record id.
public Long ID;
// Record name.
public String Name;
// Url to full record details.
public String ResourceUrl;
}