diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 11e1a2e41..be06e7613 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -1369,6 +1369,24 @@
+ These are the Branch level intermediate accounts to move funds between banches +
+Field Descriptions |
+
| officeId | +
| The identifier of the office ( + cost center) at which the financial activity + occurs | +
| liabilityTransferInSuspenseAccountId | +
| The identifier of the liability account ( + Ledger Account) against which transfer journal entry + should made + | +
The list of Account Mapping entries through pagination and sorting.
+Example Requests:
+
+GET https://DomainName/api/v1/officeglaccounts
+
+
+
+{
+ "totalFilteredRecords": 1,
+ "pageItems": [
+ {
+ "id": 1,
+ "officeData": {
+ "id": 2,
+ "name": "Office_BX38"
+ },
+ "glAccountData": {
+ "id": 29,
+ "name": "ACCOUNT_NAME_P9UWO",
+ "glCode": "LIABILITY_7E1401198314394"
+ }
+ }]}
+
+ Mandatory Fields |
+
| officeId, liabilityTransferInSuspenseAccountId + | +
+POST https://DomainName/api/v1/officeglaccounts
+
+
+POST officeglaccounts
+Content-Type: application/json
+Request Body:
+{
+"officeId": 1,
+"liabilityTransferInSuspenseAccountId" : 2
+}
+
+
+{
+ "resourceId": 1
+}
+
+
+ the API Updates the mapping GL Accoiunt for office.
+
+
+POST https://DomainName/api/v1/officeglaccounts/1
+
+
+POST officeglaccounts
+Content-Type: application/json
+Request Body:
+{
+"liabilityTransferInSuspenseAccountId": 2
+}
+
+
+{
+ "liabilityTransferInSuspenseAccountId": 2
+}
+
+
+ Example Requests:
+
+GET https://DomainName/api/v1/officeglaccounts/{entryId}
+
+
+{
+ "id": 1,
+ "officeData": {
+ "id": 2,
+ "name": "Office_BX38"
+ },
+ "glAccountData": {
+ "id": 29,
+ "name": "ACCOUNT_NAME_P9UWO",
+ "glCode": "LIABILITY_7E1401198314394"
+ }
+}
+
+
+GET https://DomainName/api/v1/officeglaccounts/{mappingId}
+
+
+POST officeglaccounts/C1MAE935K0IAEYA?command=reverse
+Content-Type: application/json
+
+
+{
+ "resourceId": "2"
+}
+
+