Jasmin Developers - Web API Reference

GET Operations

GET FinancialAccountTransfers

Returns the list of all the entity records available.

Response:

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

Response status codes:

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

Resource URL:

GET /financialCore/financialAccountTransfers

GET FinancialAccountTransfers (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 FinancialAccountTransferResource.

Response status codes:

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

Resource URL:

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

GET FinancialAccountTransfer 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 FinancialAccountTransferResource.

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/financialAccountTransfers/{id}

GET FinancialAccountTransfer by key

Returns the entity record that matches the specified key.

The following elements are required:

companyKey (string) The company key.
transferKey (int) Transfer.

Response:

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

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/financialAccountTransfers/{companyKey}/{transferKey}

GET Print FinancialAccountTransfer 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/financialAccountTransfers/{id}/print?template={template}

GET Print FinancialAccountTransfer by key

Prints the specified entity record.

The following elements are required:

companyKey (string) The company key.
transferKey (int) Transfer.

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/financialAccountTransfers/{companyKey}/{transferKey}/print

GET Original Print FinancialAccountTransferOriginal 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/financialAccountTransfers/{id}/printOriginal?template={template}

GET Original Print FinancialAccountTransfer by key

Prints the specified entity record.

The following elements are required:

companyKey (string) The company key.
transferKey (int) Transfer.

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/financialAccountTransfers/{companyKey}/{transferKey}/printOriginal

POST Operations

POST FinancialAccountTransfers

Creates a new entity record.

The following elements are required:

financialAccountTransferResource (ApiFinancialAccountTransferResource) The request body should contain the entity record that should be created.
See ApiFinancialAccountTransferResource.

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 ApiFinancialAccountTransferResource.

Response status codes:

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

Resource URL:

POST /financialCore/financialAccountTransfers

PUT Operations

PUT Set Amount FinancialAccountTransfer

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

The following elements are required:

transferKey (int) Transfer.
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/financialAccountTransfers/{companyKey}/{transferKey}/amount

PUT Set Currency FinancialAccountTransfer

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

The following elements are required:

transferKey (int) Transfer.
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/financialAccountTransfers/{companyKey}/{transferKey}/currency

PUT Set DocumentDate FinancialAccountTransfer

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

The following elements are required:

transferKey (int) Transfer.
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/financialAccountTransfers/{companyKey}/{transferKey}/documentDate

PUT Set ExchangeRate FinancialAccountTransfer

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

The following elements are required:

transferKey (int) Transfer.
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/financialAccountTransfers/{companyKey}/{transferKey}/exchangeRate

PUT Set IsActive FinancialAccountTransfer

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

The following elements are required:

transferKey (int) Transfer.
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/financialAccountTransfers/{companyKey}/{transferKey}/isActive

PUT Set Note FinancialAccountTransfer

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

The following elements are required:

transferKey (int) Transfer.
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/financialAccountTransfers/{companyKey}/{transferKey}/note

PUT Set Remarks FinancialAccountTransfer

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

The following elements are required:

transferKey (int) Transfer.
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/financialAccountTransfers/{companyKey}/{transferKey}/remarks

DELETE Operations

DELETE FinancialAccountTransfer 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/financialAccountTransfers/{id}

DELETE FinancialAccountTransfer by key

Deletes the entity record that matches the specified key.

The following elements are required:

companyKey (string) The company key.
transferKey (int) Transfer.

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/financialAccountTransfers/{companyKey}/{transferKey}

Resources


ApiFinancialAccountTransferResource

The following elements are required:

transferKey (int) Transfer.
company (string) Company.
documentDate (DateTime) Date.
financialAccount (string) Source Financial Account.
targetFinancialAccount (string) Target Financial Account.
amount (decimal) Amount.
currency (string) Currency.
exchangeRate (decimal) Exchange Rate.

The following elements are optional:

note (string) Reference.
remarks (string) Remarks.


FinancialAccountTransferResource

The following elements are required:

transferKey (int) Transfer.
company (string) Company.
(fk) Allowed value: the natural key of a record of type Company. These records are accessibly through the Companies service.
postingDate (DateTime) Posting Date.
documentDate (DateTime) Date.
financialAccount (string) Source Financial Account.
(fk) Allowed value: the natural key of a record of type FinancialAccount. These records are accessibly through the FinancialAccounts service.
targetFinancialAccount (string) Target Financial Account.
(fk) Allowed value: the natural key of a record of type FinancialAccount. These records are accessibly through the FinancialAccounts service.
amount (decimal) Amount.
currency (string) Currency.
(fk) Allowed value: the natural key of a record of type Currency. These records are accessibly through the Currencies service.
exchangeRate (decimal) Exchange Rate.
isBankAccount (bool) Is Bank Account.
pettyCashAllowsForeignCurrency (bool) Petty Cash Allows Foreign Currency.
targetIsBankAccount (bool) Target Is Bank Account.
targetPettyCashAllowsForeignCurrency (bool) Target Petty Cash Allows Currency.

The following elements are optional:

exchangeRateDate (DateTime) Exchange Rate Date.
note (string) Reference.
remarks (string) Remarks.