Get details of current organization
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
GET
/api-v1/myaccount/current-organization-details
curl \
-X GET http://wyzio.app/api-v1/myaccount/current-organization-details \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"automaticSynchronizationOfContacts": true,
"countryCode2": "string",
"currencyId": 42,
"defaultPaymentTerms": 42,
"employeeGroups": [
{
"id": 42,
"name": "string"
}
],
"id": 42,
"isCustomEmailServerConfigured": true,
"mainLanguage": {
"code": "string",
"id": 42,
"isMain": true,
"name": "string"
},
"name": "string",
"plannedPaymentDateOffset": 42,
"purchasePaymentAccountId": 42,
"regionId": 42,
"salesPaymentAccountId": 42,
"startDate": "2024-05-04T09:42:00+00:00",
"stockStrategy": "FIFO",
"usePurchaseAccrualAccounting": true,
"useSalesAccrualAccounting": true,
"useTimesheets": true,
"useUnsentOrdersStatus": true,
"useUnsentPayrollStatus": true,
"useUnsentSalesStatus": true,
"validateOrdersByDefaultType": "NONE",
"validatePurchaseInvoicesByDefaultType": "NONE",
"validateSalesInvoicesByDefaultType": "NONE"
}