ROSE Developers - Web API Reference

Financials | Asset Account Posting

The Account Posting represents the accounting data of an asset.(RESERVED FOR INTERNAL USE.).

Overview


URL api/{tenantKey}/{orgKey}/financialCore/assetAccountPostings
Methods Supported GET, POST, PUT, DELETE

All Operations

This service includes the following operations:

All Resources

This service uses the following resources:

All Enumerations

This service uses the following enumerations:

GET Operations

GET AssetAccountPostings

Returns the list of all the entity records available.

Response:

When successful, the response body contains the list of records available. See AssetAccountPostingResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /financialCore/assetAccountPostings

GET AssetAccountPostings (paged)

Returns a page of the list of all the entity records available.

The following elements are optional:

page (int) The index of the page of the list that should be returned. This is a query string parameter.
pageSize (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter.

Response:

When successful, the response body contains the list of records available. See AssetAccountPostingResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /financialCore/assetAccountPostings?page={page}&pageSize={pageSize}

GET AssetAccountPosting by identifier

Returns the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body contains the entity record. See AssetAccountPostingResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /financialCore/assetAccountPostings/{id}

GET AssetAccountPosting by key

Returns the entity record that matches the specified key.

The following elements are required:

companyKey (string) The company key.
postingKey (int) The posting's key.

Response:

When successful, the response body contains the entity record. See AssetAccountPostingResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /financialCore/assetAccountPostings/{companyKey}/{postingKey}

GET Print AssetAccountPosting by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified resord does not exist.

Resource URL:

GET /financialCore/assetAccountPostings/{id}/print?template={template}

GET Print AssetAccountPosting by key

Prints the specified entity record.

The following elements are required:

companyKey (string) The company key.
postingKey (int) The posting's key.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /financialCore/assetAccountPostings/{companyKey}/{postingKey}/print

GET Original Print AssetAccountPostingOriginal by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified resord does not exist.

Resource URL:

GET /financialCore/assetAccountPostings/{id}/printOriginal?template={template}

GET Original Print AssetAccountPosting by key

Prints the specified entity record.

The following elements are required:

companyKey (string) The company key.
postingKey (int) The posting's key.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /financialCore/assetAccountPostings/{companyKey}/{postingKey}/printOriginal

POST Operations

POST AssetAccountPostings

Creates a new entity record.

The following elements are required:

assetAccountPostingResource (ApiAssetAccountPostingResource) The request body should contain the entity record that should be created.
See ApiAssetAccountPostingResource.

Response:

When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiAssetAccountPostingResource.

Response status codes:

201 Created. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /financialCore/assetAccountPostings

POST Capitalization Account Posting Exists

This operation verify if exits any asset posting for a given asset. RESERVED FOR INTERNAL USE.

The following elements are required:

assetId (Guid) The Asset Identifier.

Response:

When successful, the response body contains an item of type 'boolean'.

Resource URL:

POST /financialCore/assetAccountPostings/capitalizationAccountPostingExists

PUT Operations

PUT Set AssetId AssetAccountPosting

Updates the value of attribute 'AssetId' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (Guid) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/assetId

PUT Set AssetNaturalKey AssetAccountPosting

Updates the value of attribute 'AssetNaturalKey' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/assetNaturalKey

PUT Set AssetTransactionAccountType AssetAccountPosting

Updates the value of attribute 'AssetTransactionAccountType' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (enum AssetTransactionAccountType) The request body should contain the new value for the attribute.
See AssetTransactionAccountType.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/assetTransactionAccountType

PUT Set AssetTransactionType AssetAccountPosting

Updates the value of attribute 'AssetTransactionType' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (enum AssetTransactionType) The request body should contain the new value for the attribute.
See AssetTransactionType.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/assetTransactionType

PUT Set BusinessParty AssetAccountPosting

Updates the value of attribute 'BusinessParty' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/businessParty

PUT Set ChartOfAccount AssetAccountPosting

Updates the value of attribute 'ChartOfAccount' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/chartOfAccount

PUT Set Company AssetAccountPosting

Updates the value of attribute 'Company' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/company

PUT Set Currency AssetAccountPosting

Updates the value of attribute 'Currency' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/currency

PUT Set DepreciationAreaId AssetAccountPosting

Updates the value of attribute 'DepreciationAreaId' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (Guid) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/depreciationAreaId

PUT Set DepreciationAreaNaturalKey AssetAccountPosting

Updates the value of attribute 'DepreciationAreaNaturalKey' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/depreciationAreaNaturalKey

PUT Set Description AssetAccountPosting

Updates the value of attribute 'Description' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/description

PUT Set DimensionAllocation AssetAccountPosting

Updates the value of attribute 'DimensionAllocation' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/dimensionAllocation

PUT Set DimensionSet AssetAccountPosting

Updates the value of attribute 'DimensionSet' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/dimensionSet

PUT Set DocumentDate AssetAccountPosting

Updates the value of attribute 'DocumentDate' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (DateTime) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/documentDate

PUT Set ExchangeRate AssetAccountPosting

Updates the value of attribute 'ExchangeRate' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/exchangeRate

PUT Set ExchangeRateDate AssetAccountPosting

Updates the value of attribute 'ExchangeRateDate' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (DateTime) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/exchangeRateDate

PUT Set FinancialAccount AssetAccountPosting

Updates the value of attribute 'FinancialAccount' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/financialAccount

PUT Set FinancialYear AssetAccountPosting

Updates the value of attribute 'FinancialYear' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/financialYear

PUT Set GLAccount AssetAccountPosting

Updates the value of attribute 'GLAccount' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/gLAccount

PUT Set IsActive AssetAccountPosting

Updates the value of attribute 'IsActive' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/isActive

PUT Set IsReversal AssetAccountPosting

Updates the value of attribute 'IsReversal' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/isReversal

PUT Set JournalNumber AssetAccountPosting

Updates the value of attribute 'JournalNumber' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (int) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/journalNumber

PUT Set JournalType AssetAccountPosting

Updates the value of attribute 'JournalType' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/journalType

PUT Set Ledger AssetAccountPosting

Updates the value of attribute 'Ledger' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/ledger

PUT Set Nature AssetAccountPosting

Updates the value of attribute 'Nature' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (enum AccountingNature) The request body should contain the new value for the attribute.
See AccountingNature.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/nature

PUT Set Note AssetAccountPosting

Updates the value of attribute 'Note' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/note

PUT Set Party AssetAccountPosting

Updates the value of attribute 'Party' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/party

PUT Set Period AssetAccountPosting

Updates the value of attribute 'Period' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (int) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/period

PUT Set PostingDate AssetAccountPosting

Updates the value of attribute 'PostingDate' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (DateTime) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/postingDate

PUT Set PostingKey AssetAccountPosting

Updates the value of attribute 'PostingKey' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (int) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/postingKey

PUT Set Quantity AssetAccountPosting

Updates the value of attribute 'Quantity' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/quantity

PUT Set ReferenceAccountPosting AssetAccountPosting

Updates the value of attribute 'ReferenceAccountPosting' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/referenceAccountPosting

PUT Set ReportingExchangeRate AssetAccountPosting

Updates the value of attribute 'ReportingExchangeRate' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/reportingExchangeRate

PUT Set SourceDoc AssetAccountPosting

Updates the value of attribute 'SourceDoc' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/sourceDoc

PUT Set SourceDocId AssetAccountPosting

Updates the value of attribute 'SourceDocId' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (Guid) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/sourceDocId

PUT Set SourceDocLine AssetAccountPosting

Updates the value of attribute 'SourceDocLine' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (int) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/sourceDocLine

PUT Set SourceLineId AssetAccountPosting

Updates the value of attribute 'SourceLineId' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (Guid) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/sourceLineId

PUT Set SourceSchemaEntity AssetAccountPosting

Updates the value of attribute 'SourceSchemaEntity' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/sourceSchemaEntity

PUT Set TotalAmount AssetAccountPosting

Updates the value of attribute 'TotalAmount' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/totalAmount

PUT Set TotalBase AssetAccountPosting

Updates the value of attribute 'TotalBase' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/totalBase

PUT Set TotalReporting AssetAccountPosting

Updates the value of attribute 'TotalReporting' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/totalReporting

PUT Set Unit AssetAccountPosting

Updates the value of attribute 'Unit' in the specified entity record.

The following elements are required:

postingKey (int) The posting's key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /financialCore/assetAccountPostings/{companyKey}/{postingKey}/unit

DELETE Operations

DELETE AssetAccountPosting by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /financialCore/assetAccountPostings/{id}

DELETE AssetAccountPosting by key

Deletes the entity record that matches the specified key.

The following elements are required:

companyKey (string) The company key.
postingKey (int) The posting's key.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /financialCore/assetAccountPostings/{companyKey}/{postingKey}

Resources


ApiAssetAccountPostingResource

The following elements are required:

postingKey (int) The posting's key.
documentDate (DateTime) The document date of the original document.
postingDate (DateTime) The posting date of the original document.
totalAmount (MoneyResource) The total amount of the original document.
See MoneyResource .
sourceDoc (string) The original document identification.
sourceDocId (Guid) The original document ID.
sourceSchemaEntity (string) The source schema entity.
currency (string) The currency of the posting.
company (string) The company of the transaction.
chartOfAccount (string) The chart of accounts of the company.
gLAccount (string) The GL account of the transaction.
ledger (string) The ledger of the transaction.
journalType (string) The journal type assigned to the source doc.
journalNumber (int) The journal number assigned to the source doc.
financialYear (string) The financial year of the posting.
period (int) The financial period of the posting.
totalBase (decimal) The total amount in base currency.
totalReporting (decimal) The total amount in reporting currency.
assetTransactionType (enum AssetTransactionType) The type of asset transaction ex.: capitalization.
See AssetTransactionType.
assetTransactionAccountType (enum AssetTransactionAccountType) The asset transaction GL account type.
See AssetTransactionAccountType.
assetId (Guid) The asset identifier.
assetNaturalKey (string) The asset natural key.
exchangeRate (decimal) The exchange rate from transaction currency to base currency of the original document.

The following elements are optional:

description (string) A description for the posting.
note (string) The reference of the posting of the original document.
sourceLineId (Guid) The source doc line ID.
sourceDocLine (int) The source doc line identification.
party (string) The party of the posting. Only to be filled if the GL account is of subledger vendor or customer.
dimensionSet (string) The dimension set of the transaction.
unit (string) For stock movements the unit is filled.
quantity (decimal) For stock movements the quantity is filled.
nature (enum AccountingNature) The nature of the account posting.
See AccountingNature.
businessParty (string) The business party is the party was the document issued.
referenceAccountPosting (string) For settled postings it's assigned this field what open item is beeing settled.
depreciationAreaId (Guid) The depreciation area identifier.
depreciationAreaNaturalKey (string) The depreciation natural key.
financialAccount (string) The bank account of the settlement. Only to be filled if the GL account is of subledger bank.
exchangeRateDate (DateTime) The date of the exchange rate of the original document.
reportingExchangeRate (decimal) The exchange rate between transaction currency and reporting currency.
isReversal (bool) Flag used in the reversal process in the journal entry document.
dimensionAllocation (string) Dimension Allocation.


AssetAccountPostingResource

The following elements are required:

postingKey (int) The posting's key.
documentDate (DateTime) The document date of the original document.
postingDate (DateTime) The posting date of the original document.
totalAmount (MoneyResource) The total amount of the original document.
See MoneyResource .
sourceDoc (string) The original document identification.
sourceDocId (Guid) The original document ID.
sourceSchemaEntity (string) The source schema entity.
currency (string) The currency of the posting.
company (string) The company of the transaction.
chartOfAccount (string) The chart of accounts of the company.
gLAccount (string) The GL account of the transaction.
ledger (string) The ledger of the transaction.
journalType (string) The journal type assigned to the source doc.
journalNumber (int) The journal number assigned to the source doc.
financialYear (string) The financial year of the posting.
period (int) The financial period of the posting.
totalBase (decimal) The total amount in base currency.
totalReporting (decimal) The total amount in reporting currency.
assetTransactionType (enum AssetTransactionType) The type of asset transaction ex.: capitalization.
See AssetTransactionType.
assetTransactionAccountType (enum AssetTransactionAccountType) The asset transaction GL account type.
See AssetTransactionAccountType.
assetId (Guid) The asset identifier.
assetNaturalKey (string) The asset natural key.
exchangeRate (decimal) The exchange rate from transaction currency to base currency of the original document.

The following elements are optional:

description (string) A description for the posting.
note (string) The reference of the posting of the original document.
sourceLineId (Guid) The source doc line ID.
sourceDocLine (int) The source doc line identification.
party (string) The party of the posting. Only to be filled if the GL account is of subledger vendor or customer.
dimensionSet (string) The dimension set of the transaction.
unit (string) For stock movements the unit is filled.
quantity (decimal) For stock movements the quantity is filled.
nature (enum AccountingNature) The nature of the account posting.
See AccountingNature.
businessParty (string) The business party is the party was the document issued.
referenceAccountPosting (string) For settled postings it's assigned this field what open item is beeing settled.
depreciationAreaId (Guid) The depreciation area identifier.
depreciationAreaNaturalKey (string) The depreciation natural key.
financialAccount (string) The bank account of the settlement. Only to be filled if the GL account is of subledger bank.
exchangeRateDate (DateTime) The date of the exchange rate of the original document.
reportingExchangeRate (decimal) The exchange rate between transaction currency and reporting currency.
isReversal (bool) Flag used in the reversal process in the journal entry document.
autonomousTaxationId (Guid) Identifies the autonomous taxation document that processed this posting.
dimensionAllocation (string) Dimension Allocation.


MoneyResource

The following elements are required:

amount (decimal) The amount.

The following elements are optional:

baseAmount (decimal) The base amount.
reportingAmount (decimal) The reporting amount.
fractionDigits (int) The fraction digits.
symbol (string) The symbol.

Notes: For the POST operation it is not necessary to send the fields: BaseAmount, ReportingAmount, FractionDigits and Symbol. Will be ignored.



Enumerations


AccountingNature

1 Debit
2 Credit


AssetTransactionAccountType

1 AssetAccount
2 AccumulatedDepreciationAccount
3 DepreciationCostAccount
4 ImparityCostAccount
5 RevenueImparityReversalAccount
6 AccumulatedImparityAccount
9 RevenueAssetSaleAccount
10 LossAssetSaleAccount
11 DataImportClearingAccount
99 OtherAccounting


AssetTransactionType

1 Capitalization
2 Scrap
3 Sale
4 Imparity
5 OtherCosts
6 Revenue
7 Depreciation
8 RetrospectiveDepreciation