GET exportservice/groupsinsport/{reportGuid}

Returns a previously generated list of groups. Use reportGuid returned by POST exportservice/groupsinsport

Request Information

Request URL

https://api.idrottonline.se/exportservice/groupsinsport/{reportGuid}

URI Parameters

NameDescriptionTypeAdditional information
reportGuid

The unique identifier of the generated list of groups

globally unique identifier

Required

x-svenskidrott-api-version

The requested API version

string

Default value is 1.0

api-version

The requested API version

string

Default value is 1.0

Body Parameters

None.

Response Information

Resource Description

A list of groups

Collection of ExportService.DataContracts.Groups.Group
NameDescriptionTypeAdditional information
GroupId

The identifier of the group.

integer

None.

GroupTypeId

The identifier of the group's type.

integer

None.

Name

The name of the group.

string

None.

Description

The description of the group.

string

None.

OwnerOrgId

The identifier of the organisation who owns the group.

integer

None.

SportId

The identifier of the sport with which this group is connected.

integer

None.

IsDeleted

Indicates whether or not this group is deleted already.

boolean

None.

AgeRangeId

The identifier of the age-range to which this group is limited to.

integer

None.

GenderId

The identifier of the gender to which this group is limited to.

integer

None.

JerseyColor

The jersey color of this group.

string

None.

GroupMembers

The members in this group.

Collection of ExportService.DataContracts.Groups.GroupMember

None.

Licenses

The licenses issued to this group.

Collection of ExportService.DataContracts.License.License

None.

ChangeTracking

The change tracking of the group itself.

ExportService.DataContracts.ChangeTracking

None.

Consensus

The consensus.

ExportService.DataContracts.Consensus

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GroupId": 456,
    "GroupTypeId": 1,
    "Name": "Grupp 1",
    "Description": "Description",
    "OwnerOrgId": 234,
    "SportId": 33,
    "IsDeleted": false,
    "AgeRangeId": 123,
    "GenderId": 1,
    "JerseyColor": "Röd",
    "GroupMembers": [
      {
        "PersonId": 123,
        "FirstName": "Karl",
        "LastName": "Karlsson",
        "AlternativeFirstName": "Kalle",
        "BirthDate": "2001-01-01",
        "GenderId": 1,
        "IsPersonalMember": false,
        "IsOrganisationMember": false,
        "IsActiveMember": true,
        "IsContact": true,
        "IsParent": false,
        "IsDeleted": false,
        "IsGroupAdmin": false,
        "GroupMemberAttributes": [
          {
            "Name": "Nummer (hemma)",
            "Value": "25",
            "IsDeleted": false,
            "ChangeTracking": {
              "FADateTime": "2012-10-10T10:10:00",
              "FAAppId": 0,
              "LCDateTime": "2015-10-11T20:20:00",
              "LCAppId": 0
            }
          }
        ],
        "Parents": [
          {
            "PersonId": 8796,
            "FirstName": "Förnamn",
            "LastName": "Efternamn",
            "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": 758,
            "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
            }
          }
        ],
        "GroupMemberLicenses": null,
        "ChangeTracking": {
          "FADateTime": "2012-10-10T10:10:00",
          "FAAppId": 0,
          "LCDateTime": "2015-10-11T20:20:00",
          "LCAppId": 0
        }
      }
    ],
    "Licenses": [
      {
        "LicenseId": "00000000-0000-0000-0000-000000000000",
        "LicenseNumber": "123456456",
        "LicenseTypeId": "00000000-0000-0000-0000-000000000000",
        "LicenseTypeName": null,
        "PeriodId": "00000000-0000-0000-0000-000000000000",
        "PeriodStartTime": null,
        "PeriodEndTime": null,
        "PeriodType": 0,
        "IsPassive": false,
        "IsTerminated": true,
        "IsExpired": true,
        "IsPaid": true,
        "IsApproved": true,
        "IsDeleted": false,
        "LicenseCategorisations": null,
        "ApproveDate": "2015-06-08T00:00:00",
        "PaidFeeDate": null,
        "ApplyDate": "2015-06-06T00:00:00",
        "DeletedDate": null,
        "OrganisationId": 456,
        "LastChangedDate": null,
        "FreeText": null
      }
    ],
    "ChangeTracking": {
      "FADateTime": "2012-10-10T10:10:00",
      "FAAppId": 0,
      "LCDateTime": "2015-10-11T20:20:00",
      "LCAppId": 0
    },
    "Consensus": null
  }
]