Skip to main content

Create an Eligibility Subscription

POST 

/v1/eligibility-subscriptions

Create an Eligibility Subscription

Request​

Header Parameters

    Idempotency-Key string

    Idempotency key

Body

required

    oneOf

    organisationId stringrequired
    suggestedActivitySubTags string[]nullable

Responses​

Successfully created a Eligibility Subscription

Schema

    data

    object

    id string
    Example: eligibilitysubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    organisationId stringnullable
    Example: organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    organisationName stringnullable
    partnerId string
    configurationId string
    validationRequestId stringnullable
    Example: validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    suggestedActivitySubTags

    object[]

    nullable

  • Array [

  • id string
    Example: activitysubtag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    name string

    SubTag name

    Example: Sport school

    tag

    object

    id string
    Example: activitytag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    name string

    Tag name

    Example: Education
    description stringnullable

    Tag description

    createdAt date-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAt date-timenullable
    Example: 2020-10-13T17:46:54.000Z
    description stringnullable

    SubTag description

    createdAt date-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAt date-timenullable
    Example: 2020-10-13T17:46:54.000Z
  • ]

  • status string

    Possible values: [live, pending_validation_request, validation_request_failed, pending, cancelled, cannot_define_eligibility]

    Example: live

    results

    object

    eligibilityStatus stringnullable

    Possible values: [pass, fail]

    Example: fail

    confirmedActivitySubTags

    object[]

    nullable

  • Array [

  • id string
    Example: activitysubtag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    name string

    SubTag name

    Example: Sport school

    tag

    object

    id string
    Example: activitytag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    name string

    Tag name

    Example: Education
    description stringnullable

    Tag description

    createdAt date-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAt date-timenullable
    Example: 2020-10-13T17:46:54.000Z
    description stringnullable

    SubTag description

    createdAt date-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAt date-timenullable
    Example: 2020-10-13T17:46:54.000Z
  • ]

  • rejectedActivitySubTags

    object[]

    nullable

    Confirmed organisation's activity subtags that are not allowed in partner's configuration

  • Array [

  • id string
    Example: activitysubtag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    name string

    SubTag name

    Example: Sport school

    tag

    object

    id string
    Example: activitytag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    name string

    Tag name

    Example: Education
    description stringnullable

    Tag description

    createdAt date-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAt date-timenullable
    Example: 2020-10-13T17:46:54.000Z
    description stringnullable

    SubTag description

    createdAt date-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAt date-timenullable
    Example: 2020-10-13T17:46:54.000Z
  • ]

  • createdAt date-time
    Example: 2020-10-13T17:46:54.000Z
    updatedAt date-timenullable
    Example: 2020-10-13T17:46:54.000Z
    object string
    Example: eligibility_subscription
Loading...