PUT api/CRMRelFacilityPackages/{ID}

Update RelFacilityPackages

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ID

integer

Required

Body Parameters

RelFacilityPackages
NameDescriptionTypeAdditional information
Packages

Packages

None.

Facilities

Facilities

None.

RelFacilityPackageID

integer

None.

FacilityID

integer

None.

PackageID

integer

None.

FacilityCode

string

None.

PackageCode

string

None.

CreatedUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Packages": {
    "PackageFacility": [],
    "PackageMenu": [
      {
        "Menu": {
          "MenuPackage": [],
          "MenuID": 1,
          "MenuParentID": 2,
          "MenuCode": "sample string 3",
          "MenuName": "sample string 4",
          "MenuUrl": "sample string 5",
          "MenuUrlMulti": "sample string 6",
          "MenuIconClass": "sample string 7",
          "DisplayOrder": 8,
          "IsEnabled": true,
          "CreatedUserID": 10
        },
        "RelPackageMenuID": 1,
        "PackageID": 2,
        "MenuID": 3,
        "PackageCode": "sample string 4",
        "MenuCode": "sample string 5",
        "CreatedUserID": 6
      },
      {
        "Menu": {
          "MenuPackage": [],
          "MenuID": 1,
          "MenuParentID": 2,
          "MenuCode": "sample string 3",
          "MenuName": "sample string 4",
          "MenuUrl": "sample string 5",
          "MenuUrlMulti": "sample string 6",
          "MenuIconClass": "sample string 7",
          "DisplayOrder": 8,
          "IsEnabled": true,
          "CreatedUserID": 10
        },
        "RelPackageMenuID": 1,
        "PackageID": 2,
        "MenuID": 3,
        "PackageCode": "sample string 4",
        "MenuCode": "sample string 5",
        "CreatedUserID": 6
      }
    ],
    "Exclusions": [
      {
        "RelPackageWidgetExclusionID": 1,
        "PackageID": 2,
        "WidgetID": 3,
        "PackageCode": "sample string 4",
        "WidgetCode": "sample string 5",
        "CreatedUserID": 6
      },
      {
        "RelPackageWidgetExclusionID": 1,
        "PackageID": 2,
        "WidgetID": 3,
        "PackageCode": "sample string 4",
        "WidgetCode": "sample string 5",
        "CreatedUserID": 6
      }
    ],
    "PackageID": 1,
    "PackageCode": "sample string 2",
    "PackageName": "sample string 3",
    "Description": "sample string 4",
    "Title": "sample string 5",
    "IsCustom": true,
    "IsEnabled": true,
    "CreatedUserID": 8
  },
  "Facilities": {
    "FacilityPackage": [],
    "FacilityID": 1,
    "FacilityCode": "sample string 2",
    "FacilityName": "sample string 3",
    "FacilityNameAlias": "sample string 4",
    "Address1": "sample string 5",
    "Address2": "sample string 6",
    "City": "sample string 7",
    "PostalCode": "sample string 8",
    "State": "sample string 9",
    "Country": "sample string 10",
    "IsEnabled": true,
    "IsNss": true,
    "CompanyID": 13,
    "Companies": {
      "CompanyID": 1,
      "CompanyCode": "sample string 2",
      "CompanyName": "sample string 3",
      "CompanyNameAlias": "sample string 4",
      "Address1": "sample string 5",
      "Address2": "sample string 6",
      "City": "sample string 7",
      "PostalCode": "sample string 8",
      "State": "sample string 9",
      "Country": "sample string 10",
      "IsEnabled": true,
      "RegionID": 12,
      "RegionCode": "sample string 13",
      "CreatedUserID": 14
    },
    "CompanyCode": "sample string 14",
    "CreatedUserID": 15
  },
  "RelFacilityPackageID": 1,
  "FacilityID": 2,
  "PackageID": 3,
  "FacilityCode": "sample string 4",
  "PackageCode": "sample string 5",
  "CreatedUserID": 6
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.