Relative request path: | api/orgs/{organisationId}/postalcodes/{postalCodeId} |
Property | Description |
---|---|
organisationId | organisation id |
postalCodeId | Postal code id |
Request parameters:
Request parameters:
Request parameters:
Property | Description |
---|---|
PostalCodeId | Postal code id. |
Code | Code. |
City | City. |
Country | class Country. Country. |
This method returns result of type 'SAOP.API.Models.PostalCode.PostalCode'.
/// Postal code details
public class PostalCode
{
// Postal code id.
// Ignored on create request.
public long PostalCodeId { get; set; }
// Code.
public string Code { get; set; }
// City.
public string City { get; set; }
// Country.
public mMApiFkField Country { 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.PostalCode.PostalCode'.
/// Postal code details
class PostalCode
{
// Postal code id.
// Ignored on create request.
public $PostalCodeId;
// Code.
public $Code;
// City.
public $City;
// Country.
public $Country;
}
/// 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.PostalCode.PostalCode'.
/// Postal code details
public class PostalCode
{
// Postal code id.
// Ignored on create request.
public Long PostalCodeId;
// Code.
public String Code;
// City.
public String City;
// Country.
public mMApiFkField Country;
}
/// 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;
}