GET exportservice/organisationsinsport/{reportGuid}
Returns a previously generated list of organisations. Use reportGuid returned by POST exportservice/organisationsinsport
Request Information
Request URL
https://api.idrottonline.se/exportservice/organisationsinsport/{reportGuid}URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
reportGuid |
The unique identifier of the generated list of organisations |
globally unique identifier |
Required |
x-svenskidrott-api-version |
The requested API version |
string |
Required Default value is 2.0 |
api-version |
The requested API version |
string |
Default value is 2.0 |
Body Parameters
None.
Response Information
Resource Description
A list of organisations
Collection of ExportService.DataContracts.OrganisationName | Description | Type | Additional information |
---|---|---|---|
OrganisationId |
The id of the organisation |
integer |
None. |
OrganisationTypeId |
What type of organisation |
integer |
None. |
Code |
RF number. Is created by RF when organisation is approved as member of RF. This code can also be called OrganisationRF_NR, RF_NR, RF-nummer, RF-number, föreningsnummer in other parts of IdrottOnline system. |
string |
None. |
OrganisationNumber |
Unique per organisation, from Skatteverket. |
string |
None. |
FullName |
Example: Idrottens Idrottsförening |
string |
None. |
DescribingName |
Example: Idrottens IF |
string |
None. |
ShortName |
Example: IIF |
string |
None. |
MunicipalId |
Use Regions operation to fetch possible values |
integer |
None. |
MunicipalCode |
Unique per municipal, from SCB (Statistiska centralbyrån). |
string |
None. |
Addresses |
List of addresses belonging to the organisation |
Collection of ExportService.DataContracts.OrganisationAddress |
None. |
Contacts |
List of contacts belonging to the organisation |
Collection of ExportService.DataContracts.OrganisationContact |
None. |
OpeningHours |
Opening hours information |
ExportService.DataContracts.OpeningHours |
None. |
Accounts |
List of accounts belonging to the organisation |
Collection of ExportService.DataContracts.Account |
None. |
Persons |
Persons with roles chairman, secretary and treasurer. |
Collection of ExportService.DataContracts.OrganisationPerson |
None. |
ParentBelongings |
The parent organisations of the target organisation, with regard to belonging relationship. |
Collection of ExportService.DataContracts.ParentBelonging |
None. |
Sports |
The sports related to this organisation. |
Collection of ExportService.DataContracts.OrganisationSport |
None. |
IsPassive |
If the organisation is passive or not |
boolean |
None. |
LatestPassivateDate |
Latest date when the organisation was passivated |
date |
None. |
LatestActivateDate |
Latest date when the organisation was activated |
date |
None. |
RFMemberDate |
The date when the organisation bacame a member of RF |
date |
None. |
EstablishedDate |
The date when the organisation was established |
date |
None. |
ChangeTracking |
The change tracking of the organisation itself. |
ExportService.DataContracts.ChangeTracking |
None. |
MunicipalName |
The name of the municipal. |
string |
None. |
Consensus |
The consensus on exporting the data related to this organisation. |
Collection of ExportService.DataContracts.Consensus |
None. |
Response Formats
application/json, text/json
[ { "OrganisationId": 45, "OrganisationTypeId": 5, "Code": "4567", "OrganisationNumber": "123...", "FullName": "Idrottens Idrottsförening", "DescribingName": "Idrottens IF", "ShortName": "IIF", "MunicipalId": 123, "MunicipalCode": "", "Addresses": [ { "PublishRuleTypeId": 2, "AddressId": 78945, "AddressTypeId": 1, "Line1": "Stora gatan 4", "Line2": "", "PostalNumber": 11111, "PostalCity": "Stockholm", "NonSwedishPostalNumber": null, "CountryId": 182, "CountryName": "Sverige", "IsDefault": true, "IsDeleted": false, "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } } ], "Contacts": [ { "PublishRuleTypeId": 2, "ContactId": 789, "ContactTypeId": 1, "ContactInfo": "email@email.se", "IsDeleted": false, "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } } ], "OpeningHours": { "OfficeHours": "9-14", "OpeningDays": "måndag-onsdag", "SummerTime": "stängt", "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } }, "Accounts": [ { "AccountId": 123, "AccountTypeId": 1, "AccountNumber": "123456789", "IsDeleted": false, "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } } ], "Persons": [ { "Roles": [ { "RoleId": 6789, "RoleType": { "RoleTypeId": 3, "RoleTypeName": "Name of roleType", "RoleTypeCategoryId": 2, "RoleTypeOwnerOrganisationId": 0 }, "IsPassive": false, "IsDeleted": false, "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } } ], "PersonId": 123, "FirstName": "Karl", "LastName": "Karlsson", "AlternativeFirstName": "Kalle", "BirthDate": "2001-01-01", "ProtectedPersonalData": false, "GenderId": 1, "NationalityId": 182, "NationalityName": "Sverige", "Addresses": [ { "PublishRule": { "PublishRuleTypeId": 2, "VisibleForOrganisationIds": null }, "AddressId": 78945, "AddressTypeId": 1, "Line1": "Stora gatan 4", "Line2": "", "PostalNumber": 11111, "PostalCity": "Stockholm", "NonSwedishPostalNumber": null, "CountryId": 182, "CountryName": "Sverige", "IsDefault": true, "IsDeleted": false, "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } } ], "Contacts": [ { "PublishRule": { "PublishRuleTypeId": 2, "VisibleForOrganisationIds": null }, "ContactId": 789, "ContactTypeId": 1, "ContactInfo": "email@email.se", "IsDeleted": false, "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } } ], "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } } ], "ParentBelongings": [ { "ParentOrganisationId": 567, "ParentOrganisationTypeId": 2, "Code": "123", "IsPassive": false, "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 }, "FullName": null } ], "Sports": [ { "SportId": 10, "Dates": { "SFSportApproveDate": "2024-05-29T03:16:28", "SFSportTerminateDate": "2024-03-12T03:16:28", "RFSportApproveDate": "2024-05-31T03:16:28", "RFSportTerminateDate": "2024-09-08T03:16:28", "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } }, "UseOwnAddresses": false, "Addresses": [ { "PublishRuleTypeId": 2, "AddressId": 78945, "AddressTypeId": 1, "Line1": "Stora gatan 4", "Line2": "", "PostalNumber": 11111, "PostalCity": "Stockholm", "NonSwedishPostalNumber": null, "CountryId": 182, "CountryName": "Sverige", "IsDefault": true, "IsDeleted": false, "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } } ], "UseOwnPhones": false, "UseOwnContacts": false, "Contacts": [ { "PublishRuleTypeId": 2, "ContactId": 789, "ContactTypeId": 1, "ContactInfo": "email@email.se", "IsDeleted": false, "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } } ], "UseOwnOpeningHours": false, "OpeningHours": { "OfficeHours": "9-14", "OpeningDays": "måndag-onsdag", "SummerTime": "stängt", "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } }, "UseOwnAccounts": false, "Accounts": [ { "AccountId": 123, "AccountTypeId": 1, "AccountNumber": "123456789", "IsDeleted": false, "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 } } ], "Name": null, "ParentSportId": null, "SportOwnerOrganisationId": 0 } ], "IsPassive": false, "LatestPassivateDate": "2024-07-20T00:00:00", "LatestActivateDate": "2024-09-08T00:00:00", "RFMemberDate": "2023-04-27T00:00:00", "EstablishedDate": "2020-01-13T00:00:00", "ChangeTracking": { "FADateTime": "2012-10-10T10:10:00", "FAAppId": 0, "LCDateTime": "2015-10-11T20:20:00", "LCAppId": 0 }, "MunicipalName": null, "Consensus": null } ]