Versions Compared

Key

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

...

Code Block
languagejson
{
	"startDate": "2019-08-27",
	"isClubLevel": true,
	"person": 
		{
			"personId": 8756934,
			"firstName": "Helge",
			"lastName": "Carter",
			"birthDate": "1980-07-05",
			"postCode": "0010",
			"email": "helge.carter@nic.com",
			"mobilePhone": "85569745",
			"genderId": 2,
			"countryId": 1500152,
			"nationalityId": 1500152,
			"addressLine1": "Blålyngveien 89",
			"addressLine2": "",
			"city": "Oslo",
			"privatePhone": "78553987",
			"workPhone": "78553977",
			"isSecretAddress": true,
			"isSecretWorkPhone": true,
			"isSecretMobilePhone": false,
			"isSecretEmail": true,
			"countryCode": "+47",
			"isSecretPrivatePhone": true
		},
	"groups":[
		{
			 "groupid": 827527,
			 "startDate": "2019-08-27",
			 "endDate": "2019-09-26"
		}]
}

JSON response idrettslag

Code Block
languagejson
{
  "personId": 8756934,
  "membershipId": 0,
  "clubId": 19428,
  "clubName": "Idrettslaget IL",
  "startDate": "2019-08-27",
  "traceId": "7AC07206-471E-4015-9ED7-E6DB55ED7201",
  "sports”: [
      {
        "branchId": 819760,
        "sportId": 207,
        "branchName": "Grenens Navn",
        "activeMembershipId": 0
      },
      {
        "branchId": 827527,
        "sportId": 220,
        "branchName": "Grenens Navn",
        "activeMembershipId": 0
      }
 ],
  "responseMessage": "Membership request is accepted at Club Level. It is pending for two phase verification."
}

JSON Response bedriftsidrettslag og allidrett

 

Code Block
languagejson
{
 "personId": null,
 "updatedPersonId": null,
 "membershipId": null,
 "clubId": 16235,
 "clubName": "PetrOl B.I.L.",
 "startDate": "2020-01-01T00:00:00",
 "traceId": "d72a124d-6c8c-4afc-9c25-f840c8c4d4eb",
 "sports": [],
 "groups": [],
 "person": null,
 "responseMessage": "Membership request is accepted at Club Level. It is pending for two phase verification."
}

Response koder

Kode

Beskrivelse

...