Relative request path: | api/orgs/{organisationId}/document-numbering/{documentNumberingId} |
Property | Description |
---|---|
organisationId | organisation id |
documentNumberingId | document id |
Request parameters:
Request parameters:
Request parameters:
Property | Description |
---|---|
DocumentNumberingId | DocumentNumbering id. |
Document | Possible values: (IR, PD, PR). Document numbering codes.
|
Code | Code. |
Name | Name. |
Default | Possible values: (D, N). Default:
|
ReferenceNumber | Reference number used on invoices. |
Usage | Possible values: (D, N). Usage:
|
RecordDtModified | |
RowVersion | Row version is used for concurrency check. |
This method returns result of type 'SAOP.API.Models.DocumentNumbering.DocumentNumbering'.
/// DocumentNumbering details.
public class DocumentNumbering
{
// DocumentNumbering id.
// Ignored on create request.
public long DocumentNumberingId { get; set; }
// Document numbering codes.<br/>
// <ul>
//     <li>IR – Issued invoice</li>
//     <li>PD – Proforma invoice</li>
//     <li>PR – Received invoice</li>
// </ul>
//
public string Document { get; set; }
// Code.
public string Code { get; set; }
// Name.
public string Name { get; set; }
// Default:
// <ul>
//     <li>D - Yes</li>
//     <li>N - No</li>
// </ul>
//
public string Default { get; set; }
// Reference number used on invoices.
public string ReferenceNumber { get; set; }
// Usage:
// <ul>
//     <li>D - Yes</li>
//     <li>N - No</li>
// </ul>
//
public string Usage { get; set; }
public DateTime RecordDtModified { get; set; }
// Row version is used for concurrency check.
// Ignored on create request.
public string RowVersion { get; set; }
}
This method returns result of type 'SAOP.API.Models.DocumentNumbering.DocumentNumbering'.
/// DocumentNumbering details.
class DocumentNumbering
{
// DocumentNumbering id.
// Ignored on create request.
public $DocumentNumberingId;
// Document numbering codes.<br/>
// <ul>
//     <li>IR – Issued invoice</li>
//     <li>PD – Proforma invoice</li>
//     <li>PR – Received invoice</li>
// </ul>
//
public $Document;
// Code.
public $Code;
// Name.
public $Name;
// Default:
// <ul>
//     <li>D - Yes</li>
//     <li>N - No</li>
// </ul>
//
public $Default;
// Reference number used on invoices.
public $ReferenceNumber;
// Usage:
// <ul>
//     <li>D - Yes</li>
//     <li>N - No</li>
// </ul>
//
public $Usage;
public $RecordDtModified;
// Row version is used for concurrency check.
// Ignored on create request.
public $RowVersion;
}
This method returns result of type 'SAOP.API.Models.DocumentNumbering.DocumentNumbering'.
/// DocumentNumbering details.
public class DocumentNumbering
{
// DocumentNumbering id.
// Ignored on create request.
public Long DocumentNumberingId;
// Document numbering codes.<br/>
// <ul>
//     <li>IR – Issued invoice</li>
//     <li>PD – Proforma invoice</li>
//     <li>PR – Received invoice</li>
// </ul>
//
public String Document;
// Code.
public String Code;
// Name.
public String Name;
// Default:
// <ul>
//     <li>D - Yes</li>
//     <li>N - No</li>
// </ul>
//
public String Default;
// Reference number used on invoices.
public String ReferenceNumber;
// Usage:
// <ul>
//     <li>D - Yes</li>
//     <li>N - No</li>
// </ul>
//
public String Usage;
public Date RecordDtModified;
// Row version is used for concurrency check.
// Ignored on create request.
public String RowVersion;
}