Returns a single BreakType specified by id.
643 matches
100 actions
Square Connect
100 actions
- CreateBookingPOSTv1.0.0
- CreateBreakTypePOSTv1.0.0
- CreateCardPOSTv1.0.0
- CreateCustomerGroupPOSTv1.0.0
- CreateDeviceCodePOSTv1.0.0
- CreateDisputeEvidenceTextPOSTv1.0.0
- CreateGiftCardPOSTv1.0.0
- CreateGiftCardActivityPOSTv1.0.0
- CreateInvoicePOSTv1.0.0
- CreateLocationPOSTv1.0.0
- CreateLoyaltyAccountPOSTv1.0.0
- CreateLoyaltyRewardPOSTv1.0.0
- CreateMobileAuthorizationCodePOSTv1.0.0
- CreateOrderPOSTv1.0.0
- CreateShiftPOSTv1.0.0
- CreateTeamMemberPOSTv1.0.0
- CreateTerminalCheckoutPOSTv1.0.0
- CreateTerminalRefundPOSTv1.0.0
- GetBankAccountGETv1.0.0
- GetBankAccountByV1IdGETv1.0.0
- GetBreakTypeGETv1.0.0
- GetDeviceCodeGETv1.0.0
- GetEmployeeWageGETv1.0.0
- GetInvoiceGETv1.0.0
- GetPaymentGETv1.0.0
- GetPaymentRefundGETv1.0.0
- GetShiftGETv1.0.0
- GetTeamMemberWageGETv1.0.0
- GetTerminalCheckoutGETv1.0.0
- GetTerminalRefundGETv1.0.0
- ListBankAccountsGETv1.0.0
- ListBreakTypesGETv1.0.0
- ListCardsGETv1.0.0
- ListCashDrawerShiftEventsGETv1.0.0
- ListCatalogGETv1.0.0
- ListCustomerGroupsGETv1.0.0
- ListCustomersGETv1.0.0
- ListCustomerSegmentsGETv1.0.0
- ListDeviceCodesGETv1.0.0
- ListDisputeEvidenceGETv1.0.0
- ListDisputesGETv1.0.0
- ListEmployeeRolesGETv1.0.0
- ListEmployeesGETv1.0.0
- ListEmployeeWagesGETv1.0.0
- ListGiftCardsGETv1.0.0
- ListInvoicesGETv1.0.0
- ListLocationsGETv1.0.0
- ListLoyaltyProgramsGETv1.0.0
- ListMerchantsGETv1.0.0
- ListOrdersGETv1.0.0
- ListRefundsGETv1.0.0
- ListSitesGETv1.0.0
- ListSubscriptionEventsGETv1.0.0
- ListTeamMemberBookingProfilesGETv1.0.0
- ListTeamMemberWagesGETv1.0.0
- ListTransactionsGETv1.0.0
- ListWorkweekConfigsGETv1.0.0
- RetrieveBookingGETv1.0.0
- RetrieveBusinessBookingProfileGETv1.0.0
- RetrieveCardGETv1.0.0
- RetrieveCashDrawerShiftGETv1.0.0
- RetrieveCatalogObjectGETv1.0.0
- RetrieveCustomerGETv1.0.0
- RetrieveCustomerGroupGETv1.0.0
- RetrieveCustomerSegmentGETv1.0.0
- RetrieveDisputeGETv1.0.0
- RetrieveDisputeEvidenceGETv1.0.0
- RetrieveEmployeeGETv1.0.0
- RetrieveEmployeeGETv1.0.0
- RetrieveEmployeeRoleGETv1.0.0
- RetrieveGiftCardGETv1.0.0
- RetrieveGiftCardFromGANPOSTv1.0.0
- RetrieveGiftCardFromNoncePOSTv1.0.0
- RetrieveInventoryAdjustmentGETv1.0.0
- RetrieveInventoryChangesGETv1.0.0
- RetrieveInventoryCountGETv1.0.0
- RetrieveInventoryPhysicalCountGETv1.0.0
- RetrieveInventoryTransferGETv1.0.0
- RetrieveLocationGETv1.0.0
- RetrieveLoyaltyAccountGETv1.0.0
- RetrieveLoyaltyProgramGETv1.0.0
- RetrieveLoyaltyRewardGETv1.0.0
- RetrieveMerchantGETv1.0.0
- RetrieveOrderGETv1.0.0
- RetrieveOrderGETv1.0.0
- RetrievePaymentGETv1.0.0
- RetrieveSettlementGETv1.0.0
- RetrieveSnippetGETv1.0.0
- RetrieveSubscriptionGETv1.0.0
- RetrieveTeamMemberGETv1.0.0
- RetrieveTeamMemberBookingProfileGETv1.0.0
- RetrieveTransactionGETv1.0.0
- RetrieveWageSettingGETv1.0.0
- SearchAvailabilityPOSTv1.0.0
- SearchCustomersPOSTv1.0.0
- SearchInvoicesPOSTv1.0.0
- SearchLoyaltyAccountsPOSTv1.0.0
- SearchLoyaltyEventsPOSTv1.0.0
- SearchLoyaltyRewardsPOSTv1.0.0
- SearchOrdersPOSTv1.0.0
Other/Square Connect
GetBreakType
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
{
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
{
"type": "object",
"description": "The response to a request to get a `BreakType`. The response contains\nthe requested `BreakType` objects and might contain a set of `Error` objects if\nthe request resulted in errors.",
"properties": {
"break_type": {
"type": "object",
"description": "A defined break template that sets an expectation for possible `Break`\ninstances on a `Shift`.",
"required": [
"break_name",
"expected_duration",
"is_paid",
"location_id"
],
"properties": {
"break_name": {
"type": "string",
"description": "A human-readable name for this type of break. The name is displayed to\nemployees in Square products."
},
"created_at": {
"type": "string",
"description": "A read-only timestamp in RFC 3339 format."
},
"expected_duration": {
"type": "string",
"description": "Format: RFC-3339 P[n]Y[n]M[n]DT[n]H[n]M[n]S. The expected length of\nthis break. Precision less than minutes is truncated."
},
"id": {
"type": "string",
"description": "The UUID for this object."
},
"is_paid": {
"type": "boolean",
"description": "Whether this break counts towards time worked for compensation\npurposes."
},
"location_id": {
"type": "string",
"description": "The ID of the business location this type of break applies to."
},
"updated_at": {
"type": "string",
"description": "A read-only timestamp in RFC 3339 format."
},
"version": {
"type": "integer",
"description": "Used for resolving concurrency issues. The request fails if the version\nprovided does not match the server version at the time of the request. If a value is not\nprovided, Square's servers execute a \"blind\" write; potentially\noverwriting another writer's data."
}
}
},
"errors": {
"type": "array",
"description": "Any errors that occurred during the request.",
"items": {
"type": "object",
"description": "Represents an error encountered during a request to the Connect API.\n\nSee [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) for more information.",
"required": [
"category",
"code"
],
"properties": {
"category": {
"type": "string",
"description": "The high-level category for the error."
},
"code": {
"type": "string",
"description": "The specific code of the error."
},
"detail": {
"type": "string",
"description": "A human-readable description of the error for debugging purposes."
},
"field": {
"type": "string",
"description": "The name of the field provided in the original request (if any) that\nthe error pertains to."
}
}
}
}
}
}