Ask a Question

Why is time punch rejected with "You must select a department when saving."?

The docs for time punches do not say anything about the department being required in order to create a new time punch. However, the response I get from the post to create a time punch is as follows: ``` ( "title": "Bad Request", "type": "https://httpstatus.es/400", "status": 400, "detail": "You must select a department when saving." } ``` For the v1 API, we had implemented code to discover and supply a department, but after confirming with support that the department would no longer be required, we removed all that. So, if it is not required, why am I getting this response? If it is required, why is it not documented as such and why has support told me that it's not? If the department is required, it would seem appropriate for there to be more discussion of how to discover the correct department, since we don't need department information for any other purpose.

Receipt Date relative to Location Timezone

We have a location with a Time Zone of America/Chicago. We are sending Receipts in via API with the Receipt Date in UTC. However, the data in reports/actuals seems to be moving some sales to days other than what would be expected based on Receipt Dates. We are also seeing different totals by day in the receipts_summary api call vs the daily_sales_and_labor api call.

Leave integration from dynamics to 7shifts

Hi, Do we have any endpoint which can be consumed to push the approved leaves to 7shifts and manager can view them while creating a roaster for the next week. Regards

Mapping ID in V2

What is the equivalent "mapping_id" field from v1 in v2.2023.0501 in the list users api call?

Department Based Budgetting

Hello, We noticed that "List Sales Category Mappings" is now available in the API which allows us to map revenue to departments in 7shifts. However, it doesn't seem like the front end option is available without a native integration. (<https://kb.7shifts.com/hc/en-us/articles/4417504806163-Department-Based-Budgeting>) Are you able to flip this on for our account without using one of those systems? (we upload receipts to API on our own)

500 error: "Company admin not found."

Making a request to `https://api.7shifts.com/v2/companies` I'm getting a 500 error: ```javascript javascript {"error":"unknown_error","error_description":"Company admin not found.","title":"Company admin not found.","type":"https://httpstatus.es/500","status":500,"detail":""} ``` What does this error mean and how should I handle it? I can provide client ID and company GUID privately if needed.

Enforce minimum plan

Our integration uses features that require "The Works" plan, or possibly a partial featureset with the "Entree" plan I want to make sure that customers have the appropriate plan when enabling the integration. Is this our responsibility to enforce this? How do I enforce it? I assume I check `plan_id` in the /v2/companies endpoint. What are the possible values for this field?

Where does company ID come from?

I'm working on migrating to v2 endpoints. Through the OAuth company grant flow I'm obtaining a company GUID, but all the v2 endpoints also require a company ID—Which seems redundant. The documentation doesn't ever specify where I'm supposed to get this from. Obviously I can call /v2/companies, but will there only ever be a single item in that list for a given GUID or do I have to handle the possibility of multiple company IDs for a single GUID?

Employee Documents and Certifications

Hello, We're looking to gain access to employee documents sections for both uploading and downloading. We have several use cases where an employee can complete a certificate outside of 7Shifts and we would be like to upload to their employee profile. On the verse side, if an on-boarding is completed in 7shifts, we need to be able to download and store with our payroll company. I don't see this endpoint available? Something that you would be willing to add? Thank you, Eric Osborn HeadPinz Entertainment

Get 7tasks vis API

Is there an endpoint that allows queries to the tasks in 7tasks? We're working on a custom integration where another tool should be aware of when tasks are scheduled in 7tasks.