Skip to main content

Edit an Eligibility Subscription

PATCH 

/v1/eligibility-subscriptions/:id

Update an Eligibility Subscription's metadata.

Request​

Path Parameters

    id stringrequired

    Id of the Eligibility Subscription.

Body

required

    metadata

    object

    Metadata object that will be merged with current metadata object.

    property name* string

    Max key size is 40 characters. If key matches already existing key, it will override old value

Responses​

Successfully updates Eligibility Subscription's metadata

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...