Relative request path: | api/orgs/{organisationId}/customers/{customerId}/contacts/{contactId} |
Property | Description |
---|---|
organisationId | organisation id |
customerId | customer id |
contactId | contact id |
Request parameters:
Request parameters:
Request parameters:
Property | Description |
---|---|
ContactId | Contact id. |
Customer | class Customer. Customer. |
FullName | First and last name. |
PhoneNumber | Telephone number. |
Fax | Fax. |
MobilePhone | Mobile phone. |
E-mail. | |
Notes | Notes. |
Default | Default contact:
|
RecordDtModified | |
RowVersion | Row version is used for concurrency check. |
This method returns result of type 'SAOP.API.Models.Contact.Contact'.
/// Contact details.
public class Contact
{
// Contact id.
// Ignored on create request.
public long ContactId { get; set; }
// Customer.
public mMApiFkField Customer { get; set; }
// First and last name.
public string FullName { get; set; }
// Telephone number.
public string PhoneNumber { get; set; }
// Fax.
public string Fax { get; set; }
// Mobile phone.
public string MobilePhone { get; set; }
// E-mail.
public string Email { get; set; }
// Notes.
public string Notes { get; set; }
// Default contact:
// <ul>
//     <li>D – Yes,</li>
//     <li>N – No.</li>
// </ul>
//
public string Default { get; 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.Contact.Contact'.
/// Contact details.
class Contact
{
// Contact id.
// Ignored on create request.
public $ContactId;
// Customer.
public $Customer;
// First and last name.
public $FullName;
// Telephone number.
public $PhoneNumber;
// Fax.
public $Fax;
// Mobile phone.
public $MobilePhone;
// E-mail.
public $Email;
// Notes.
public $Notes;
// Default contact:
// <ul>
//     <li>D – Yes,</li>
//     <li>N – No.</li>
// </ul>
//
public $Default;
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.Contact.Contact'.
/// Contact details.
public class Contact
{
// Contact id.
// Ignored on create request.
public Long ContactId;
// Customer.
public mMApiFkField Customer;
// First and last name.
public String FullName;
// Telephone number.
public String PhoneNumber;
// Fax.
public String Fax;
// Mobile phone.
public String MobilePhone;
// E-mail.
public String Email;
// Notes.
public String Notes;
// Default contact:
// <ul>
//     <li>D – Yes,</li>
//     <li>N – No.</li>
// </ul>
//
public String Default;
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;
}