Reject timesheets

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
POST /api-v1/timesheet/reject

Rejects multiple timesheets based on the specified filters and returns a list of rejected timesheet IDs.

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

application/json

Body

  • date string

    Date filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • 01/01/2026..31/12/2026
    • >=01/01/2026
    • <=01/01/2026
    • <>01/01/2026

    Use <>01/01/2026 to return only records where the selected date is not equal to the filter date.

  • employeeContactId string

    Employee contact ID filter.

    Multi-value supported. Example: value1;value2

  • clientContactId string

    Client contact ID filter.

    Multi-value supported. Example: value1;value2

  • description string

    Free-text description filter

  • time string

    Time spent filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • isBillable boolean

    Whether the entry is billable

  • status string

    Timesheet status filter

    Values are UNSUBMITTED, SUBMITTED, REJECTED, APPROVED, or BILLED.

  • billableAmount string

    Billable amount filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • costAmount string

    Cost amount filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • taskName string

    Task name filter

  • billableRate string

    Billable rate filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • costRate string

    Cost rate filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • departmentId string

    Department ID filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • orderId string

    Order ID filter.

    Multi-value supported. Example: value1;value2

  • isInWorkflow boolean

    Whether the entry is currently part of an active workflow

  • orderContactId string

    Order's client contact ID filter.

    Multi-value supported. Example: value1;value2

  • orderName string

    Order name filter

  • orderJoinedId string

    Order joined ID filter

  • orderStatus string

    Order status filter

  • parentOrderId string

    Parent order ID filter.

    Multi-value supported. Example: value1;value2

  • orderDepartmentId string

    Order department ID filter.

    Multi-value supported. Example: value1;value2

  • orderHistoryStatus string

    Order status history entry status filter

    Values are OFFERED, OFFERED_SENT, CONFIRMED, CONFIRMED_SENT, BILLABLE, FINISHED, or CANCELLED.

  • orderHistoryDate string

    Order status history entry date filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • 01/01/2026..31/12/2026
    • >=01/01/2026
    • <=01/01/2026
    • <>01/01/2026

    Use <>01/01/2026 to return only records where the selected date is not equal to the filter date.

  • orderVatRateId string

    Order VAT rate ID filter.

    Multi-value supported. Example: value1;value2

  • orderRequestedPaymentTerms integer(int32)

    Order requested payment terms in days filter

  • orderOurContactName string

    Order's our contact name filter

  • orderCurrencyId string

    Order currency ID filter.

    Multi-value supported. Example: value1;value2

  • orderMinimumAmountToInvoice string

    Order minimum invoiceable amount filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • orderYourContactName string

    Order's client internal contact name filter

  • orderPeriodicityType string

    Order periodicity type filter

    Values are NONE, DAILY, WEEKLY, BI_WEEKLY, EVERY_MONTH, EVERY_2_MONTH, EVERY_3_MONTH, EVERY_4_MONTH, EVERY_6_MONTH, or ANNUAL.

  • orderDayOfWeek string

    Order recurring invoicing day of week filter

    Values are MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or SUNDAY.

  • orderInvoicingTime string

    Order invoicing time filter

    Values are FIRST_DAY, LAST_DAY, FIRST_WORKING_DAY, or LAST_WORKING_DAY.

  • orderPeriodicityStartDate string

    Order recurring periodicity start date filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • 01/01/2026..31/12/2026
    • >=01/01/2026
    • <=01/01/2026
    • <>01/01/2026

    Use <>01/01/2026 to return only records where the selected date is not equal to the filter date.

  • orderIsDisbursementFeeEnabled boolean

    Whether disbursement fee is enabled for the order

  • orderIsExpensesEnabled boolean

    Whether expenses are enabled for the order

  • orderIsTimesheetsEnabled boolean

    Whether timesheets are enabled for the order

  • orderFixedAmount string

    Order fixed amount filter (for TIMESHEET_FIXED orders)Supports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • orderArticleId string

    Order article ID filter.

    Multi-value supported. Example: value1;value2

  • orderArticleAmount string

    Order article quantity filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • orderArticleStatus string

    Order article shipment status filter

    Values are SHIPPED, PARTIALLY_SHIPPED, NOT_SHIPPED, or SERVICE.

  • orderOfficeId string

    Order office ID filter.

    Multi-value supported. Example: value1;value2

