API

Finance APIs

GET finance/general-ledger-default-account-assignments/{generalLedgerAccountAssignmentId}

Finance general ledger default account assignemnt for provided identifier

HTTP method GET
URI https://api.rambase.net/finance/general-ledger-default-account-assignments/{generalLedgerAccountAssignmentId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {generalLedgerAccountAssignmentId} General ledger account assignment identifier
Integer, minimum 100000
Successful HTTP status code 200
API resource identifier 5042, version 1

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.

Read more about filters and sorting on how to use filter parameters and named filters.

Read more about filters and sorting on how to use sortable parameters

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<GeneralLedgerAccountAssignment>
2
     <GeneralLedgerAccountAssignmentId
GeneralLedgerAccountAssignmentId

General ledger account assignment identifier

>
{Integer}</GeneralLedgerAccountAssignmentId>
3
     <Status
Status

Status of general ledger default account assignment

Possible domain values can be found here

>
{Integer}</Status>
4
     <GeneralLedgerAccount>
5
          <GeneralLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

>
{Integer}</GeneralLedgerAccountId>
6
          <AccountNumber
AccountNumber

The account number of the general ledger account

>
{String}</AccountNumber>
7
          <Name
Name

Name of general ledger account

>
{String}</Name>
8
          <GeneralLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

>
{String}</GeneralLedgerAccountLink>
9
     </GeneralLedgerAccount>
10
     <Country>
11
          <CountryId
CountryId

Country identifier

>
{Integer}</CountryId>
12
          <Name
Name

Name of country

>
{String}</Name>
13
          <CountryCode
CountryCode

Country code of the company

>
{String}</CountryCode>
14
          <CountryLink
CountryLink

Country reference

>
{String}</CountryLink>
15
     </Country>
16
     <GeneralLedgerDefaultAccount>
17
          <GeneralLedgerDefaultAccountId
GeneralLedgerDefaultAccountId

General ledger default account identifier

>
{Integer}</GeneralLedgerDefaultAccountId>
18
          <Key
Key

Account default key

>
{String}</Key>
19
          <TranslatedName
TranslatedName

Name of account default

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerDefaultAccount.TranslatedName in your request URI to get this field

>
{String}</TranslatedName>
20
          <GeneralLedgerDefaultAccountLink
GeneralLedgerDefaultAccountLink

Default account reference

>
{String}</GeneralLedgerDefaultAccountLink>
21
     </GeneralLedgerDefaultAccount>
22
     <GeneralLedgerAccountAssignmentLink
GeneralLedgerAccountAssignmentLink

Default account assignment reference

>
{String}</GeneralLedgerAccountAssignmentLink>
23
</GeneralLedgerAccountAssignment>
1
{
2
     "generalLedgerAccountAssignment": {
3
          "generalLedgerAccountAssignmentId
GeneralLedgerAccountAssignmentId

General ledger account assignment identifier

":
"{Integer}",
4
          "status
Status

Status of general ledger default account assignment

Possible domain values can be found here

":
"{Integer}",
5
          "generalLedgerAccount": {
6
               "generalLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

":
"{Integer}",
7
               "accountNumber
AccountNumber

The account number of the general ledger account

":
"{String}",
8
               "name
Name

Name of general ledger account

":
"{String}",
9
               "generalLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

":
"{String}"
10
          },
11
          "country": {
12
               "countryId
CountryId

Country identifier

":
"{Integer}",
13
               "name
Name

Name of country

":
"{String}",
14
               "countryCode
CountryCode

Country code of the company

":
"{String}",
15
               "countryLink
CountryLink

Country reference

":
"{String}"
16
          },
17
          "generalLedgerDefaultAccount": {
18
               "generalLedgerDefaultAccountId
GeneralLedgerDefaultAccountId

General ledger default account identifier

":
"{Integer}",
19
               "key
Key

Account default key

":
"{String}",
20
               "translatedName
TranslatedName

Name of account default

This field is greyed out because it is an expandable field. You have to add $expand=GeneralLedgerDefaultAccount.TranslatedName in your request URI to get this field

":
"{String}",
21
               "generalLedgerDefaultAccountLink
GeneralLedgerDefaultAccountLink

Default account reference

":
"{String}"
22
          },
23
          "generalLedgerAccountAssignmentLink
GeneralLedgerAccountAssignmentLink

Default account assignment reference

":
"{String}"
24
     }
25
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 104869 HTTP 404 Default account not found