OrganizationAccessCollection

An OrganizationAccessCollection resources represents a collection of OrganizationAccess resources.

Resource definition

{
  "Items": [
    {
      "Id": 1,
      "AllAgreements": false,
      "Agreements": [
        {
          "HasAccess": true,
          "Agreement": {
            "Id": 1,
            "Organization": null,
            "Name": "My agreement",
            "SalesPriceCurrencyCode": "EUR",
            "StartDate": "2010-04-06T14:15:00.9749488+00:00",
            "EndDate": "2019-04-06T14:15:00.9749488+00:00",
            "Disabled": false,
            "Publisher": {
              "Id": 2,
              "Name": "Microsoft"
            },
            "Program": {
              "Id": 3,
              "Name": "SPLA"
            },
            "Number": "111111",
            "CustomerNumber": "123456",
            "MasterAgreement": "654321",
            "HasTerms": false
          }
        }
      ],
      "Organization": {
        "Id": 3,
        "Name": "My organization AB"
      },
      "User": {
        "Id": "2DAB448F-4677-40A2-9A27-FCC090A65066",
        "Email": "firstname.lastname@email.com",
        "UserName": "firstname.lastname@email.com",
        "FirstName": "Firstname",
        "LastName": "Lastname"
      },
      "Role": 2,
      "CrayonCompanyName": "Crayon AB",
      "Timestamp": "0001-01-01T00:00:00+00:00"
    }
  ],
  "TotalHits": 1
}

Name

Type

Description

Items

List<OrganizationAccess>

List of OrganizationAccess

TotalHits

int

Total number of hits on organization from search

Operations on OrganizationAccessCollection