Relative request path: | api/orgs/{organisationId}/outbox/{outboxId} |
Property | Description |
---|---|
organisationId | |
outboxId |
Request parameters:
Request parameters:
Request parameters:
Property | Description |
---|---|
OutboxId | |
Customer | class Customer. Customer. |
Employee | class Employee. Employee. |
OutboxDate | Outbox date. |
OutboxType | Outbox type:
|
Description | Description |
Attachments | Outbox attachments. List of OutboxAttachment. |
RecordDtModified | |
RowVersion | Row version is used for concurrency check. |
This method returns result of type 'SAOP.API.Models.Outbox.Outbox'.
public class Outbox
{
// Ignored on create request.
public long OutboxId { get; set; }
// Customer.
public mMApiFkField Customer { get; set; }
// Employee.
public mMApiFkField Employee { get; set; }
// Outbox date.
// Ignored on create request.
public DateTime OutboxDate { get; set; }
// Outbox type:
// <ul>
//     <li>IR - Issued invoices</li>
//     <li>DO - Delivery note</li>
//     <li>OP - Payroll</li>
// </ul>
public string OutboxType { get; set; }
// Description
public string Description { get; set; }
// Outbox attachments.
public List<OutboxAttachment> Attachments { 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; }
}
public class OutboxAttachment
{
// Ignored on create request.
public long OutboxAttachmentId { get; set; }
// Outbox.
public mMApiFkField Outbox { get; set; }
// Attachment data.
public string AttachmentData { get; set; }
// Attachment entry date.
// Ignored on create request.
public DateTime AttachmentDate { get; set; }
// Attachment name for file.
public string AttachmentFileName { get; set; }
// Attachment mime type.
public string AttachmentMimeType { 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.Outbox.Outbox'.
class Outbox
{
// Ignored on create request.
public $OutboxId;
// Customer.
public $Customer;
// Employee.
public $Employee;
// Outbox date.
// Ignored on create request.
public $OutboxDate;
// Outbox type:
// <ul>
//     <li>IR - Issued invoices</li>
//     <li>DO - Delivery note</li>
//     <li>OP - Payroll</li>
// </ul>
public $OutboxType;
// Description
public $Description;
// Outbox attachments.
public $Attachments;
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;
}
class OutboxAttachment
{
// Ignored on create request.
public $OutboxAttachmentId;
// Outbox.
public $Outbox;
// Attachment data.
public $AttachmentData;
// Attachment entry date.
// Ignored on create request.
public $AttachmentDate;
// Attachment name for file.
public $AttachmentFileName;
// Attachment mime type.
public $AttachmentMimeType;
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.Outbox.Outbox'.
public class Outbox
{
// Ignored on create request.
public Long OutboxId;
// Customer.
public mMApiFkField Customer;
// Employee.
public mMApiFkField Employee;
// Outbox date.
// Ignored on create request.
public Date OutboxDate;
// Outbox type:
// <ul>
//     <li>IR - Issued invoices</li>
//     <li>DO - Delivery note</li>
//     <li>OP - Payroll</li>
// </ul>
public String OutboxType;
// Description
public String Description;
// Outbox attachments.
public List<OutboxAttachment> Attachments;
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;
}
public class OutboxAttachment
{
// Ignored on create request.
public Long OutboxAttachmentId;
// Outbox.
public mMApiFkField Outbox;
// Attachment data.
public String AttachmentData;
// Attachment entry date.
// Ignored on create request.
public Date AttachmentDate;
// Attachment name for file.
public String AttachmentFileName;
// Attachment mime type.
public String AttachmentMimeType;
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;
}