...
Navn | Påkrevd | Kommentar | Eksempel |
---|---|---|---|
Groupid | Ja | (OrgID på gruppen) | |
StartDate | Ja | yyyy-mm-dd | |
EndDate | Nei | Må være større enn startdate. |
Eksempler
JSON Request idrettslag
Code Block | ||
---|---|---|
| ||
{
"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 898209 Fauske",
"addressLine2": "Blålyngveien 898609 Oslo",
"city": "Oslo",
"privatePhone": "78553987",
"workPhone": "78553977",
"isSecretAddress": true,
"isSecretWorkPhone": true,
"isSecretMobilePhone": false,
"isSecretEmail": true,
"countryCode": "+47",
"isSecretPrivatePhone": true
},
"sports":[
{
"branchId": 827527,
"sportId": 220,
"startDate": "2019-08-27",
"endDate": "2019-09-26"
},
{
"branchId": 819760,
"sportId": 207,
"startDate": "2019-08-27",
"endDate": "2019-09-26"
}]
} |
JSON Request bedriftsidrettslag og allidrett
Code Block | ||
---|---|---|
| ||
{
"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 898209 Fauske",
"addressLine2": "Blålyngveien 898609 Oslo",
"city": "Oslo",
"privatePhone": "78553987",
"workPhone": "78553977",
"isSecretAddress": true,
"isSecretWorkPhone": true,
"isSecretMobilePhone": false,
"isSecretEmail": true,
"countryCode": "+47",
"isSecretPrivatePhone": true
},
"sports":[
{
"branchId": 827527,
"sportId": 220,
"startDate": "2019-08-27",
"endDate": "2019-09-26"
},
{
"branchId": 819760,
"sportId": 207,
"startDate": "2019-08-27",
"endDate": "2019-09-26"
}]
} |
JSON Response
Code Block |
---|
Response koder
...