Get total values for list of orders
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/orders/total
curl \
-X GET http://10.10.10.132/api-v1/orders/total \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"activeSubOrderId": 42,
"activeSubOrderInvoicingDate": "2024-05-04T09:42:00+00:00",
"addressCity": "string",
"addressClientName": "string",
"addressCountryCode": "string",
"addressName": "string",
"addressRegionCode": "string",
"addressStreet": "string",
"addressStreetPoBox": "string",
"addressToTheAttentionOf": "string",
"addressZipCode": "string",
"clientAdvancedInvoicingNote": "string",
"clientECorrespondence": true,
"clientEmail": "string",
"clientOrderEmail": "string",
"contactId": 42,
"contactName": "string",
"creatorContactId": 42,
"currency": "string",
"currencyId": 42,
"date": "2024-05-04T09:42:00+00:00",
"dayOfWeek": "MONDAY",
"departmentId": 42,
"departmentName": "string",
"description": "string",
"expensesEnabled": true,
"fixedAmount": 42.0,
"flagsAmount": 42,
"hasProformaInvoice": true,
"hasWarnings": true,
"historyDate": "2024-05-04T09:42:00+00:00",
"historyStatus": "OFFERED",
"id": 42,
"inWorkflow": true,
"invoiceGenerated": true,
"invoicingDay": "string",
"invoicingTime": "FIRST_DAY",
"isDisbursementFeeEnabled": true,
"isExpensesEnabled": true,
"isInWorkflow": true,
"isInvoiceGenerated": true,
"isPartialPaymentAvailable": true,
"isPeriodic": true,
"isPrePaymentAvailable": true,
"isTimesheetsEnabled": true,
"minimumAmountToInvoice": 42.0,
"name": "string",
"officeId": 42,
"officeName": "string",
"orderAmount": 42.0,
"orderArticleAmount": 42.0,
"orderArticleDiscount": 42.0,
"orderArticleId": 42,
"orderArticleMeasurement": "UNIT",
"orderArticleName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"orderArticleStatus": "SHIPPED",
"orderArticleTotalNet": 42.0,
"orderArticleUnitPrice": 42.0,
"orderId": "string",
"orderValidity": 42,
"organizationId": 42,
"ourContactName": "string",
"parentOrderId": 42,
"parentOrderName": "string",
"partialPaymentAvailable": true,
"paymentAccountId": 42,
"periodic": true,
"periodicityStartDate": "2024-05-04T09:42:00+00:00",
"periodicityType": "NONE",
"prePaymentAvailable": true,
"requestedPaymentTerms": 42,
"status": "OFFERED",
"statusLastChangedDate": "2024-05-04T09:42:00+00:00",
"systemValidated": true,
"timesheetsAccountId": 42,
"validated": true,
"vatRateId": 42,
"vatRateName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"warnings": "string",
"workflowPermissions": "string",
"yourContactName": "string",
"yourReference": "string"
}