AlayaMarket Offers External Events API 1.0.0

Async API for external Offer events using AWS SNS as a broker.

Generally, subscriptions are expected to be https endpoints. In such cases, the messages described in this document will be stringified json data within the Message of the payload.

For more information see https://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.prepare.html

Servers

  • https://api.{env}.alayamarket.{region}httpslive

    Sandbox server

    object
    env
    required
    string

    Server environment

    Default value:"prod"
      Allowed values:
    • "staging"
    • "sandbox"
    • "prod"
    region
    required
    string

    Server region

    Default value:"ca"
      Allowed values:
    • "ca"
    • "com"
    • "com.au"

Operations

  • SEND outbox-form-submissions

    Subscribe demand participants to outbox form submission events published by the service.

    Operation IDsub_outbox_form_submissions

    Available only on servers:

    Accepts the following message:

    Outbox form received eventmessage_outbox_form_submission

    Inform relevant demand participants about a form submission received

    Message IDmessage_outbox_form_submission
    object

    Examples

  • SEND outbox-messages

    Subscribe demand participants to outbox message events published by the service.

    Operation IDsub_outbox_messages

    Available only on servers:

    Accepts the following message:

    Outbox message received eventmessage_outbox_message

    Inform relevant demand participants about a message received

    Message IDmessage_outbox_message
    allOf

    Examples

  • SEND outbox-offers

    Subscribe demand participants to outbox offer events published by the service.

    Operation IDsub_outbox_offers

    Available only on servers:

    Accepts the following message:

    Outbox offer state change eventmessage_outbox_offer

    Inform relevant demand participants about a change to the offer state

    Message IDmessage_outbox_offer
    object

    Examples

  • SEND outbox-referrals

    Subscribe demand participants to outbox referral events published by the service.

    Operation IDsub_outbox_referrals

    Available only on servers:

    Accepts the following message:

    Outbox referral state change eventmessage_outbox_referral

    Inform relevant demand participants about a change to the referral state

    Message IDmessage_outbox_referral
    object

    Examples

  • SEND outbox-visits

    Subscribe demand participants to outbox visit events published by the service. This is only supported for offers of type 'service'.

    Operation IDsub_outbox_visits

    Available only on servers:

    Accepts the following message:

    Outbox visit state change eventmessage_outbox_visit

    Inform relevant demand participants about a change to the visit state

    Message IDmessage_outbox_visit
    object

    Examples

  • SEND outbox-visit-tasks

    Subscribe demand participants to outbox visit task events published by the service. This is only supported for offers of type 'visit'.

    Operation IDsub_outbox_visit_tasks

    Available only on servers:

    Accepts the following message:

    Outbox visit task state change eventmessage_outbox_visit_task

    Inform relevant demand participants about a change to one (or more) visit task state

    Message IDmessage_outbox_visit_task
    object

    Examples

  • SEND outbox-work-sessions

    Subscribe demand participants to outbox work session events published by the service.

    Operation IDsub_outbox_work_sessions

    Available only on servers:

    Accepts the following message:

    Outbox work session state change eventmessage_outbox_work_session

    Inform relevant demand participants about a change to the work session state

    Message IDmessage_outbox_work_session
    object

    Examples

  • SEND inbox-form-templates

    Subscribe supply participants to inbox form events published by the service.

    Operation IDsub_inbox_form_templates

    Available only on servers:

    Accepts the following message:

    Inbox form template received eventmessage_inbox_form_template

    Inform relevant supply participants about a new version of a form published

    Message IDmessage_inbox_form_template
    object

    Examples

  • SEND inbox-messages

    Subscribe supply participants to inbox message events published by the service.

    Operation IDsub_inbox_messages

    Available only on servers:

    Accepts the following message:

    Inbox message received eventmessage_inbox_message

    Inform relevant supply participants about a message received

    Message IDmessage_inbox_message
    allOf

    Examples

  • SEND inbox-offers

    Subscribe supply participants to inbox offer events published by the service.

    Operation IDsub_inbox_offers

    Available only on servers:

    Accepts the following message:

    Inbox offer state change eventmessage_inbox_offer_event

    Inform relevant supply participants about a change to the offer state

    Message IDmessage_inbox_offer_event
    object

    Examples

  • SEND inbox-referrals

    Subscribe supply participants to inbox referral events published by the service.

    Operation IDsub_inbox_referrals

    Available only on servers:

    Accepts the following message:

    Inbox referral state change eventmessage_inbox_referral

    Inform relevant supply participants about a change to the referral state

    Message IDmessage_inbox_referral
    object

    Examples

Messages

  • #1Outbox form received eventmessage_outbox_form_submission

    Inform relevant demand participants about a form submission received

    Message IDmessage_outbox_form_submission
    object
  • #2Outbox message received eventmessage_outbox_message

    Inform relevant demand participants about a message received

    Message IDmessage_outbox_message
    allOf
  • #3Outbox offer state change eventmessage_outbox_offer

    Inform relevant demand participants about a change to the offer state

    Message IDmessage_outbox_offer
    object
  • #4Outbox referral state change eventmessage_outbox_referral

    Inform relevant demand participants about a change to the referral state

    Message IDmessage_outbox_referral
    object
  • #5Outbox visit state change eventmessage_outbox_visit

    Inform relevant demand participants about a change to the visit state

    Message IDmessage_outbox_visit
    object
  • #6Outbox visit task state change eventmessage_outbox_visit_task

    Inform relevant demand participants about a change to one (or more) visit task state

    Message IDmessage_outbox_visit_task
    object
  • #7Outbox work session state change eventmessage_outbox_work_session

    Inform relevant demand participants about a change to the work session state

    Message IDmessage_outbox_work_session
    object
  • #8Inbox form template received eventmessage_inbox_form_template

    Inform relevant supply participants about a new version of a form published

    Message IDmessage_inbox_form_template
    object
  • #9Inbox message received eventmessage_inbox_message

    Inform relevant supply participants about a message received

    Message IDmessage_inbox_message
    allOf
  • #10Inbox offer state change eventmessage_inbox_offer_event

    Inform relevant supply participants about a change to the offer state

    Message IDmessage_inbox_offer_event
    object
  • #11Inbox referral state change eventmessage_inbox_referral

    Inform relevant supply participants about a change to the referral state

    Message IDmessage_inbox_referral
    object

Schemas

  • object
  • allOf
  • object
  • allOf
  • object
  • object
  • object
  • object
  • object
  • object
  • object
  • object