Responses

  • 200 application/json

    OK

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

POST /api-v1/timesheet/reject
curl \
 --request POST 'https://wyzio.app/api-v1/timesheet/reject' \
 --header "Content-Type: application/json" \
 --data '{"date":"\u003e=01/01/2026","employeeContactId":12345678,"clientContactId":12345678,"description":"Development work","time":8,"isBillable":true,"status":"SUBMITTED","billableAmount":800.0,"costAmount":500.0,"taskName":"Frontend development","billableRate":100.0,"costRate":60.0,"departmentId":12345678,"orderId":12345678,"isInWorkflow":false,"orderContactId":12345678,"orderName":"Website Redesign","orderJoinedId":"ORD-2026-001","orderStatus":"CONFIRMED","parentOrderId":12345678,"orderDepartmentId":12345678,"orderHistoryStatus":"CONFIRMED","orderHistoryDate":"\u003e=01/01/2026","orderVatRateId":12345678,"orderRequestedPaymentTerms":30,"orderOurContactName":"John Doe","orderCurrencyId":12345678,"orderMinimumAmountToInvoice":100.0,"orderYourContactName":"Jane Smith","orderPeriodicityType":"EVERY_MONTH","orderDayOfWeek":"MONDAY","orderInvoicingTime":"FIRST_DAY","orderPeriodicityStartDate":"\u003e=01/01/2026","orderIsDisbursementFeeEnabled":false,"orderIsExpensesEnabled":false,"orderIsTimesheetsEnabled":false,"orderFixedAmount":5000.0,"orderArticleId":12345678,"orderArticleAmount":5.0,"orderArticleStatus":"SHIPPED","orderOfficeId":12345678}'
Request examples
# Headers

# Payload
{
  "date": ">=01/01/2026",
  "employeeContactId": 12345678,
  "clientContactId": 12345678,
  "description": "Development work",
  "time": 8,
  "isBillable": true,
  "status": "SUBMITTED",
  "billableAmount": 800.0,
  "costAmount": 500.0,
  "taskName": "Frontend development",
  "billableRate": 100.0,
  "costRate": 60.0,
  "departmentId": 12345678,
  "orderId": 12345678,
  "isInWorkflow": false,
  "orderContactId": 12345678,
  "orderName": "Website Redesign",
  "orderJoinedId": "ORD-2026-001",
  "orderStatus": "CONFIRMED",
  "parentOrderId": 12345678,
  "orderDepartmentId": 12345678,
  "orderHistoryStatus": "CONFIRMED",
  "orderHistoryDate": ">=01/01/2026",
  "orderVatRateId": 12345678,
  "orderRequestedPaymentTerms": 30,
  "orderOurContactName": "John Doe",
  "orderCurrencyId": 12345678,
  "orderMinimumAmountToInvoice": 100.0,
  "orderYourContactName": "Jane Smith",
  "orderPeriodicityType": "EVERY_MONTH",
  "orderDayOfWeek": "MONDAY",
  "orderInvoicingTime": "FIRST_DAY",
  "orderPeriodicityStartDate": ">=01/01/2026",
  "orderIsDisbursementFeeEnabled": false,
  "orderIsExpensesEnabled": false,
  "orderIsTimesheetsEnabled": false,
  "orderFixedAmount": 5000.0,
  "orderArticleId": 12345678,
  "orderArticleAmount": 5.0,
  "orderArticleStatus": "SHIPPED",
  "orderOfficeId": 12345678
}
Response examples (200)
[
  42
]