You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openapi: 3.1.0info:
description: | sdftitle: example tisdfstleversion: 1.0ssdfcontact:
name: API Supportemail: email@example.comurl: https://github.com/Redocly/redoclicense:
name: Apache 2.0url: http://www.apache.org/licenses/LICENSE-2.0.htmlservers:
- url: https://example.server.iodescription: description server text.
- url: https://example.server.iodescription: description server text.paths:
/localcollect/v2/locations/{postcode}:
get:
description: Returns a list of Post Offices and Enquiry Offices along with information on opening hours and facilities available with postcode as the inputsummary: GetDeliveryLocationsoperationId: GetDeliveryLocationsparameters:
- name: sdfadin: pathschema:
type: number# parameters:# - name: postcode# in: path# description: Returns a list of Post Offices and Enquiry Offices along with information on opening hours and facilities available with postcode as the input# required: true# schema:# type: number# - $ref: "#/components/parameters/Accept"# - $ref: "#/components/parameters/Host"# - $ref: "#/components/parameters/ClientId" responses:
200:
description: Succes!!!!content:
application/json:
schema:
type: objectproperties:
locations:
type: arrayitems:
$ref: "#/components/schemas/location"components:
parameters:
propertyName:
# components:# schemas: # facilities: # type: object# properties: # customerParkingIndicator:# description: Whether has parking# type: boolean# disabilityIndicator: # description: Whether has disabled access# type: boolean# geoLocation: # type: object# required: # - latitude# - longitude# properties: # latitude:# type: number# format: float# longitude:# type: number# format: float# openingHour: # required: # - dayOfWeek# - openingTime# - closingTime# type: object# properties: # dayOfWeek:# type: string# enum: # - Monday# - Tuesday# - Wednsday# - Thursday# - Friday# - Saturday# - Sunday# openingTime:# type: string# format: time# closingTime: # type: string# format: time# location: # type: object# required: # - organisationName# - locationName# - addressLine1# - addressLine2# - postcode# - openingHours# - geoLocation# - distance# - type# properties: # organisationName:# description: This is either "Post Office Limited" or Royal Mail# type: string# locationName:# description: The branch name. e.g. Mount Pleasant Enquiry Office# type: string# addressLine1: # description: The first line of address# type: string# addressLine2: # type: string# description: The second line of address# addressLine3: # type: string# city:# type: string# description: City in which the branch is located# county:# type: string# description: County in which the branch is located# postcode: # type: string# description: The post code of the post office or enquiry office# openingHours: # type: array# description: |# The object containing the opening # and closing hours for the branch,# including the mid-day closing hours.# items: # $ref: "#/components/schemas/openingHour"# geoLocation:# description: | # The object containing the latitude# and longitude for the enquiry or# post office branch.# $ref: "#/components/schemas/geoLocation"# distance:# description: The distance of the branch from the search location# type: number# format: float# facilities:# $ref: "#/components/schemas/facilities"# description: |# The object containing the# information regarding the facilities# provided by the branch e.g. if# parking is available and if the# branch provides disabled access.# type:# type: string# description: | # An enumeration consisting of Post Office# Enquiry Office# parameters:# Host:# required: true# description: This is the domain name.# in: header# name: Host# schema:# type: string# Accept:# required: true# description: | # This attribute accepts requests in# application/json format.# in: header# name: Accept# schema:# type: string# ClientId:# required: true# description: | # Similar to a client username. Required# to access the API.# in: header# name: X-IBM-Client-Id # schema:# type: string
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: