create one or multiple shifts

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

shiftarray

workerUuid

uuid | null

companyUuid

uuid

required

locationUuid

uuid

required

startTime

date-time

endTime

date-time

jobUuid

uuid

required

breaks

array of objects

breaks ADD object

state

string

enum

Set by the server on create (always draft). Use publish endpoints to change lifecycle state.

draftdraftpublisheddeleted

Allowed:

draft``published``deleted

seenAt

date-time | null

claimable

boolean

truefalse

nextVersion

object | null

Pending edits for a published shift. Not accepted on create; set via updateWithNextVersion.

nextVersionobject | null

shiftTagUuid

uuid

shiftTagNote

string | null

excludeFromDemand

boolean

truefalse

`201 One or many shift documents created. Wrapped in a JsonAPI root response.

`500 default error response

Updatedabout 2 months ago


ShellNodeRubyPHPPython


xxxxxxxxxx

curl --request POST \

--url https://services.fountain.com/api/serviceattendance/shifts \

--header 'accept: application/json' \

--header 'content-type: application/json'

application/json

201500

Updatedabout 2 months ago