POST api/Profiles/CheckAvailableWebPacks

Request Information

URI Parameters

None.

Body Parameters

AvailableWebpackRequest
NameDescriptionTypeAdditional information
ProfileId

globally unique identifier

None.

SelectedUsers

Collection of UserWithDepartment

None.

Request Formats

application/json, text/json

Sample:
{
  "ProfileId": "6da4596a-05af-4a07-b654-d0f8ecdf479d",
  "SelectedUsers": [
    {
      "DepartmentName": "sample string 1",
      "FullNameWDep": "sample string 5 sample string 6 (sample string 1)",
      "TeamName": "sample string 2",
      "Selected": true,
      "Profile": {
        "Id": "sample string 1",
        "Country": "BE",
        "Language": "NL",
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "FullName": "sample string 2 sample string 3",
        "Email": "sample string 4",
        "DepartmentID": "fc408cca-f838-48fb-a193-42cf99cba26b",
        "OrganisationID": "d78c7d3f-4715-4ad1-ab48-d801808064a8",
        "CrmId": "sample string 5",
        "CrmUserId": 6,
        "Is3PUser": true,
        "IsWorkman": true,
        "IsExtern": true,
        "Roles": [
          "sample string 1",
          "sample string 2"
        ],
        "TeamID": "91de98fe-7135-4269-8026-1da41a62eac5",
        "MyTeamIDs": [
          "7bb6a4f5-6292-49cb-8e6b-aac65f2d1824",
          "c1547926-1c8b-43fa-91d4-5f84d15578be"
        ],
        "MyTeams": [
          {
            "Reference": "sample string 1",
            "Id": "640bfd7e-fdab-4e95-b73d-d6258c2a9666",
            "Description": "sample string 3",
            "CrmId": "sample string 4",
            "IsArchived": true
          },
          {
            "Reference": "sample string 1",
            "Id": "640bfd7e-fdab-4e95-b73d-d6258c2a9666",
            "Description": "sample string 3",
            "CrmId": "sample string 4",
            "IsArchived": true
          }
        ],
        "UserType": 0,
        "ProfileID": "sample string 10",
        "CopyFromId": "sample string 11"
      },
      "Id": "sample string 4",
      "Country": "BE",
      "Language": "NL",
      "FirstName": "sample string 5",
      "LastName": "sample string 6",
      "FullName": "sample string 5 sample string 6",
      "Email": "sample string 7",
      "DepartmentID": "b1368e5a-684a-4c98-959f-e994d6b825c3",
      "OrganisationID": "22ae6212-54e7-4b99-9f24-6987f5cfac3e",
      "CrmId": "sample string 8",
      "CrmUserId": 9,
      "Is3PUser": true,
      "IsWorkman": true,
      "IsExtern": true,
      "Roles": [
        "sample string 1",
        "sample string 2"
      ],
      "TeamID": "8206c8f1-57f3-4d90-b5b2-87e064bac03f",
      "MyTeamIDs": [
        "b9a9b1ee-aa70-49e8-a951-2943eadbf40c",
        "debe23f4-099c-4608-8982-cfa742713a67"
      ],
      "MyTeams": [
        {
          "Reference": "sample string 1",
          "Id": "640bfd7e-fdab-4e95-b73d-d6258c2a9666",
          "Description": "sample string 3",
          "CrmId": "sample string 4",
          "IsArchived": true
        },
        {
          "Reference": "sample string 1",
          "Id": "640bfd7e-fdab-4e95-b73d-d6258c2a9666",
          "Description": "sample string 3",
          "CrmId": "sample string 4",
          "IsArchived": true
        }
      ],
      "UserType": 0,
      "ProfileID": "sample string 13",
      "CopyFromId": "sample string 14"
    },
    {
      "DepartmentName": "sample string 1",
      "FullNameWDep": "sample string 5 sample string 6 (sample string 1)",
      "TeamName": "sample string 2",
      "Selected": true,
      "Profile": {
        "Id": "sample string 1",
        "Country": "BE",
        "Language": "NL",
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "FullName": "sample string 2 sample string 3",
        "Email": "sample string 4",
        "DepartmentID": "fc408cca-f838-48fb-a193-42cf99cba26b",
        "OrganisationID": "d78c7d3f-4715-4ad1-ab48-d801808064a8",
        "CrmId": "sample string 5",
        "CrmUserId": 6,
        "Is3PUser": true,
        "IsWorkman": true,
        "IsExtern": true,
        "Roles": [
          "sample string 1",
          "sample string 2"
        ],
        "TeamID": "91de98fe-7135-4269-8026-1da41a62eac5",
        "MyTeamIDs": [
          "7bb6a4f5-6292-49cb-8e6b-aac65f2d1824",
          "c1547926-1c8b-43fa-91d4-5f84d15578be"
        ],
        "MyTeams": [
          {
            "Reference": "sample string 1",
            "Id": "640bfd7e-fdab-4e95-b73d-d6258c2a9666",
            "Description": "sample string 3",
            "CrmId": "sample string 4",
            "IsArchived": true
          },
          {
            "Reference": "sample string 1",
            "Id": "640bfd7e-fdab-4e95-b73d-d6258c2a9666",
            "Description": "sample string 3",
            "CrmId": "sample string 4",
            "IsArchived": true
          }
        ],
        "UserType": 0,
        "ProfileID": "sample string 10",
        "CopyFromId": "sample string 11"
      },
      "Id": "sample string 4",
      "Country": "BE",
      "Language": "NL",
      "FirstName": "sample string 5",
      "LastName": "sample string 6",
      "FullName": "sample string 5 sample string 6",
      "Email": "sample string 7",
      "DepartmentID": "b1368e5a-684a-4c98-959f-e994d6b825c3",
      "OrganisationID": "22ae6212-54e7-4b99-9f24-6987f5cfac3e",
      "CrmId": "sample string 8",
      "CrmUserId": 9,
      "Is3PUser": true,
      "IsWorkman": true,
      "IsExtern": true,
      "Roles": [
        "sample string 1",
        "sample string 2"
      ],
      "TeamID": "8206c8f1-57f3-4d90-b5b2-87e064bac03f",
      "MyTeamIDs": [
        "b9a9b1ee-aa70-49e8-a951-2943eadbf40c",
        "debe23f4-099c-4608-8982-cfa742713a67"
      ],
      "MyTeams": [
        {
          "Reference": "sample string 1",
          "Id": "640bfd7e-fdab-4e95-b73d-d6258c2a9666",
          "Description": "sample string 3",
          "CrmId": "sample string 4",
          "IsArchived": true
        },
        {
          "Reference": "sample string 1",
          "Id": "640bfd7e-fdab-4e95-b73d-d6258c2a9666",
          "Description": "sample string 3",
          "CrmId": "sample string 4",
          "IsArchived": true
        }
      ],
      "UserType": 0,
      "ProfileID": "sample string 13",
      "CopyFromId": "sample string 14"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AvailableWebpackResponse
NameDescriptionTypeAdditional information
CanSucceed

boolean

None.

ExtraWebpacksNeeded

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CanSucceed": true,
  "ExtraWebpacksNeeded": 2
}