openapi: 3.2.0 info: title: Beazley Microsites API version: '1.0' description: 'Operations tagged Microsites across 2 of this provider''s published API definitions: beazley-broker-and-insured-marketing-data-v2-sandbox.yml, beazley-broker-and-insured-marketing-data-v2.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://api.beazley.com/sandbox/marketing/v2 - url: https://api.beazley.com/marketing/v2 security: - apiKeyHeader: [] - apiKeyQuery: [] tags: - name: Microsites paths: /microsites/{id}/contacts: get: summary: contacts by microsite (GET) operationId: 561e208f8097920ed881e63a parameters: - name: id in: path required: true schema: type: string - name: ProviderID in: query required: true schema: type: string - name: UpdatedSince in: query schema: type: string - name: PageNumber in: query schema: type: string - name: RecordsPerPage in: query schema: type: string responses: '200': description: "
\nContacts\n{\n \"Id\" (string, required): Unique id of the contact,\n \"EmailAddress\" (string, required): Email address of the contact,\n \"FirstName\" (string, required): Given name of the contact,\n \"JobTitle\" (string, optional): Job title of the contact,\n \"LastName\" (string, required): Surname of the contact,\n \"MobilePhoneNumber\" (string, optional): Mobile telephone number of the contact,\n \"TelephoneNumber\" (string, optional): Groundline telephone number of the contact,\n \"CreatedOn\" (string, required): Date time that the contact record was created,\n \"UpdatedOn\" (string, required): Date time that the contact record was last updated,\n \"OrganisationId\" (string, required): id of the organisation linked to the contact,\n \"IsActive\" (boolean, optional): Active indicator,\n \"Industry\" (string, optional): Industry description,\n \"FocusArea\" (string, optional): Focus area,\n \"MicroSiteSubscriptions\": \n [\n {\n \"SubscriberId\" (string, optional): Unique id of the microsite subscription,\n \"MicroSite\": \n {\n \"Id\" (string, required): Unique id of the microsite,\n \"Name\" (string, required): Name of the microsite \n },\n \"StartDate\" (string, optional): Date time that the subscription starts,\n \"EndDate\" (string, optional): Date time that the subscription ends,\n \"PolicyType\" (string, optional): The policy renewal status: 0 for new, 1 for renewal,\n }\n ]\n}\n"
content:
application/json:
example:
PageNumber: 1
Contacts:
- Id: 50f80afd-7fee-e411-80ff-0050568e7c76
EmailAddress: rita.foster79@example.com
FirstName: Rita
JobTitle: Health Inspector
LastName: Foster
MobilePhoneNumber: (859)-931-4822
TelephoneNumber: (484)-496-6034
CreatedOn: '2015-04-29T14:57:08.0000000+00:00'
UpdatedOn: '2015-04-29T14:58:47.0000000+00:00'
OrganisationId: 838a6fce-a2ed-e411-80ff-0050568e7c76
IsActive: true
Industry: Technology
FocusArea: Risk Management
MicroSiteSubscriptions:
- SubscriberId: 50f80afd-7fee-e411-80ff-0050568e7c76
MicroSite:
Id: 861d97ca-fdee-e411-80ff-0050568e7c76
Name: Breach Solutions
StartDate: '2015-03-31T23:00:00.0000000+00:00'
EndDate: '2016-03-31T23:00:00.0000000+00:00'
PolicyType: 0
tags:
- Microsites
servers:
- url: https://api.beazley.com/sandbox/marketing/v2
/microsites/:
get:
summary: microsites (GET)
operationId: 561e208f8097920ed881e63c
parameters:
- name: ProviderID
in: query
required: true
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
example:
- Id: e3af7404-9d73-44d2-b5c1-2b4785ad8130
Name: NoDataBreach.com
tags:
- Microsites
servers:
- url: https://api.beazley.com/sandbox/marketing/v2
/microsites/{id}/organisations:
get:
summary: organisations by microsite (GET)
operationId: 561e208f8097920ed881e640
parameters:
- name: id
in: path
description: Microsite ID
required: true
schema:
type: string
- name: ProviderID
in: query
description: Your unique provider ID
required: true
schema:
type: string
- name: UpdatedSince
in: query
description: Returns records updated since this date
schema:
type: string
- name: PageNumber
in: query
description: Returns the results from page N
schema:
enum:
- '1'
type: string
- name: RecordsPerPage
in: query
description: Sets the number of results per page. Maximum of 400
schema:
enum:
- '400'
type: string
- name: AccessCode
in: query
description: Returns records that match a specific access code
schema:
type: string
responses:
'200':
description: "\nOrganisations\n{\n \"Name\" (string, required): Name of the organisation,\n \"NAICSCode\" (string, required): NAICS classification code of the organisation,\n \"Address\" (string, required): Primary address of the organisation,\n {\n \"CityTown\": \"Cambridge\",\n \"Country\": \"United States\",\n \"FloorOrSuite\": \"2\",\n \"Line1\": \"12345 Main Street\",\n \"Line2\": \"Suite 125\",\n \"Line3\": null,\n \"StateCountyProvince\": \"MA\",\n \"PostZipCode\": \"02139\"\n },\n \"IsActive\" (string, optional): Organisation active indicator,\n}\n"
content:
application/json:
example:
- Organisation:
Id: 4781dc2e-d980-4a32-8158-937a06423005
MarketSegment: 1
Name: Rook Industries
NAICSCode: '541618'
AccessCode: touqng
ThirdPartyOrgRef: ABC123XYZ
Domain: www.rook.com
IsActive: true
Programs:
- Name: BBR Select
Address:
CityTown: Cambridge
Country: United States
FloorOrSuite: '2'
Line1: 77 Massachusetts Avenue
Line2: Building A
Line3: ''
StateCountyProvince: MA
PostZipCode: 02139
tags:
- Microsites
servers:
- url: https://api.beazley.com/sandbox/marketing/v2
components:
securitySchemes:
apiKeyHeader:
type: apiKey
name: Ocp-Apim-Subscription-Key
in: header
apiKeyQuery:
type: apiKey
name: subscription-key
in: query
x-refined-from:
- beazley-broker-and-insured-marketing-data-v2-sandbox.yml
- beazley-broker-and-insured-marketing-data-v2.yml