Relative request path: | api/orgs/{organisationId} |
Property | Description |
---|---|
organisationId |
Request parameters:
Request parameters:
Request parameters:
Property | Description |
---|---|
OrganisationId | Organisation id. |
Title | Organisation title. |
Address | Organisation address. |
PostalCode | Organisation postal code. |
City | Organisation city. |
Country | class Country. Organisation country. |
TaxNumber | Organisation tax number. |
RegistrationNumber | Organisation registration number. |
VATIdentificationNumber | Organisation VAT identification number. |
Administrator | class User. User according to the status of administrator. |
Status | Possible values: (X, B, V). Status:
|
RecordDtModified | |
RowVersion | Row version is used for concurrency check. |
This method returns result of type 'SAOP.API.Models.Organisation.Organisation'.
/// Organisation details.
public class Organisation
{
// Organisation id.
// Ignored on create request.
public long OrganisationId { get; set; }
// Organisation title.
public string Title { get; set; }
// Organisation address.
public string Address { get; set; }
// Organisation postal code.
public string PostalCode { get; set; }
// Organisation city.
public string City { get; set; }
// Organisation country.
public mMApiFkField Country { get; set; }
// Organisation tax number.
public string TaxNumber { get; set; }
// Organisation registration number.
public string RegistrationNumber { get; set; }
// Organisation VAT identification number.
public string VATIdentificationNumber { get; set; }
// User according to the status of administrator.
public mMApiFkField Administrator { get; private set; }
// Status:
// <ul>
//     <li>V – Activated</li>
//     <li>B - Deleted</li>
// <ul>
public string Status { get; private set; }
public DateTime RecordDtModified { get; set; }
// Row version is used for concurrency check.
// Ignored on create request.
public string RowVersion { 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.Organisation.Organisation'.
/// Organisation details.
class Organisation
{
// Organisation id.
// Ignored on create request.
public $OrganisationId;
// Organisation title.
public $Title;
// Organisation address.
public $Address;
// Organisation postal code.
public $PostalCode;
// Organisation city.
public $City;
// Organisation country.
public $Country;
// Organisation tax number.
public $TaxNumber;
// Organisation registration number.
public $RegistrationNumber;
// Organisation VAT identification number.
public $VATIdentificationNumber;
// User according to the status of administrator.
public $Administrator;
// Status:
// <ul>
//     <li>V – Activated</li>
//     <li>B - Deleted</li>
// <ul>
public $Status;
public $RecordDtModified;
// Row version is used for concurrency check.
// Ignored on create request.
public $RowVersion;
}
/// 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.Organisation.Organisation'.
/// Organisation details.
public class Organisation
{
// Organisation id.
// Ignored on create request.
public Long OrganisationId;
// Organisation title.
public String Title;
// Organisation address.
public String Address;
// Organisation postal code.
public String PostalCode;
// Organisation city.
public String City;
// Organisation country.
public mMApiFkField Country;
// Organisation tax number.
public String TaxNumber;
// Organisation registration number.
public String RegistrationNumber;
// Organisation VAT identification number.
public String VATIdentificationNumber;
// User according to the status of administrator.
public mMApiFkField Administrator;
// Status:
// <ul>
//     <li>V – Activated</li>
//     <li>B - Deleted</li>
// <ul>
public String Status;
public Date RecordDtModified;
// Row version is used for concurrency check.
// Ignored on create request.
public String RowVersion;
}
/// 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;
}