{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/business:avaza/schedule-series-add-booking":{"post":{"operationId":"business_avaza_schedule_series_add_booking","summary":"Create new Schedule Booking","description":"POST /ScheduleSeries/AddBooking","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/schedule-series-add-leave":{"post":{"operationId":"business_avaza_schedule_series_add_leave","summary":"Create new Leave Booking","description":"POST /ScheduleSeries/AddLeave","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/schedule-series-edit-booking":{"post":{"operationId":"business_avaza_schedule_series_edit_booking","summary":"Edit Booking","description":"PUT /ScheduleSeries/EditBooking","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/schedule-series-edit-leave":{"post":{"operationId":"business_avaza_schedule_series_edit_leave","summary":"Edit Leave Booking","description":"PUT /ScheduleSeries/EditLeave","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/account-get":{"get":{"operationId":"business_avaza_account_get","summary":"Account Details","description":"GET /api/Account","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/bill-get":{"get":{"operationId":"business_avaza_bill_get","summary":"Gets list of Bills","description":"GET /api/Bill","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"Sort","in":"query","required":false,"schema":{"type":"string"}},{"name":"CompanyIDFK","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/bill-post":{"post":{"operationId":"business_avaza_bill_post","summary":"Create a new draft Bill","description":"POST /api/Bill","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/bill-get-by-id":{"get":{"operationId":"business_avaza_bill_get_by_id","summary":"Gets a Bill by Bill ID","description":"GET /api/Bill/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Bill Transaction ID number","schema":{"type":"integer","description":"Bill Transaction ID number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/bill-payment-get":{"get":{"operationId":"business_avaza_bill_payment_get","summary":"Gets list of Bill Payments","description":"GET /api/BillPayment","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/bill-payment-post":{"post":{"operationId":"business_avaza_bill_payment_post","summary":"Create new Bill Payment and optionally assign payment allocations to Bills","description":"POST /api/BillPayment","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/bill-payment-get-by-id":{"get":{"operationId":"business_avaza_bill_payment_get_by_id","summary":"Gets a Bill Payment by Payment Transaction ID","description":"GET /api/BillPayment/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Invoice Transaction ID Number","schema":{"type":"integer","description":"Invoice Transaction ID Number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/company-get":{"get":{"operationId":"business_avaza_company_get","summary":"Gets list of Companies","description":"GET /api/Company","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Number of results per page","schema":{"type":"integer","description":"Number of results per page"}},{"name":"pageNumber","in":"query","required":false,"description":"1 based page number to retrieve","schema":{"type":"integer","description":"1 based page number to retrieve"}},{"name":"Sort","in":"query","required":false,"description":"(optional) Supply one of: \"DateUpdated\", \"DateCreated\", \"CompanyName\",\"DateUpdated desc\",\"DateCreated desc\", \"CompanyName desc\"","schema":{"type":"string","description":"(optional) Supply one of: \"DateUpdated\", \"DateCreated\", \"CompanyName\",\"DateUpdated desc\",\"DateCreated desc\", \"CompanyName desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/company-post":{"post":{"operationId":"business_avaza_company_post","summary":"Create a Company","description":"POST /api/Company","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/company-put":{"post":{"operationId":"business_avaza_company_put","summary":"Update a Company record.","description":"PUT /api/Company","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/company-lookup":{"get":{"operationId":"business_avaza_company_lookup","summary":"Gets minimal list of Companies.","description":"GET /api/Company/Lookup","tags":["business"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"search","in":"query","required":false,"description":"Search string to match against Company title","schema":{"type":"string","description":"Search string to match against Company title"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/company-get-by-id":{"get":{"operationId":"business_avaza_company_get_by_id","summary":"Gets Company by Company ID","description":"GET /api/Company/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Company ID Number","schema":{"type":"integer","description":"Company ID Number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/contact-get":{"get":{"operationId":"business_avaza_contact_get","summary":"Gets list of Contacts","description":"GET /api/Contact","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"Sort","in":"query","required":false,"schema":{"type":"string"}},{"name":"CompanyIDFK","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/contact-post":{"post":{"operationId":"business_avaza_contact_post","summary":"Create a Contact","description":"POST /api/Contact","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/contact-get-by-id":{"get":{"operationId":"business_avaza_contact_get_by_id","summary":"Gets Contact by Contact ID","description":"GET /api/Contact/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Contact ID number","schema":{"type":"integer","description":"Contact ID number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/credit-note-get":{"get":{"operationId":"business_avaza_credit_note_get","summary":"Gets list of CreditNotes","description":"GET /api/CreditNote","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/credit-note-get-by-id":{"get":{"operationId":"business_avaza_credit_note_get_by_id","summary":"Gets Credit Note by CreditNoteID","description":"GET /api/CreditNote/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Credit Note ID Number","schema":{"type":"integer","description":"Credit Note ID Number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/currency-get":{"get":{"operationId":"business_avaza_currency_get","summary":"Gets list of Currencies","description":"GET /api/Currency","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/estimate-get":{"get":{"operationId":"business_avaza_estimate_get","summary":"Gets list of Estimates","description":"GET /api/Estimate","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"Sort","in":"query","required":false,"schema":{"type":"string"}},{"name":"CompanyIDFK","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/estimate-post":{"post":{"operationId":"business_avaza_estimate_post","summary":"Create a new draft Estimate","description":"POST /api/Estimate","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/estimate-get-by-id":{"get":{"operationId":"business_avaza_estimate_get_by_id","summary":"Gets Estimate by Estimate ID","description":"GET /api/Estimate/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Estimate Estimate ID number","schema":{"type":"integer","description":"Estimate Estimate ID number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-get":{"get":{"operationId":"business_avaza_expense_get","summary":"Gets list of Expenses","description":"GET /api/Expense","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"ExpenseDateFrom","in":"query","required":false,"schema":{"type":"string"}},{"name":"ExpenseDateTo","in":"query","required":false,"schema":{"type":"string"}},{"name":"UserEmail","in":"query","required":false,"schema":{"type":"string"}},{"name":"UserID","in":"query","required":false,"schema":{"type":"integer"}},{"name":"CategoryName","in":"query","required":false,"schema":{"type":"string"}},{"name":"CustomerID","in":"query","required":false,"schema":{"type":"integer"}},{"name":"ProjectID","in":"query","required":false,"schema":{"type":"integer"}},{"name":"isChargeable","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"isInvoiced","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"ExpenseReimbursementIDFK","in":"query","required":false,"schema":{"type":"integer"}},{"name":"ExpensePaymentMethodIDFK","in":"query","required":false,"schema":{"type":"integer"}},{"name":"ExpenseApprovalStatusCode","in":"query","required":false,"schema":{"type":"string"}},{"name":"Search","in":"query","required":false,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"Sort","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-post":{"post":{"operationId":"business_avaza_expense_post","summary":"Create an Expense","description":"POST /api/Expense","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-put":{"post":{"operationId":"business_avaza_expense_put","summary":"Update an Expense","description":"PUT /api/Expense","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-delete":{"post":{"operationId":"business_avaza_expense_delete","summary":"Delete a Timesheet Entry","description":"DELETE /api/Expense","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-attachment":{"post":{"operationId":"business_avaza_expense_attachment","summary":"POST /api/Expense/Attachment","description":"POST /api/Expense/Attachment","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-get-by-id":{"get":{"operationId":"business_avaza_expense_get_by_id","summary":"Gets an Expense Entry by Expense ID","description":"GET /api/Expense/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Expense ID number","schema":{"type":"integer","description":"Expense ID number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-approval":{"post":{"operationId":"business_avaza_expense_approval","summary":"Submit Expenses for Approval.","description":"POST /api/ExpenseApproval/Submit","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"UserID":{"type":"integer","description":"The user to submit the Expenses for. Defaults to current user. Only allowed to be different from the current user when the current user…"},"SendNotifications":{"type":"boolean","description":"Send email alerts to expense approvers. Defaults to true"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-category-get":{"get":{"operationId":"business_avaza_expense_category_get","summary":"Gets list of Expense Categories","description":"GET /api/ExpenseCategory","tags":["business"],"parameters":[{"name":"isEnabled","in":"query","required":false,"description":"Optional filter on for enabled/disabled categories. Defaults to true.","schema":{"type":"boolean","description":"Optional filter on for enabled/disabled categories. Defaults to true."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-group-lookup":{"get":{"operationId":"business_avaza_expense_group_lookup","summary":"Gets minimal list of Expense Groups.","description":"GET /api/ExpenseGroup/Lookup","tags":["business"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"search","in":"query","required":false,"description":"Search string to match against Expense Group Name","schema":{"type":"string","description":"Search string to match against Expense Group Name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-merchange-lookup":{"get":{"operationId":"business_avaza_expense_merchange_lookup","summary":"Gets minimal list of Expense Merchants.","description":"GET /api/ExpenseMerchant/Lookup","tags":["business"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"search","in":"query","required":false,"description":"Search string to match against Expense Group Name","schema":{"type":"string","description":"Search string to match against Expense Group Name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-payment-method-lookup":{"get":{"operationId":"business_avaza_expense_payment_method_lookup","summary":"Gets minimal list of Expense Payment Methods.","description":"GET /api/ExpensePaymentMethod/Lookup","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/expense-summary-get":{"get":{"operationId":"business_avaza_expense_summary_get","summary":"Gets Basic Summary of Expense Statistics","description":"GET /api/ExpenseSummary","tags":["business"],"parameters":[{"name":"model.groupBy","in":"query","required":false,"description":"(Optional) Combine one, two or three levels of Grouping. Combine these possible grouping values: \"Category\", \"ChargeableStatus\",…","schema":{"type":"array","description":"(Optional) Combine one, two or three levels of Grouping. Combine these possible grouping values: \"Category\", \"ChargeableStatus\",…"}},{"name":"model.expenseDateFrom","in":"query","required":false,"description":"(Required) Filter for expenses with expense dates greater or equal to the specified date. e.g. 2019-01-25.","schema":{"type":"string","description":"(Required) Filter for expenses with expense dates greater or equal to the specified date. e.g. 2019-01-25."}},{"name":"model.expenseDateTo","in":"query","required":false,"description":"(Required) Filter for expenses with an expense date smaller or equal to the specified date. e.g. 2019-01-25.","schema":{"type":"string","description":"(Required) Filter for expenses with an expense date smaller or equal to the specified date. e.g. 2019-01-25."}},{"name":"model.userID","in":"query","required":false,"description":"(Optional) Defaults to the current user. Provide one or more UserIDs of Users whose expenses should be retrieved. If the current user…","schema":{"type":"array","description":"(Optional) Defaults to the current user. Provide one or more UserIDs of Users whose expenses should be retrieved. If the current user…"}},{"name":"model.projectID","in":"query","required":false,"description":"(Optional) Filter by Project","schema":{"type":"integer","description":"(Optional) Filter by Project"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/fixed-amount-get":{"get":{"operationId":"business_avaza_fixed_amount_get","summary":"Gets list of Fixed Amounts","description":"GET /api/FixedAmount","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"EntryDateFrom","in":"query","required":false,"schema":{"type":"string"}},{"name":"EntryDateTo","in":"query","required":false,"schema":{"type":"string"}},{"name":"ProjectID","in":"query","required":false,"description":"(Optional) The ProjectID of a Project to filter Fixed Amounts for","schema":{"type":"integer","description":"(Optional) The ProjectID of a Project to filter Fixed Amounts for"}},{"name":"TaskID","in":"query","required":false,"description":"(Optional) The TaskID of a Task to filter Fixed Amounts for","schema":{"type":"integer","description":"(Optional) The TaskID of a Task to filter Fixed Amounts for"}},{"name":"isInvoiced","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"Sort","in":"query","required":false,"description":"Optional sorting instruction. Currently possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\",\"EntryDate\",…","schema":{"type":"string","description":"Optional sorting instruction. Currently possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\",\"EntryDate\",…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/inventory-get":{"get":{"operationId":"business_avaza_inventory_get","summary":"Gets list of Inventory","description":"GET /api/Inventory","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/inventory-get-by-id":{"get":{"operationId":"business_avaza_inventory_get_by_id","summary":"Gets InventoryItem by InventoryItem ID","description":"GET /api/Inventory/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"InventoryItem ID number","schema":{"type":"integer","description":"InventoryItem ID number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/invoice-get":{"get":{"operationId":"business_avaza_invoice_get","summary":"Gets list of Invoices","description":"GET /api/Invoice","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"Sort","in":"query","required":false,"schema":{"type":"string"}},{"name":"CompanyIDFK","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/invoice-post":{"post":{"operationId":"business_avaza_invoice_post","summary":"Create a new draft invoice","description":"POST /api/Invoice","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/invoice-get-by-id":{"get":{"operationId":"business_avaza_invoice_get_by_id","summary":"Gets Invoice by Invoice ID","description":"GET /api/Invoice/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Invoice Transaction ID number","schema":{"type":"integer","description":"Invoice Transaction ID number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/payment-get":{"get":{"operationId":"business_avaza_payment_get","summary":"Gets list of Payments","description":"GET /api/Payment","tags":["business"],"parameters":[{"name":"InvoiceTransactionID","in":"query","required":false,"description":"Filter for Payments that have at least one allocation against a given Invoice Transaction ID","schema":{"type":"integer","description":"Filter for Payments that have at least one allocation against a given Invoice Transaction ID"}},{"name":"UpdatedAfter","in":"query","required":false,"description":"Filter for Payments updated after a given date","schema":{"type":"string","description":"Filter for Payments updated after a given date"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/payment-post":{"post":{"operationId":"business_avaza_payment_post","summary":"Create new Payment and optionally assign payment allocations to Invoices","description":"POST /api/Payment","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/payment-get-by-id":{"get":{"operationId":"business_avaza_payment_get_by_id","summary":"Gets Payment by Payment Transaction ID","description":"GET /api/Payment/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Invoice Transaction ID Number","schema":{"type":"integer","description":"Invoice Transaction ID Number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/project-get":{"get":{"operationId":"business_avaza_project_get","summary":"Gets list of Projects","description":"GET /api/Project","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"description":"Only show project records updated after a certain date (UTC)","schema":{"type":"string","description":"Only show project records updated after a certain date (UTC)"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"Sort","in":"query","required":false,"description":"A column to sort on. Current possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\"","schema":{"type":"string","description":"A column to sort on. Current possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\""}},{"name":"TimesheetUserID","in":"query","required":false,"description":"Filter to the projects that the supplied UserID can add timesheets to","schema":{"type":"integer","description":"Filter to the projects that the supplied UserID can add timesheets to"}},{"name":"includeArchived","in":"query","required":false,"description":"Include Archived Projects in the results","schema":{"type":"boolean","description":"Include Archived Projects in the results"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/project-post":{"post":{"operationId":"business_avaza_project_post","summary":"Create a Project","description":"POST /api/Project","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/project-put":{"post":{"operationId":"business_avaza_project_put","summary":"Update an Project","description":"PUT /api/Project","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/project-lookup":{"get":{"operationId":"business_avaza_project_lookup","summary":"Gets minimal list of active Projects for the current user","description":"GET /api/Project/Lookup","tags":["business"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"TimesheetUserID","in":"query","required":false,"description":"Optionally Filter to the projects that the supplied UserID can add timesheets to","schema":{"type":"integer","description":"Optionally Filter to the projects that the supplied UserID can add timesheets to"}},{"name":"CompanyIDFK","in":"query","required":false,"description":"Optionally Filter for a specific Company ID","schema":{"type":"integer","description":"Optionally Filter for a specific Company ID"}},{"name":"search","in":"query","required":false,"description":"Search string to match against Project title and Customer name","schema":{"type":"string","description":"Search string to match against Project title and Customer name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/project-get-by-id":{"get":{"operationId":"business_avaza_project_get_by_id","summary":"Gets Project by Project ID","description":"GET /api/Project/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Project ID number","schema":{"type":"integer","description":"Project ID number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/project-member-get":{"get":{"operationId":"business_avaza_project_member_get","summary":"Gets list of Project Members","description":"GET /api/ProjectMember","tags":["business"],"parameters":[{"name":"ProjectID","in":"query","required":false,"description":"Get Project members filtered by ProjectID","schema":{"type":"integer","description":"Get Project members filtered by ProjectID"}},{"name":"UserID","in":"query","required":false,"description":"Get Project members filtered by UserID","schema":{"type":"integer","description":"Get Project members filtered by UserID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/project-member-post":{"post":{"operationId":"business_avaza_project_member_post","summary":"Assign a user as a Member of a Project","description":"POST /api/ProjectMember","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/project-member-put":{"post":{"operationId":"business_avaza_project_member_put","summary":"Update a Member of a Project","description":"PUT /api/ProjectMember","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/project-timesheet-category-get":{"get":{"operationId":"business_avaza_project_timesheet_category_get","summary":"Gets list of Project Timesheet Categories","description":"GET /api/ProjectTimesheetCategory","tags":["business"],"parameters":[{"name":"ProjectID","in":"query","required":false,"description":"Get categories filtered by ProjectID","schema":{"type":"integer","description":"Get categories filtered by ProjectID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/project-timesheet-category-post":{"post":{"operationId":"business_avaza_project_timesheet_category_post","summary":"Assign a TimeSheetCategory to a Project.","description":"POST /api/ProjectTimesheetCategory","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/schedule-assignment-get":{"get":{"operationId":"business_avaza_schedule_assignment_get","summary":"Gets list of Schedule Assignments.","description":"GET /api/ScheduleAssignment","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"description":"Limit results to records updated after the specified date","schema":{"type":"string","description":"Limit results to records updated after the specified date"}},{"name":"ScheduleDateFrom","in":"query","required":false,"description":"Filter for schedule assignement that are on or after a specific date","schema":{"type":"string","description":"Filter for schedule assignement that are on or after a specific date"}},{"name":"ScheduleDateTo","in":"query","required":false,"description":"Filter for schedules that are on or before a specific date","schema":{"type":"string","description":"Filter for schedules that are on or before a specific date"}},{"name":"ScheduleSeriesID","in":"query","required":false,"description":"Filter to records for a particular Schedule Series","schema":{"type":"integer","description":"Filter to records for a particular Schedule Series"}},{"name":"UserID","in":"query","required":false,"description":"The UserID of a schedule user to filter assignments for. Only api users with Admin role can see all schedules across all users. Users with…","schema":{"type":"integer","description":"The UserID of a schedule user to filter assignments for. Only api users with Admin role can see all schedules across all users. Users with…"}},{"name":"UserEmail","in":"query","required":false,"description":"The email of the user who has been scheduled","schema":{"type":"string","description":"The email of the user who has been scheduled"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"Sort","in":"query","required":false,"description":"Optional sorting instruction. Currently possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\"","schema":{"type":"string","description":"Optional sorting instruction. Currently possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/schedule-series-get":{"get":{"operationId":"business_avaza_schedule_series_get","summary":"Gets list of Schedule Series","description":"GET /api/ScheduleSeries","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"description":"Limit results to records updated after the specified date","schema":{"type":"string","description":"Limit results to records updated after the specified date"}},{"name":"ScheduleStartDateFrom","in":"query","required":false,"description":"Filter for schedules that start on or after a specific date","schema":{"type":"string","description":"Filter for schedules that start on or after a specific date"}},{"name":"ScheduleStartDateTo","in":"query","required":false,"description":"Filter for schedules that start on or before a specific date","schema":{"type":"string","description":"Filter for schedules that start on or before a specific date"}},{"name":"ScheduleEndDateFrom","in":"query","required":false,"description":"Filter for schedules that end on or after a specific date","schema":{"type":"string","description":"Filter for schedules that end on or after a specific date"}},{"name":"ScheduleEndDateTo","in":"query","required":false,"description":"Filter for schedules that end on or before a specific date","schema":{"type":"string","description":"Filter for schedules that end on or before a specific date"}},{"name":"UserID","in":"query","required":false,"description":"The UserID of a schedule user to filter assignments for. Only api users with Admin role can see all schedules across all users. Users with…","schema":{"type":"integer","description":"The UserID of a schedule user to filter assignments for. Only api users with Admin role can see all schedules across all users. Users with…"}},{"name":"UserEmail","in":"query","required":false,"description":"The email of the user who has been scheduled","schema":{"type":"string","description":"The email of the user who has been scheduled"}},{"name":"TimeSheetCategoryID","in":"query","required":false,"description":"Filter for schedule records linked to a specific timesheeet category","schema":{"type":"integer","description":"Filter for schedule records linked to a specific timesheeet category"}},{"name":"TimeSheetCategoryName","in":"query","required":false,"description":"Filter for schedule records with a specific timesheeet category name (exact string match)","schema":{"type":"string","description":"Filter for schedule records with a specific timesheeet category name (exact string match)"}},{"name":"LeaveTypeID","in":"query","required":false,"description":"Filter to records of a particular leave type","schema":{"type":"integer","description":"Filter to records of a particular leave type"}},{"name":"ProjectID","in":"query","required":false,"description":"Filter to only include books linked to a specific project","schema":{"type":"integer","description":"Filter to only include books linked to a specific project"}},{"name":"CompanyID","in":"query","required":false,"description":"Filter to only include records linked to projects, where that project belongs to a specific customer company","schema":{"type":"integer","description":"Filter to only include records linked to projects, where that project belongs to a specific customer company"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"Sort","in":"query","required":false,"description":"Optional sorting instruction. Currently possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\"","schema":{"type":"string","description":"Optional sorting instruction. Currently possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/section-get":{"get":{"operationId":"business_avaza_section_get","summary":"Gets list of Sections","description":"GET /api/Section","tags":["business"],"parameters":[{"name":"ProjectID","in":"query","required":true,"description":"Get sections for Project with ProjectID","schema":{"type":"integer","description":"Get sections for Project with ProjectID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/section-post":{"post":{"operationId":"business_avaza_section_post","summary":"Create a Section","description":"POST /api/Section","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/section-delete":{"post":{"operationId":"business_avaza_section_delete","summary":"Delete a Section","description":"DELETE /api/Section","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SectionID"],"properties":{"SectionID":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/task-get":{"get":{"operationId":"business_avaza_task_get","summary":"Gets list of Tasks","description":"GET /api/Task","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"description":"Optional filter to records updated after a specific date.","schema":{"type":"string","description":"Optional filter to records updated after a specific date."}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page. Defaults to 20.","schema":{"type":"integer","description":"Number of items per page. Defaults to 20."}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1. Defaults to 1","schema":{"type":"integer","description":"Page to display. Starts from 1. Defaults to 1"}},{"name":"Sort","in":"query","required":false,"description":"Optional sorting instruction. Currently possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\",…","schema":{"type":"string","description":"Optional sorting instruction. Currently possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\",…"}},{"name":"isComplete","in":"query","required":false,"description":"Optional filter to only display tasks linked to a Task Status where isComplete=false, or where isComplete=true","schema":{"type":"boolean","description":"Optional filter to only display tasks linked to a Task Status where isComplete=false, or where isComplete=true"}},{"name":"ProjectID","in":"query","required":false,"description":"Optional filter to only display tasks belonging to a specific ProjectID","schema":{"type":"integer","description":"Optional filter to only display tasks belonging to a specific ProjectID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/task-post":{"post":{"operationId":"business_avaza_task_post","summary":"Create a Task","description":"POST /api/Task","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/task-put":{"post":{"operationId":"business_avaza_task_put","summary":"Update a Task.","description":"PUT /api/Task","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/task-delete":{"post":{"operationId":"business_avaza_task_delete","summary":"Delete a Task","description":"DELETE /api/Task","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskID"],"properties":{"TaskID":{"type":"integer"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/task-lookup":{"get":{"operationId":"business_avaza_task_lookup","summary":"Gets minimal list of Tasks for the current user","description":"GET /api/Task/Lookup","tags":["business"],"parameters":[{"name":"projectID","in":"query","required":true,"description":"(required) The ProjectID to use when filtering Tasks","schema":{"type":"integer","description":"(required) The ProjectID to use when filtering Tasks"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"hideCompleted","in":"query","required":false,"description":"(optional) true/false to hide completed tasks. Defaults false","schema":{"type":"boolean","description":"(optional) true/false to hide completed tasks. Defaults false"}},{"name":"search","in":"query","required":false,"description":"(optional) Search string to match against Task title. Performs begins-with match","schema":{"type":"string","description":"(optional) Search string to match against Task title. Performs begins-with match"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/task-get-by-id":{"get":{"operationId":"business_avaza_task_get_by_id","summary":"Gets Task by Task ID","description":"GET /api/Task/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Task ID number","schema":{"type":"integer","description":"Task ID number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/task-status-get":{"get":{"operationId":"business_avaza_task_status_get","summary":"Gets list of Task Statuses","description":"GET /api/TaskStatus","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/task-type-get":{"get":{"operationId":"business_avaza_task_type_get","summary":"Gets list of Task Types","description":"GET /api/TaskType","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/tax-get":{"get":{"operationId":"business_avaza_tax_get","summary":"Get List of Taxes configured in the Avaza account.","description":"GET /api/Tax","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/timesheet-get":{"get":{"operationId":"business_avaza_timesheet_get","summary":"Gets list of Timsheets","description":"GET /api/Timesheet","tags":["business"],"parameters":[{"name":"UpdatedAfter","in":"query","required":false,"schema":{"type":"string"}},{"name":"EntryDateFrom","in":"query","required":false,"schema":{"type":"string"}},{"name":"EntryDateTo","in":"query","required":false,"schema":{"type":"string"}},{"name":"UserID","in":"query","required":false,"description":"The UserID of a timesheet user to filter timesheets for. Only api users with certain higher roles can see timesheets across multiple users.","schema":{"type":"integer","description":"The UserID of a timesheet user to filter timesheets for. Only api users with certain higher roles can see timesheets across multiple users."}},{"name":"UserEmail","in":"query","required":false,"schema":{"type":"string"}},{"name":"CategoryName","in":"query","required":false,"schema":{"type":"string"}},{"name":"ProjectID","in":"query","required":false,"schema":{"type":"integer"}},{"name":"isBillable","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"isInvoiced","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"isTimerRunning","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"pageSize","in":"query","required":false,"description":"Number of items per page (max 1000)","schema":{"type":"integer","description":"Number of items per page (max 1000)"}},{"name":"pageNumber","in":"query","required":false,"description":"Page to display. Starts from 1.","schema":{"type":"integer","description":"Page to display. Starts from 1."}},{"name":"includeInvoiceDetails","in":"query","required":false,"description":"Defaults to false. When true, the InvoiceIDFK value will be included in the response.","schema":{"type":"boolean","description":"Defaults to false. When true, the InvoiceIDFK value will be included in the response."}},{"name":"Sort","in":"query","required":false,"description":"Optional sorting instruction. Currently possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\",\"EntryDate\",…","schema":{"type":"string","description":"Optional sorting instruction. Currently possible values: \"DateUpdated\", \"DateCreated\", \"DateUpdated desc\", \"DateCreated desc\",\"EntryDate\",…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/timesheet-post":{"post":{"operationId":"business_avaza_timesheet_post","summary":"Create a new Timesheet Entry","description":"POST /api/Timesheet","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/timesheet-put":{"post":{"operationId":"business_avaza_timesheet_put","summary":"Update a Timesheet","description":"PUT /api/Timesheet","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/timesheet-get-by-id":{"get":{"operationId":"business_avaza_timesheet_get_by_id","summary":"Gets a Timesheet Entry by Timesheet ID","description":"GET /api/Timesheet/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"Timesheet ID number","schema":{"type":"integer","description":"Timesheet ID number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/timesheet-delete":{"post":{"operationId":"business_avaza_timesheet_delete","summary":"Delete a Timesheet Entry","description":"DELETE /api/Timesheet/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The id of the timesheet entry to be deleted"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/timesheet-submission-post":{"post":{"operationId":"business_avaza_timesheet_submission_post","summary":"Submit Timesheets for Approval.","description":"POST /api/TimesheetSubmission","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"SendNotifications":{"type":"boolean","description":"Send email alerts to timesheet approvers. Defaults to true"},"WholeWeekOf":{"type":"string","description":"A date (yyyy-MM-dd) that falls within a Week to have all timesheets in that week submitted. Respects the First Day of Week setting in your…"},"WholeDayOf":{"type":"string","description":"A date (yyyy-MM-dd) to submit all timesheets on this day"},"UserID":{"type":"integer","description":"The user to submit timesheets for. Defaults to current user. Only allowed to be different from the current user when the current user has…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/timesheet-summary-get":{"get":{"operationId":"business_avaza_timesheet_summary_get","summary":"Gets Basic Summary of Timesheet Statistics","description":"GET /api/TimesheetSummary","tags":["business"],"parameters":[{"name":"model.groupBy","in":"query","required":false,"description":"(Optional) Combine one, two or three levels of Grouping. Combine these possible grouping values: \"Customer\", \"Project\", \"Category\",…","schema":{"type":"array","description":"(Optional) Combine one, two or three levels of Grouping. Combine these possible grouping values: \"Customer\", \"Project\", \"Category\",…"}},{"name":"model.entryDateFrom","in":"query","required":false,"description":"(Required) Filter for timesheets greater or equal to the specified date. e.g. 2019-01-25. You can optionally include a time component,…","schema":{"type":"string","description":"(Required) Filter for timesheets greater or equal to the specified date. e.g. 2019-01-25. You can optionally include a time component,…"}},{"name":"model.entryDateTo","in":"query","required":false,"description":"(Required) Filter for timesheets with an entry date smaller or equal to the specified date. e.g. 2019-01-25. You can optionally include a…","schema":{"type":"string","description":"(Required) Filter for timesheets with an entry date smaller or equal to the specified date. e.g. 2019-01-25. You can optionally include a…"}},{"name":"model.userID","in":"query","required":false,"description":"(Optional) Defaults to the current user. Provide one or more UserIDs of Users whose timesheets should be retrieved. If the current user…","schema":{"type":"array","description":"(Optional) Defaults to the current user. Provide one or more UserIDs of Users whose timesheets should be retrieved. If the current user…"}},{"name":"model.projectID","in":"query","required":false,"description":"(Optional) Filter by Project","schema":{"type":"integer","description":"(Optional) Filter by Project"}},{"name":"model.isBillable","in":"query","required":false,"description":"(Optional) Filter by the billable status of Timesheets.","schema":{"type":"boolean","description":"(Optional) Filter by the billable status of Timesheets."}},{"name":"model.isInvoiced","in":"query","required":false,"description":"(Optional) Filter for timesheets by whether they have been Invoiced or not.","schema":{"type":"boolean","description":"(Optional) Filter for timesheets by whether they have been Invoiced or not."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/timesheet-timer-get-running-timer":{"get":{"operationId":"business_avaza_timesheet_timer_get_running_timer","summary":"Gets the Running Timer if there is one for a user.","description":"GET /api/TimesheetTimer","tags":["business"],"parameters":[{"name":"UserID","in":"query","required":false,"description":"Optional - User ID number if impersonating a different user. Otherwise assumes the current user. Only users with certain security roles…","schema":{"type":"integer","description":"Optional - User ID number if impersonating a different user. Otherwise assumes the current user. Only users with certain security roles…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/timesheet-timer-start-timer":{"post":{"operationId":"business_avaza_timesheet_timer_start_timer","summary":"Starts a Timer running on an existing Timesheet Entry","description":"POST /api/TimesheetTimer/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"id of timesheet entry that should be used as the basis for running a timer. If the existing timesheet is not on the current day, or you…"},"UserID":{"type":"integer","description":"Optional - User ID number if impersonating a different user. Otherwise assumes the current user. Only users with certain security roles…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/timesheet-timer-stop-timer":{"post":{"operationId":"business_avaza_timesheet_timer_stop_timer","summary":"Stop the timer running on an existing Timesheet Entry","description":"DELETE /api/TimesheetTimer/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"The ID of the existing timesheet entry that needs its timer stopped"},"UserID":{"type":"integer","description":"Optional - User ID number if impersonating a different user. Otherwise assumes the current user. Only users with certain security roles…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/user-profile-get":{"get":{"operationId":"business_avaza_user_profile_get","summary":"Get Collection of Users who have roles in the current Avaza account.","description":"GET /api/UserProfile","tags":["business"],"parameters":[{"name":"Roles","in":"query","required":false,"description":"Optional list of comma separated role codes to filter users by (e.g. \"TimesheetUser,Admin\")","schema":{"type":"string","description":"Optional list of comma separated role codes to filter users by (e.g. \"TimesheetUser,Admin\")"}},{"name":"Tags","in":"query","required":false,"schema":{"type":"string"}},{"name":"CurrentUserOnly","in":"query","required":false,"description":"Optional boolean (true/false) to filter to only show current authenticated user (always true for non Admin/InvoiceManager users)","schema":{"type":"boolean","description":"Optional boolean (true/false) to filter to only show current authenticated user (always true for non Admin/InvoiceManager users)"}},{"name":"CompanyIDFK","in":"query","required":false,"description":"Optionally filter by Company ID","schema":{"type":"integer","description":"Optionally filter by Company ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/webhook-get":{"get":{"operationId":"business_avaza_webhook_get","summary":"Get list of Webhook Subscriptions","description":"GET /api/Webhook","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/webhook-post":{"post":{"operationId":"business_avaza_webhook_post","summary":"Subscribe to Webhook. On success, returns ID of webhook subscription.","description":"POST /api/Webhook","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/webhook-delete-by-url":{"post":{"operationId":"business_avaza_webhook_delete_by_url","summary":"Delete webhook subscription by URL","description":"DELETE /api/Webhook","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["target_url"],"properties":{"target_url":{"type":"string","description":"Target URL that should be used to delete subscriptions"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:avaza/webhook-get-by-id":{"get":{"operationId":"business_avaza_webhook_get_by_id","summary":"Get Webhook Subscription by SubscriptionID","description":"GET /api/Webhook/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:avaza/webhook-delete":{"post":{"operationId":"business_avaza_webhook_delete","summary":"Delete Webhook Subscription by ID","description":"DELETE /api/Webhook/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"Subscription id to be deleted"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}