Relative request path: | api/orgs/{organisationId}/countries/code({code}) |
Property | Description |
---|---|
organisationId | organisation id |
code | Country code |
Request parameters:
Request parameters:
Request parameters:
Property | Description |
---|---|
CountryId | Country id. |
Code | Country code. |
Name | Country name. |
Currency | class Currency. Country currency. |
This method returns result of type 'SAOP.API.Models.Country.Country'.
/// Country details.
public class Country
{
// Country id.
// Ignored on create request.
public long CountryId { get; set; }
// Country code.
public string Code { get; set; }
// Country name.
public string Name { get; set; }
// Country currency.
public mMApiFkField Currency { 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.Country.Country'.
/// Country details.
class Country
{
// Country id.
// Ignored on create request.
public $CountryId;
// Country code.
public $Code;
// Country name.
public $Name;
// Country currency.
public $Currency;
}
/// 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.Country.Country'.
/// Country details.
public class Country
{
// Country id.
// Ignored on create request.
public Long CountryId;
// Country code.
public String Code;
// Country name.
public String Name;
// Country currency.
public mMApiFkField Currency;
}
/// 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;
}