Upbooks API
  1. Organization Backup
Upbooks API
  • Auth
    • Login
      POST
    • RefreshToken
      POST
    • GetAuthUser
      GET
    • GetLoginLogs
      GET
    • GetLoginSessions
      GET
    • GetOrganizationLoginSessions
      GET
    • ForgotPasswordByEmail
      POST
    • UpdatePassword
      POST
    • ChangePassword
      POST
    • UpdateProfile
      PUT
    • VerifyEmailToken
      POST
    • UpdateSelectedOrgDetails
      PATCH
  • Account Ledger
    • GetAllAccountLedgers
      GET
    • RecordAccountLedgerAdjustment
      POST
    • FixAccountLedger
      POST
    • FixAllAccountLedger
      POST
  • Activity Log
    • GetActivityLogs
      GET
    • GetAllActivityLogs
      GET
  • Announcement
    • GetAnnouncementList
      GET
    • AddAnnouncement
      POST
    • GetActiveAnnouncements
      GET
    • GetAnnouncementDetail
      GET
    • UpdateAnnouncement
      PUT
  • Asset
    • GetAssetsValue
    • GetAssets
    • AddAsset
    • GetAssetDetail
    • UpdateAsset
    • DeleteAsset
    • FileImport
  • Sales
    • GetTotalRevenue
    • GetTotalReceivables
    • GetTotalInwardPayment
    • GetTotalOverDuePayment
    • SalesRatio
    • GetGrowthByMonth
    • GetGrowthByQuarter
    • GetGrowthByYear
    • GetSnapshotReceivables
    • GetSalesByInvoiceTypes
    • GetIncomeByInvoiceTypes
    • GetGstInvoices
    • GetRecurringInvoices
    • GetClientsAcquired
    • GetSalesByMonthGraph
    • GetSalesByYearGraph
    • GetSalesByProductGraph
    • GetSalesByServiceGraph
    • GetSalesByClientGraph
    • GetSalesByCountryGraph
    • GetSalesByUserGraph
    • GetRevenueBySource
    • GetSalesByRegionGraph
  • Client
    • GetClients
    • AddClient
    • GetClientDetail
    • UpdateClient
    • DeleteClient
    • StatementOfAccount
    • LedgerSyncStatus
    • FixStatementOfAccount
    • GetOutstandingReceivables
    • GetTotalBilling
    • UpdateBillingAddress
    • UpdateShippingAddress
    • FileImport
    • GetPrefferedPayment
    • GetPrefferedAcccount
  • Client Ledger
    • RecordClientLedgerAdjustment
  • CreditNote
    • GetCreditNoteList
    • AddCreditNote
    • GetNextCreditNoteNumber
    • GetCreditNoteDetail
    • UpdateCreditNote
    • SendCreditNoteEmail
    • CancelCreditNote
    • UpdateCreditNoteNumber
    • GenerateCreditNote
  • Cron-jobs
    • JobRunner
  • Currency Conversion
    • GetCurrencyRatesData
  • Document
    • GetAllDocumentsOfOrganiztion
    • DeleteFile
  • Discount
    • GetAllDiscounts
    • AddDiscount
    • GetDiscountDetail
    • UpdateDiscount
    • DeleteDiscount
  • Employee
    • GetEmployeesByMonth
    • GetEmployees
    • AddEmployee
    • GetEmployeeDetail
    • UpdateEmployee
    • DeleteEmployee
    • FileImport
    • UpdateSalaryComponent
    • UpdateFileUrl
    • UpdateInvoiceNumber
    • PrepareSalaryComponents
    • UpdateEmployeeName
    • UpdateEmployeeEmail
    • UpdateEmployeePhone
    • UpdateEmployeeDob
    • UpdateEmployeeLocation
    • UpdateEmployeePanNumber
    • UpdateEmployeeAdharNumber
    • UpdateEmployeeEsiNumber
    • UpdateEmployeeEpsNumber
    • UpdateEmployeeUanNumber
    • UpdateEmployeePfNumber
    • UpdateEmployeeCountry
    • UpdateEmployeeBankAccountDetails
    • UpdateEmployeeCurrentAddress
    • UpdateEmployeePermanentAddress
    • LinkUser
    • UpdateEmployeeDocumentInfo
    • UpdateEmployeeProfilePicture
  • Email
    • SendEmail
  • Expense
    • GetMostSpentOn
    • GetTotalRevenue
    • GetExpenseList
    • AddExpense
    • GetExpenseDetail
    • UpdateExpense
    • DeleteExpense
    • UpdateExpenseRecurring
    • UpdateFileUrl
    • FileImport
  • File
    • UploadFile
    • AddFile
  • Hr
    • GetTotalPayroll
    • GetLeastleave
    • GetMostleave
    • GetAssetsValue
    • GetEmployeesByMonth
    • GetEsiEnrolledEmployees
    • GetPfEnrolledEmployees
    • EmployeesLeftByMonth
    • EmployeesByComponentGroup
  • Inventory Ledger
    • GetAllInventoryLedgers
    • RecordInventoryAdjustment
  • Invoice
    • GetInvoiceList
    • AddInvoiceSystemGenerated
    • GetNextInvoiceNumber
    • GetInvoiceDetail
    • UpdateInvoice
    • DeleteInvoice
    • AddInvoiceManual
    • SendInvoiceEmail
    • CancelInvoice
    • UpdateInvoiceNumber
    • UpdateInvoiceRecurring
    • MarkInvoiceAsPaid
    • GenerateInvoice
    • FileImport
  • Item
    • GetAllItems
    • GetItemDetail
    • UpdateItem
  • Organization
    • GetOrganizations
    • AddOrganization
    • UpdateOrganization
    • GetOrganizationDetail
    • DeleteOrganization
    • UpdateOrganizationBusinessProfile
    • ExtendSubscription
    • UpdateGSTDetails
    • UpdateVATDetails
    • UpdateInvoiceOnOrderSetting
    • UpdateReminderSetting
    • UpdateInvoiceSettings
    • UpdatePurchaseOrderSettings
    • UpdateProposalSettings
    • UpdatePreferences
    • GetOrganizationPreferences
    • UpdatePaymentSettings
    • UpdateDefaultPaymentSettings
    • UpdateLogo
    • UpdateFromEmail
    • OrganizationDeactive
    • GetOrganizationSubscriptions
    • GetOrganizationDashboardView
    • GetOrganizationDashboardSnapshot
    • GetSnapshotReceivables
    • DeleteSelectiveData
    • DeletePermanent
    • GetClientCountries
    • GetVendorCountries
    • GetLeadCountries
    • InviteUsers
    • AcceptInvitation
    • UpdatePlatformCredits
    • UpdateCreditNoteSettings
    • UpdateDebitNoteSettings
  • Order
    • GetAllOrder
    • AddOrder
    • GetNextOrderNumber
    • GetOrderItems
    • GetPastDayOrders
    • GetOrderDetail
    • UpdateOrder
    • DeleteOrder
    • CancelOrder
    • CalculateOrderTotal
    • UpdateFileUrl
    • UpdateOrderStatusToDraft
    • FileImport
  • Outward Payment
    • GetAllOutwardPayment
    • AddOutwardPayment
    • GetOutwardPaymentDetail
    • UpdateOutwardPayment
    • DeleteOutwardPayment
    • FileImport
    • UpdateFileUrl
  • Operations
    • GetTotalProjects
    • GetTotalProjectsMultiple
    • GetTotalProjectsBudget
    • GetAllProjectsByClients
    • GetAllProjectsByBudgets
    • GetTasksPrioritySnapshots
    • GetTasksSnapshotGraph
    • GetProjectTaskList
    • GetTasksByProjectList
    • GetTasksList
    • GetProjectsByBudget
  • Payment
    • GetAllPayment
    • AddPayment
    • GetPastDayPayments
    • GetPaymentDetail
    • UpdatePayment
    • DeletePayment
    • GeneratePayment
    • SendPaymentEmail
    • FileImport
    • UpdateFileUrl
  • Product
    • GetProductList
    • AddProduct
    • GetProductDetail
    • UpdateProduct
    • DeleteProduct
    • FileImport
  • Proposal
    • GetAllProposal
    • AddProposal
    • GetNextProposalNumber
    • GetProposalDetail
    • UpdateProposal
    • DeleteProposal
    • CalculateProposalTotal
    • GenerateProposal
  • Platform Plan
    • GetAllPlatformPlans
    • AddPlatformPlan
    • GetPlatformPlanDetail
    • UpdatePlatformPlan
    • DeletePlatformPlan
  • Platform Subscription
    • GetAllPlatformSubscriptions
    • AddPlatformPayment
  • Platform Payment
    • GetAllPlatformPayments
    • GetPlatformPaymentDetail
    • CancelPlatformPayment
  • ProductCategory
    • GetAllProductCategories
    • AddProductCategory
    • GetProductCategoryDetail
    • UpdateProductCategory
    • DeleteProductCategory
  • Purchase Order
    • GetOrderItems
    • GetAllPurchaseOrder
    • AddPurchaseOrder
    • GetNextPurchaseOrderNumber
    • GetPurchaseOrderDetail
    • UpdatePurchaseOrder
    • DeletePurchaseOrder
    • CalculatePurchaseOrderTotal
    • GeneratePurchaseOrder
  • Purchase
    • GetMostSpentOn
    • GetTotalExpense
    • GetTotalOutwardPayment
    • GetExpenseByTypeGraph
    • GetGstExpenses
    • GetUnpaidExpenses
    • GetOutwardPayments
    • GetExpenseBreakdownByVendorGraph
    • GetExpenseBreakdownByTypeGraph
    • GetExpenseWithoutReciepts
  • Recurring Expense
    • GetAllRecurringExpenses
    • GetRecurringExpenseDetail
    • UpdateRecurringExpenseStatus
    • UpdateRecurringExpenseNextDue
  • Recurring Invoice
    • GetAllRecurringInvoices
    • GetRecurringInvoiceDetail
    • UpdateRecurringInvoiceStatus
    • DeleteRecurringInvoice
    • UpdateRecurringInvoiceNextDue
  • Report
    • GetSalesByClient
    • GetSalesByProduct
    • GetSalesByProductCategory
    • GetSalesByService
    • GetSalesByMonth
    • GetSalesByYear
    • GetSalesByQuarter
    • GetSalesByCountry
    • GetTaxSummary
    • GetInvoiceDetailReport
    • GetExpensesByMonth
    • GetProfitAndLossReportV2
    • GetBalanceSheetReport
    • GetTrialBalanceReport
    • GetGeneralLedger
    • GetSalesByHsn
    • GetTaxesByMonth
    • GetOtherSales
  • Routes
    • GetRoutes
    • AddRoute
    • GetRouteDetail
    • UpdateRoute
    • DeleteRoute
  • Settlement
    • GetAllSettlements
    • GetAllSettlementsSuperadmin
    • GetSettlementDetail
  • Services
    • GetAllServices
    • AddServices
    • GetServicesDetail
    • UpdateServices
    • DeleteServices
    • FileImport
  • Tax
    • GetAllTaxes
    • AddTax
    • GetTaxDetail
    • UpdateTax
    • DeleteTax
    • FileImport
  • Trip
    • GetTrips
    • AddTrip
    • GetTripDetail
    • UpdateTrip
    • DeleteTrip
  • User
    • GetUser
    • GetUserDetail
    • UpdateUser
    • DeleteUser
    • AddUserOnboarding
    • GetOrganizationByUser
    • UpdateEmailOfUser
    • UpdateImageOfUser
    • RemoveUserOrganization
    • UpdateOrganizationActive
  • User Invites
    • GetUserInviteList
    • CancelUserInvite
  • Vendor
    • GetAllVendors
    • AddVendor
    • GetVendorDetail
    • UpdateVendor
    • DeleteVendor
    • GetOutstandingPayables
    • GetTotalBilling
    • StatementOfAccount
    • LedgerSyncStatus
    • FixStatementOfAccount
    • FileImport
  • Vendor Ledger
    • RecordVendorLedgerAdjustment
  • Projects
    • GetAllProjects
    • AddProject
    • GetProjectDetail
    • UpdateProjects
    • DeleteProject
    • FileImport
    • UpdateProjectIcon
    • UpdateProjectStatus
    • UpdateProjectArchiveStatus
  • Pre Sales
    • GetLeadsBySource
    • GetLeadsByMonthGraph
    • GetRecentEnquires
  • Task
    • Get
    • Add
    • GetQuickFilters
    • GetNextTaskNumber
    • GetSingle
    • Update
    • Delete
    • UpdateStatus
    • UpdateSortOrder
    • UpdatePriority
    • UpdateTitle
    • UpdateSummary
    • UpdateLabels
    • UpdateReporter
    • UpdateAssignee
    • UpdateAttachments
    • FileImport
  • Payroll
    • GetTotalPayroll
    • GetAllPayroll
    • AddPayroll
    • PrepareEmployeePayroll
    • GetSinglePayroll
    • UpdatePayroll
    • DeletePayroll
    • GeneratePayroll
    • FileImport
  • Account
    • Get
    • AddAccount
    • GetSingle
    • Update
    • Delete
    • FileImport
    • LedgerSyncStatus
    • CloseBooks
  • Enquiry
    • GetAllEnquiries
    • AddEnquiry
    • GetEnquiryDetail
    • UpdateEnquiry
    • DeleteExpense
  • Account Transfer
    • GetAccountTransfers
    • AddAccountTransfer
    • GetAccountTransferDetail
    • DeleteAccountTransfer
    • FileImport
  • File Import
    • Get
  • File Import Error
    • GetFileImportErrorList
  • Brand
    • GetAllBrands
    • AddBrand
    • GetBrandListPublic
    • GetBrandDetail
    • UpdateBrand
    • DeleteBrand
  • Salary Component
    • GetAllSalaryComponents
    • AddSalaryComponent
    • GetSalaryComponent
    • UpdateSalaryComponent
    • DeleteSalaryComponent
  • Leaves Configuration
    • CreateLeave
    • GetLeaves
    • DeleteLeave
    • UpdateLeave
    • GetLeave
  • Tax Calendar
    • CreateTaxCalendar
    • GetTaxCalendar
    • DeleteTaxCalendar
    • UpdateTaxCalendar
    • GetLeave
  • Contract
    • CreateContract
    • GetContract
    • DeleteContract
    • UpdateContract
    • GetLeave
  • GST-Reports
    • GetReportB2B
    • GetReportB2cl
    • GetReportB2cs
    • GetReportExports
    • GetGstSummary
    • ExportJsonGst1
  • Organization Backup
    • GetAllBackups
      GET
    • AddOrganizationBackup
      POST
  • Bank Account
    • AddBankAccount
    • GetAllBankAccounts
    • GetBankAccountDetail
    • UpdateBankAccount
    • DeleteBankAccount
    • FileImport
  • Leave Policy
    • GetAllBankAccounts
    • AddLeavePolicy
    • GetLeavePolicyDetail
    • UpdateLeavePolicy
    • DeleteLeavePolicy
  • Leave Application
    • GetMostleave
    • GetLeastleave
    • GetAllLeaveApplications
    • AddLeaveApplication
    • GetLeaveApplicationDetail
    • DeleteLeaveApplication
    • UpdateLeaveApplication
    • GetEmployeeLeaveSummary
    • UpdateLeaveApplicationStatus
    • UpdateLeaveApplicationStatusFromEmail
  • Backup Restore
    • AddBackupRestore
    • GetAllBackupRestores
  • Finance
    • GetGstReceivableTotal
    • GetGstReceivable
    • GetGstPayableTotal
    • GetGstPayable
    • GetAccountBalance
    • GetLastAccountDebited
    • GetAccountTransferSummary
    • GetRecentTransfer
    • GetCreditedAmounts
    • GetDebitedAmounts
    • GetGstBills
    • GetAccountAnalysisGraph
  • Email-Rule
    • GetEmailRules
    • AddEmailRule
    • UpdateEmailRule
    • DeleteEmailRule
  • Widget
    • GetWidgets
  • User Dashboard
    • GetUserDashboards
    • Add
    • Update
  • ExpenseCategory
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Lead
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
    • LeadToClient
    • FileImport
  • LeadActivity
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Deal
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • DebitNote
    • GetDebitNoteList
    • AddDebitNote
    • GetNextDebitNoteNumber
    • GetDebitNoteDetail
    • UpdateDebitNote
    • SendDebitNoteEmail
    • CancelDebitNote
    • UpdateDebitNoteNumber
    • GenerateDebitNote
  • SpendCategory
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • SpendPolicy
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Employee Spend
    • GetAllEmployeeSpends
    • AddEmployeeSpend
    • GetEmployeeSpendDetail
    • DeleteEmployeeSpend
    • UpdateEmployeeSpend
  • Warehouse
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Branch
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  1. Organization Backup

