openapi: 3.2.0 info: title: Purplebricks.Valuations.Api 1.0 - Core Post Code API description: '### The new home for accessing the valuations service library ### Purplebricks.Valuations.Api Git Repository' version: '1.0' servers: - url: https://api.purplebricks.co.uk/valuations-api security: - Bearer: [] tags: - name: Post Code paths: /v1/postcode/isintrialregion: get: tags: - Post Code parameters: - name: postCode in: query schema: type: string responses: '200': description: Success content: text/plain: schema: type: boolean application/json: schema: type: boolean text/json: schema: type: boolean '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails' application/json: schema: $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails' text/json: schema: $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails' summary: Get postcode isintrialregion x-summary-source: derived operationId: getV1PostcodeIsintrialregion x-operation-id-source: derived /v1/postcode/isintrialregionbyeventid: get: tags: - Post Code parameters: - name: eventId in: query schema: type: integer format: int32 responses: '200': description: Success content: text/plain: schema: type: boolean application/json: schema: type: boolean text/json: schema: type: boolean '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails' application/json: schema: $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails' text/json: schema: $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails' summary: Get postcode isintrialregionbyeventid x-summary-source: derived operationId: getV1PostcodeIsintrialregionbyeventid x-operation-id-source: derived components: schemas: Microsoft.AspNetCore.Mvc.ProblemDetails: type: object properties: type: type: - string - 'null' title: type: - string - 'null' status: type: - integer - 'null' format: int32 detail: type: - string - 'null' instance: type: - string - 'null' additionalProperties: {} securitySchemes: Bearer: type: apiKey description: Authorization header using Bearer scheme name: Authorization in: header