Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Name

Required

Description

Example

1

ClubIdOgId

Yes

Club Id for which API is being requested.

Pass Corporate Sport club’s ID here to get payment details for the membership of corporate sports club.

 

2

Authorization

Yes

This will be the token defining access to on-boarded club.

 

3

Ocp-Apim-Subscription-Key

Yes

API management’s subscription key. There will be a separate key for each Integrator.

 

4

OrgTypeId

Yes

5 or 15

Request Parameters

 

Name

Required

Description

Example

1

PersonId

Yes

Person Id for whom the request is made

 

2

FromDate

Yes

From date range

 

Possible Value

  1. From date should not be of year less than Today’s date year. For example if today’s date is 19-Sep-2019, then From date must be greater than 1-Jan-2018

 

3

ToDate

Yes

End date range

 

Possible Value

  1. Must be greater than ToDate.

 

Response Codes

 

Code

Type

Text

Description

1

200

Success

 

 

2

1022

Error

PersonId is required. 

3

1023

Error

From Date is required.

 

4

1024

Error

To Date is required.

 

5

1025

Error

From date should not be of year less than Today’s date year 

6

1026

Error

To date should not be greater than From date. 

Response Example

Code Block
{
    "totalRecords": 1,
    "paymentDetailspageSize": 100,
    "currentPage": 1,
    "data": [
        {
            "personId": 9298186,
            "paidToOrgId": 580411,
            "paymentTypeId": 0,
            "paidDate": "20202022-12-0203-25T00:00:00",
            "periodFrom": "20202022-07-01"01-01T00:00:00",
        },    "periodTo": "2022-12-31T00:00:00",
            {"paymentCategory": "Medlemskap",
            "paymentTypeIdfee": 0150.000,
            "paidDatecomment": "2020-12-02Test KFK paid for club membership 2021 og 2022?",
            "periodFromexternalReference": "2020-07-01POSTMAN KFK"
        }
    ],
    "updatedPersonId": 9283002
}