AddOrganizationBackup

POST
https://api.upbooks.io/api/v1/organization-backup

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
ORGANIZATION-ID
string 
optional
OrganizationId of your registered business on upbooks
Example:
00000
Body Params application/json
clients
boolean 
required
vendors
boolean 
required
assets
boolean 
required
employees
boolean 
required
expenses
boolean 
required
products
boolean 
required
services
boolean 
required
orders
boolean 
required
payments
boolean 
required
settlements
boolean 
required
invoice
boolean 
required
taxes
boolean 
required
discounts
boolean 
required
users
boolean 
required
items
boolean 
required
proposals
boolean 
required
purchaseOrders
boolean 
required
documents
boolean 
required
projects
boolean 
required
tasks
boolean 
required
payroll
boolean 
required
account
boolean 
required
enquiry
boolean 
required
outwardPayments
boolean 
required
creditNotes
boolean 
required
platformSubscriptions
boolean 
required
employeeLeaves
boolean 
required
fileImports
boolean 
required
activityLogs
boolean 
required
orgSettings
boolean 
required
organizationBackups
boolean 
required
leavePolicies
boolean 
required
bankAccounts
boolean 
required
accountLedger
boolean 
required
accountTransfer
boolean 
required
clientLedger
boolean 
required
salaryComponents
boolean 
required
leads
boolean 
required
leadActivities
boolean 
required
deals
boolean 
required
debitNotes
boolean 
required
expenseCategories
boolean 
required
warehouse
boolean 
required
branch
boolean 
required
contracts
boolean 
required
employeeSpends
boolean 
required
Example
{
    "clients": true,
    "vendors": true,
    "assets": true,
    "employees": true,
    "expenses": true,
    "products": true,
    "services": true,
    "orders": true,
    "payments": true,
    "settlements": true,
    "invoice": true,
    "taxes": true,
    "discounts": true,
    "users": true,
    "items": true,
    "proposals": true,
    "purchaseOrders": true,
    "documents": true,
    "projects": true,
    "tasks": true,
    "payroll": true,
    "account": true,
    "enquiry": true,
    "outwardPayments": true,
    "creditNotes": true,
    "platformSubscriptions": true,
    "employeeLeaves": true,
    "fileImports": true,
    "activityLogs": true,
    "orgSettings": true,
    "organizationBackups": true,
    "leavePolicies": true,
    "bankAccounts": true,
    "accountLedger": true,
    "accountTransfer": true,
    "clientLedger": true,
    "salaryComponents": true,
    "leads": true,
    "leadActivities": true,
    "deals": true,
    "debitNotes": true,
    "expenseCategories": true,
    "warehouse": true,
    "branch": true,
    "contracts": true,
    "employeeSpends": true
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.upbooks.io/api/v1/organization-backup' \
--header 'ORGANIZATION-ID: 00000' \
--header 'Content-Type: application/json' \
--data-raw '{
    "clients": true,
    "vendors": true,
    "assets": true,
    "employees": true,
    "expenses": true,
    "products": true,
    "services": true,
    "orders": true,
    "payments": true,
    "settlements": true,
    "invoice": true,
    "taxes": true,
    "discounts": true,
    "users": true,
    "items": true,
    "proposals": true,
    "purchaseOrders": true,
    "documents": true,
    "projects": true,
    "tasks": true,
    "payroll": true,
    "account": true,
    "enquiry": true,
    "outwardPayments": true,
    "creditNotes": true,
    "platformSubscriptions": true,
    "employeeLeaves": true,
    "fileImports": true,
    "activityLogs": true,
    "orgSettings": true,
    "organizationBackups": true,
    "leavePolicies": true,
    "bankAccounts": true,
    "accountLedger": true,
    "accountTransfer": true,
    "clientLedger": true,
    "salaryComponents": true,
    "leads": true,
    "leadActivities": true,
    "deals": true,
    "debitNotes": true,
    "expenseCategories": true,
    "warehouse": true,
    "branch": true,
    "contracts": true,
    "employeeSpends": true
}'

Responses

🟢200Ok
application/json
Body
data
array[object (IOrganizationBackupDocumentJSON) {12}] 
required
createdAt
string <date-time>
required
updatedAt
string <date-time>
required
__v
number <double>
optional
_id
string 
required
organizationId
string 
required
backupNumber
string 
required
backupFile
string 
optional
dateTime
string <date-time>
required
initiatedBy
object (ICommonUser) 
required
status
enum<string> 
required
Allowed values:
in-progressfailedcompleted
isDeleted
boolean 
required
data
object (IOrganizationBackupRequest) 
optional
totalCount
number <double>
optional
filteredCount
number <double>
optional
message
string 
optional
Example
{
    "data": [
        {
            "createdAt": "2019-08-24T14:15:22Z",
            "updatedAt": "2019-08-24T14:15:22Z",
            "__v": 0,
            "_id": "string",
            "organizationId": "string",
            "backupNumber": "string",
            "backupFile": "string",
            "dateTime": "2019-08-24T14:15:22Z",
            "initiatedBy": {
                "id": "string",
                "name": "string",
                "email": "string",
                "organizations": [
                    {
                        "organizationHashId": "string",
                        "organizationId": "string",
                        "role": "organization-admin",
                        "teams": [
                            "admin"
                        ],
                        "organizationName": "string",
                        "organizationLogo": "string",
                        "isActive": true
                    }
                ]
            },
            "status": "in-progress",
            "isDeleted": true,
            "data": {
                "clients": true,
                "vendors": true,
                "assets": true,
                "employees": true,
                "expenses": true,
                "products": true,
                "services": true,
                "orders": true,
                "payments": true,
                "settlements": true,
                "invoice": true,
                "taxes": true,
                "discounts": true,
                "users": true,
                "items": true,
                "proposals": true,
                "purchaseOrders": true,
                "documents": true,
                "projects": true,
                "tasks": true,
                "payroll": true,
                "account": true,
                "enquiry": true,
                "outwardPayments": true,
                "creditNotes": true,
                "platformSubscriptions": true,
                "employeeLeaves": true,
                "fileImports": true,
                "activityLogs": true,
                "orgSettings": true,
                "organizationBackups": true,
                "leavePolicies": true,
                "bankAccounts": true,
                "accountLedger": true,
                "accountTransfer": true,
                "clientLedger": true,
                "salaryComponents": true,
                "leads": true,
                "leadActivities": true,
                "deals": true,
                "debitNotes": true,
                "expenseCategories": true,
                "warehouse": true,
                "branch": true,
                "contracts": true,
                "employeeSpends": true
            }
        }
    ],
    "totalCount": 0,
    "filteredCount": 0,
    "message": "string"
}
🟢200Success
Modified at 2024-04-15 09:58:55
Previous
GetAllBackups
Next
AddBankAccount
Built with