openapi: 3.2.0 info: title: Float Public Subsidiaries API version: 1.0.0 description: Float's Public API servers: - url: https://api.floatfinancial.com description: Float's Production API tags: - name: Subsidiaries paths: /v1/subsidiaries: get: operationId: getSubsidiaries summary: Retrieve a list of all subsidiaries parameters: - in: query name: created_at__gte schema: type: string format: date-time default: '1970-01-01T00:00:00Z' description: Filter for records created at or after this timestamp. Default is the epoch start time in UTC. - in: query name: created_at__lte schema: type: - string - 'null' format: date-time description: Filter for records created at or before this timestamp. Default is the current UTC time. - in: query name: order_by schema: enum: - created_at - -created_at type: string default: -created_at minLength: 1 description: 'The ordering of the results. Use ''created_at'' for ascending order or ''-created_at'' for descending order. * `created_at` - created_at * `-created_at` - -created_at' - in: query name: page schema: type: integer minimum: 1 default: 1 description: The page number to retrieve, starting from 1. - in: query name: page_size schema: type: integer maximum: 1000 minimum: 1 default: 1000 description: The number of items per page, maximum is 1000. tags: - Subsidiaries security: - bearerToken: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/CountablePagedResponse_SubsidiarySchema' description: A paginated list of all subsidiaries '403': description: Subsidiaries are only supported for Netsuite connections. /v1/subsidiaries/{subsidiary_id}: get: operationId: getSubsidiaryById summary: Retrieve a single subsidiary by ID parameters: - in: path name: subsidiary_id schema: type: string format: uuid required: true tags: - Subsidiaries security: - bearerToken: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/SubsidiarySchema' description: A single subsidiary '403': description: Subsidiaries are only supported for Netsuite connections. '404': description: Subsidiary not found components: schemas: OrderByTypes: enum: - created_at - -created_at title: OrderByTypes type: string NameExternalIdReferenceSchema_Self_: properties: id: description: Unique identifier for the referenced entity. format: uuid title: Id type: string name: description: Name of the referenced entity. title: Name type: string external_id: description: External identifier for the referenced entity. nullable: true title: External Id type: string required: - id - name - external_id title: NameExternalIdReferenceSchema[Self] type: object Currencies: enum: - AFN - ALL - DZD - USD - EUR - AOA - XCD - ARS - AMD - AWG - AUD - AZN - BSD - BHD - BDT - BBD - BYN - BZD - XOF - BMD - BTN - INR - BOB - BOV - BAM - BWP - NOK - BRL - BND - BGN - BIF - CVE - KHR - XAF - CAD - KYD - CLF - CLP - CNY - COP - COU - KMF - CDF - NZD - CRC - HRK - CUC - CUP - ANG - CZK - DKK - DJF - DOP - EGP - SVC - ERN - ETB - FKP - FJD - XPF - GMD - GEL - GHS - GIP - GTQ - GBP - GNF - GYD - HTG - HNL - HKD - HUF - ISK - IDR - XDR - IRR - IQD - ILS - JMD - JPY - JOD - KZT - KES - KPW - KRW - KWD - KGS - LAK - LBP - LSL - ZAR - LRD - LYD - CHF - MOP - MGA - MWK - MYR - MVR - MRU - MUR - XUA - MXN - MXV - MDL - MNT - MAD - MZN - MMK - NAD - NPR - NIO - NGN - OMR - PKR - PAB - PGK - PYG - PEN - PHP - PLN - QAR - MKD - RON - RUB - RWF - SHP - WST - STN - SAR - RSD - SCR - SLL - SGD - XSU - SBD - SOS - SSP - LKR - SDG - SRD - SZL - SEK - CHE - CHW - SYP - TWD - TJS - TZS - THB - TOP - TTD - TND - TRY - TMT - UGX - UAH - AED - USN - UYI - UYU - UZS - VUV - VEF - VED - VND - YER - ZMW - ZWL - UNK title: Currencies type: string SubsidiarySchema: properties: id: description: Unique identifier for the subsidiary. format: uuid title: Id type: string name: description: Name of the subsidiary. title: Name type: string external_id: description: External identifier for the subsidiary in the accounting system. title: External Id type: string currency: $ref: '#/components/schemas/Currencies' description: Currency of the subsidiary. nullable: true parent: $ref: '#/components/schemas/NameExternalIdReferenceSchema_Self_' default: null description: Parent subsidiary of the subsidiary. nullable: true required: - id - name - external_id - currency title: SubsidiarySchema type: object CountablePagedResponse_SubsidiarySchema: properties: items: description: The list of items on the current page. items: $ref: '#/components/schemas/SubsidiarySchema' title: Items type: array page: description: The current page number. title: Page type: integer page_size: description: The number of items per page. title: Page Size type: integer created_at__lte: description: The most recent date for which results are included. format: date-time title: Created At Lte type: string created_at__gte: description: The least recent date for which results are included. format: date-time title: Created At Gte type: string ordered_by: $ref: '#/components/schemas/OrderByTypes' description: The ordering used to sort results. pages: description: The total number of pages available. title: Pages type: integer count: description: The total number of items available. title: Count type: integer required: - items - page - page_size - created_at__lte - created_at__gte - ordered_by - pages - count title: CountablePagedResponse_SubsidiarySchema type: object securitySchemes: bearerToken: type: http scheme: bearer