Represents a Turnover Ledger Entries in SOFT4Spaces.
Note
For information about enabling APIs for Business Central see Overview.
API endpoint
| API | Path |
| turnoverLedgerEntry | https://{{businesscentralPrefix}}/{{APIGroup}}/{{version}}/companies({{companyId}})/turnoverLedgerEntry |
Methods
| Method | Return Type | Description |
| GET turnoverLedgerEntry | turnoverLedgerEntry | Gets a turnover ledger entry object. |
GET turnoverLedgerEntry
Description
Retrieves existing turnover ledger entry records from Business Central.
HTTP Request
GET
https://{{businesscentralPrefix}}/api/{{publisher}}/{{group}}/{{version}}/companies({{companyId}})/turnoverLedgerEntry
Request Headers
| Header | Value |
| Authorization | NTLM, OAuth2. Required. |
| Accept | application/json |
Request Body
None.
Response
Returns a 200 OK status code and JSON object representing the lease contracts records.
Example Response
JSON
|
{ } |
Properties
| Property | Type | Description |
| id | GUID | The unique ID of the lease contract. Non-editable. |
| entryNo | integer | Specifies the number of the turnover ledger entry. This value is generated during entry creation. |
| leaseUnitNo | string | Specifies the lease unit number. |
| postingDate | date | Specifies entry posting date. |
| visitorsNumber | integer | Specifies the number of visitors. |
| customersNumber | integer | Specifies the number of customers. |
| salesAmount | decimal | Specifies sales amount. |
| userId | string | Specifies the user ID who entered this entry. |
| leaseContractNo | string | Specifies the lease contract number. |
| customerNo | string | Specifies the customer number. |
| customerName | string | Specifies the customer name. |
| turnoverPeriod | string | Specifies turnover period. It can be: Day, week, Month, Quarter, Year. |
| turnoverFromDate | date | Specifies the turnover from date. |
| turnoverToDate | date | Specifies the turnover to date. |
| analytical | boolean | Specifies whether the entry is analytical or not. |
| systemCreatedAt | datetime | The datetime the document was created. |
| systemCreatedBy | GUID | The ID of the user who created the document. |
| systemModifiedAt | datetime | The last datetime the document was modified. |
| systemModifiedBy | GUID | The ID of the user who last modified the document. |
JSON Representation
|
{ "id": GUID, } |